NASK - Reading attachments for prompts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2025 07:06 PM - last edited 2 weeks ago
I have been told by ServiceNow that custom skills built with Now Assist Skill Kit (NASK) can use content from record attachments within prompts.
I haven't been able to find any documentation describing how this is implemented, nor any community discussions covering the topic.
For example, if a Risk Event record contains a .docx or .xlsx attachment, how can that attachment content be made available to a NASK prompt? Are there any OOB actions, flows, or capabilities that extract and transform attachment content into a format that can be passed to the prompt?
My current assumption is that a custom solution would be required (for example, a subflow that extracts the attachment text and passes it as structured data to the skill), but I wanted to understand whether there is a recommended or standard approach that others are using.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2025 07:57 PM
Why do you need JSON format data to be Passed to NASK Prompt?
Using a Sub flow as you said - Read the Content of .DOC File .
Store That in Some Variable
Pass this Variable into Prompt As Shown Below. Below is Just a Sample.
START --->SubFlow to Fetch Docs Contents---> Define Prompt ----> Replace Doc Content Variable into Prompt
Regards
RP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2025 08:09 PM - edited 10-05-2025 08:14 PM
Is there an OOB subflow that does this, reading the attached document?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-05-2025 08:33 PM
Hi Jayden
I don't see anything OOTB Available. Refer Below Link which has a Script to Read and Parse an Attachment.
Regards
RP