Trigger AI Agents with API

Vedavalli
Tera Expert

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...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

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
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

warren_chan
ServiceNow Employee
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.