Multiple Prompts - Can one talk to the other?

Anish Reghu
Kilo Sage
Kilo Sage

Dear experts,

 

If I use multiple prompts in a Now Assist skill, can one prompt talk to the other?

 

Let's say a requirement needs:

A) Reading the Description on a task record.

B) Another task would be to read a user comment on another record and create some generative AI responses.

 

Now, I want the B prompt to be executed understanding the A prompt. i.e. The feedback should be read in the context of the description. Is it possible? Or does each prompt execute independently and cannot read the output of the other?

 

Regards,

Anish

 

1 REPLY 1

Laurent5
ServiceNow Employee
ServiceNow Employee

Hi Anish, you should be able to achieve this using tools. You can have multiple tools to look up the data you require and then reference the outcome of these tools in your prompt.

You might get better results by using Agentic Workflows though rather than a custom skill if you require a specific sequence of event.

 

I wrote an article that might help on a similar topic:
https://medium.com/@laurent-roussel/using-rag-techniques-for-customer-insights-744959b88fda

 

Laurent