How to configure and use the Zapier agent function in Vida AI phone agents.
The Zapier Agent Function allows your Vida AI phone agents to interact with Zapier to automate workflows and integrate with thousands of external applications dynamically. This function triggers a Zapier workflow (Zap) and waits for a response, enabling the agent to retrieve and act on real-time data from your Zapier-integrated systems.
You can provide any “payload” data to your Agent in the function instructions. It can pass this data to Zapier via the Agent Request trigger. You can also explain any other context or conditions for when the agent should use the function.
- **Pre-Function Reply**: "Let me check with our support system. This will take just a moment."- **Payload**:{ "customerId": "[Caller ID]", "issueType": "[Issue Type]", "priority": "high"}
The AI agent will inform the user that it is processing their request and will trigger a Zapier workflow. Once the Zap completes, the agent will receive a response and proceed accordingly.
To ensure the AI agent waits for the correct response, the requestId included in the initial trigger must be passed through all steps of the Zap and included in the final response action.