Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

"API" call from a flow to a published Microsoft Copilot agent?

jeremyduffy
Kilo Guru

I have a Copilot agent that takes as input a KBA number and does a call to our ServiceNow instance to retrieve the article, evaluate it, and provide a written response. It works great in testing and in Teams, but can I connect that to a flow somehow? 

 

Ideally, I would respond to actions or triggers in ServiceNow by calling this agent and either leaving comments or sending emails based on the response.

2 REPLIES 2

palanikumar
Giga Sage
Giga Sage

Hi @jeremyduffy ,

If you execute a flow from API, the response will not be returned. Since you are using Copilot agent, you can configure a Agent in ServiceNow and connect via MCP gateway (Agent to Agent interaction).

 

Thank you,
Palani

I'm looking to call copilot FROM a flow if that wasn't clear (it sounds like you're explaining something else). For example, I create a flow which gets a series of articles. It runs a foreach action against those articles. In that foreach, it calls a MS Copilot agent and receives a response.