We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Trigger options for Agentic Workflow or AI Agent

MihirN
Tera Contributor

My goal is to initiate an Agentic Workflow and AI Agents mainly via a UI Action, not through a Now Assist chat-based trigger.

Is it possible to programmatically trigger Agentic Workflows and AI Agents using APIs, GlideRecord queries, Script Includes, Scripted REST APIs, or any other supported custom approach?

 

@Victor ChenI would appreciate any suggestions or guidance on alternative methods to achieve this.

9 REPLIES 9

By workflow i mean the AI agent workflow/Use Case.

ritaaudi
Tera Contributor

Hi:

I created this UI Action:

ritaaudi_0-1756222811172.png

 

And on the form it displays:

ritaaudi_1-1756222811184.png

 



But nothing is triggered. It's stuck and nothing displays in the panel until I reload the browser. 
How can I kick it to start without manually reloading the browser?

Thank you!!

Hi, did you find a solution for this?

Christian R
Tera Contributor

Hello! did you find a solution for this?
we managed to trigger an Agentic workflow from the UI action as inyour screenshot, but it does not work from Workspace...