Use Respond to AI to return a result to the AI Agent or Copilot that started a Yeeflow workflow. For example, a purchase request can return an acknowledgment after validation while the approval steps continue.
Choose when to respond
Place the action where the information the caller needs becomes available. To acknowledge a request, add it after validation or after the request record is created. To return the final approval outcome, add it after that outcome has been recorded.
Add Respond to AI to the workflow
Open the workflow in Workflow Designer. In the actions panel, expand Logic and flow, then drag Respond to AI onto the canvas.
Enter an Action name that identifies the response point, such as Acknowledge purchase request. Add an optional Description to explain when it runs.
Connect the actions that should run after the response, such as task assignment or approval.
Configure the calling tool
In the AI Agent or Copilot tool that starts the workflow, select Waiting for response under Completion. Under Outputs, use Add output to map the available results the caller needs, such as an execution message or a workflow instance identifier if offered. If the caller can continue without a result, use the non-waiting completion option.
Return a purchase request acknowledgment
An AI Agent starts an equipment purchase workflow. After the workflow validates and records the request, return an acknowledgment and the request identifier if it is available to map. If the caller also needs to know which required information was missing, configure a separate response point on the validation failure path.
Once the workflow returns the acknowledgment, it continues with the connected approval task. The agent can tell the requester “Purchase request received. It is awaiting approval.”
Test the response paths
Use a complete test request. Confirm the agent receives the mapped result and the approver receives the task.
Try a test request with missing information. Check which response point runs and what the agent receives.
If you also use the non-waiting option, check that the caller can continue and verify the workflow instance separately.
Open the workflow instance to verify the final status and see which steps ran after the response.

