We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

How to use Skill Outputs inside a Custom Skill Kit prompt in Now Assist

ChetanaP8979035
Tera Contributor
  1. I’m trying to convert multiple Incident records into a single Problem record using the Now Assist Skill Kit.
  2. For this, I’ve created a custom Skill Kit that takes input in JSON format. I’ve also added output skills such as description and short description in string format.
  3. Now, I want to map these output skills inside the prompt so they can be used dynamically during execution.
  4. Can someone please guide me on how to properly reference or map Skill outputs in the prompt within a custom Now Assist Skill Kit?
2 REPLIES 2

Appli
Mega Sage

Hi, how do you call this custom skill ? I would consider to instruct the model returning a JSON response with description and short description. Than write the parser on receiving side to process a skill output mapping retrieved values with corresponding attributes of impacted Problem record.

Hope it helps

Ashutosh Kumar2
Tera Contributor

Same I don't see the benefit of declaring Skill Output variables and can't map it dynamically. Only thing I could do is use a flow designer & map. Once u call the skill its output variables are shown in data picker.