Skip to main content

AI Agent Integration Guide

Choose how an application, workflow, Copilot, or external system calls a Yeeflow AI Agent. Verify the target, inputs, and returned result.

Choose the integration based on where the request starts and where the result is used. For each call, identify the published Agent, map the required inputs, and check how the caller receives the result.


1. Calling an AI Agent Inside Another AI Agent (Run an Agent)

Use a second Agent for a defined task such as extracting contract clauses for a review Agent.

How to Use

  1. In the calling Agent, open Tools → Add a tool → Run an agent and select the target Agent.

  2. Map the target’s inputs from conversation values, variables, or fixed values. Set Completion Settings to wait when the caller needs the result for its next step.

  3. Save and test with a known input. Check which Agent ran and what it returned before publishing. Configure Run an Agent


2. Calling an AI Agent in an Approval Form (Form Action)

Use a form action when the Agent should run from a form event, such as filling in a summary on submission.

How to Use

  1. Open the form designer and edit or create an action under Actions. Select Add a step → AI assistant.

  2. Set Event Type to Call AI agent, then choose the application and Agent. Map form fields to the Agent’s inputs and its outputs back to the intended fields.

  3. Save and exercise the action on a test form. Check that the expected value reaches the field before publishing. Configure an AI assistant form step

Calling an AI Agent in Workflow

Use the AI assistant workflow node to extract, classify, or summarize information for later steps. Use explicit workflow rules when the result determines routing.

How to Use

  1. Add the AI assistant node in the workflow designer and set Event Type to Call AI agent.

  2. Choose the Agent and map workflow variables to its inputs and its outputs to the variables the next step uses.

  3. Run a test workflow. Check the output and the route for a matching sample and one with a missing or different expected result. Configure an AI assistant workflow action


3. Calling an AI Agent in Copilot (Copilot Management)

Use a Copilot tool when an application user asks the Copilot to run a specific task, such as summarizing a contract.

How to Use

In Application Settings → AI Agent → Copilot Management, open the Copilot. In Tools, select Add a tool → Run an agent and choose the Agent, then map its inputs and outputs. Use a known prompt in Test run to verify the call. Publish and test again from the application as an intended user. Manage Copilot tools

The Run an agent option in Copilot’s Add a tool menu.


4. Calling an AI Agent in Microsoft Power Automate

Use Power Automate when an Outlook, Teams, or SharePoint event starts the process. Pass the relevant event fields through the configured Yeeflow call and check the returned values before using them in the next flow action.


5. Calling an AI Agent in Microsoft Copilot Agent Flow

Use an agent flow when a Microsoft Copilot conversation starts the task. In the configured Yeeflow call, pass the required question or record identifier and map the result the flow should return. Test a known request and one missing a required value.


6. Calling an AI Agent in Zapier Automations

Use Zapier when a supported app event starts the task. For example, pass a sample form response to the configured Yeeflow call for extraction. Check the returned fields before mapping them to a downstream step.


7. Calling an AI Agent via REST API

Use the Agent run operation when an external system needs a direct call. Supply the Agent ID and the inputs required by its configuration. Check the result and error handling in a test environment before connecting downstream actions. Open the Yeeflow API documentation


Summary of AI Agent Integration Methods

Integration Method

Primary Purpose

Ideal Use Cases

Run an Agent

Multi-agent collaboration

Complex task decomposition, modular AI

Approval Form

Smart form submission

Approval, application, registration

Workflow

Intelligent workflow logic

BPM automation and branching

Copilot

Natural language interface

Enterprise AI assistant

Power Automate

Microsoft ecosystem automation

Emails, Teams, SharePoint

Copilot Agent Flow

Copilot enterprise intelligence

Conversational business workflows

Zapier

SaaS automation ecosystem

CRM, e-commerce, form tools

REST API

Deep system integration

ERP, custom systems, AI platforms

Did this answer your question?