The CreatorCon Call for Content is officially open! Get started here.

Multiple Prompts - Can one talk to the other?

Anish Reghu
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

 

3 REPLIES 3

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

Travis Rogers
ServiceNow Employee
ServiceNow Employee

Hey Anish - I agree with Laurent here that you should be using an AI Agent for this. In this random video example I happen to have open at the moment, you can see that the Web Agent first collects input data (in this case from the record), then the AI Orchestrator determines it is necessary to search Lenovo product docs based on this input, then it goes and does that research (in this example by browsing the web, but there are a ton of other AI skills you could run with that output instead). 


rpriyadarshy
Mega Guru

Experts already routed you and guided you. In Most of the Agentic AI use cases which is OOTB even have similar scenario.

 

for ex... Like Based on the Current Incident  generate Resolution Plan . in AI Agent you will see a BIG Prompt with Dynamic Values coming in Prompt . These values are coming using Tools. To Start with You Can explore OOTB Use Cases and AI Agents for More Clarity.

 

Regards

RP