Use PDIs? Take our 5-minute survey to help shape the PDI roadmap.

Trigger AI Agents with API

Vedavalli
Mega Sage

Hi

Can we trigger AI Agents via API?
If yes how we can?

Thanks in advance

6 REPLIES 6

In the flow, we can use API. 

 

Like: https://www.servicenow.com/community/developer-articles/outbound-rest-integration-using-flow-designe...

 

https://www.servicenow.com/docs/bundle/vancouver-build-workflows/page/administer/flow-designer/conce...

****************************************************************************************
Regards
Dr Atul G. - Learn N Grow Together ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
******************************************************************************************

warren_chan
ServiceNow Employee

Yes, you can invoke AI Agents via API, but the functionality is currently limited. We have the foundation and groundwork laid down with the March 2025 release, but your mileage may vary with what you can do with it. This will be augmented in the May 2025 release, and subsequent releases this year.

 

You can review the "sn_aia.AiAgentRuntimeUtil" script include.