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.

7 REPLIES 7

kaustubhdub
Tera Contributor

Whenever you create a trigger in the ServiceNow workflow, a flow is created behind the scenes with the trigger ID and the condition see if you can play around with those flows and triggers. But keep in mind that ServiceNow does not recommend this practice.  
Hopefully this was helpful to you.

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