NASK - Reading attachments for prompts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
I have been informed by ServiceNow that it is possible to create custom skills in Now Assist Skill Kit that are able to read attachments on records to parse into the prompt.
How are users doing this? I could not find any documentation on how to achieve this, and there are no topics here on the subject that a search could locate.
A use case would be I have a risk event with a .doc attached. How can I extract the text from the .doc (as JSON probably) and input this into the NASK prompt? Are there OOB subflows that are built to convert .doc files to a JSON string? The only way I could think of is having subflows that convert attachments to JSON, but am I missing something?
I'm interested to see how others are getting around this situation to have NASK read attachments on records.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
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
4 hours ago - last edited 4 hours ago
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
3 hours ago
Hi Jayden
I don't see anything OOTB Available. Refer Below Link which has a Script to Read and Parse an Attachment.
Regards
RP