Forum Discussion
Abdou1
Jul 01, 2026Copper Contributor
Calling a Workflow from an Agent
I created a workflow and an agent using the Microsoft Foundry UI.
Can I call the workflow from the agent, or link the workflow to the agent, so that when a user chats with the agent, it automatically runs the workflow?
1 Reply
Hi Abdou, I’d think of the workflow as something the agent needs to call as a tool or action. If the Foundry UI does not directly let you attach the workflow to the agent, the usual pattern is to expose the workflow through an endpoint or callable action and then describe when the agent should invoke it. That gives you better control over inputs, outputs, and error handling.