Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

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

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

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.