This guide explains how to transfer an active WhatsApp conversation from a Conversational AI Agent to a Flow-Based AI Agent in Chatzy AI.Documentation Index
Fetch the complete documentation index at: https://docs.chatzy.ai/llms.txt
Use this file to discover all available pages before exploring further.
The transfer relies on configuring both a Journey and the Conversational AI Agent to communicate through a webhook.
Requirements
- A Conversational AI Agent (to handle natural conversation).
- A Flow-Based AI Agent (to which you want to transfer conversation).
Step 1: Create a Journey and Webhook
- Navigate to Journeys in the left menu.
- Click Create Journey → choose Blank Journey.
- Set the Trigger as Inbound Webhook.
- Set contact identifier to Conversation ID
- Save the webhook and copy the webhook endpoint URL.
It only works when the Contact identifier is Conversation ID
Step 2: Configure Journey to Handle the Webhook
- In the journey, click + Add → Action → Transfer to AI Agent.
- Select the AI Agent you want to transfer the conversation to.
- Save and Publish the Journey.
Step 3: Configure the Conversational AI Agent
- Open your Conversational AI Agent.
- Go to Settings → Tools.
- Enable Trigger Journey.
- Paste the webhook endpoint you copied earlier into the Webhook Endpoint field.
Step 4: Update the Base Prompt
Inside your agent’s Base Prompt, define when to trigger the webhook.Use the following instruction format:
End-to-End Example
Scenario
You run a WhatsApp chatbot that first qualifies leads. Once a lead is successfully qualified, the chatbot should transfer the conversation to a Booking AI Agent to complete the scheduling process.Setup
-
Create Journey
- Trigger → Inbound Webhook
- Action → Transfer to AI Agent: Booking Agent
- Save & Publish
-
Conversational AI Agent (Lead Qualification Bot)
- Go to Settings → Tools → Trigger Journey
- Paste webhook endpoint from the Journey
- Update Base Prompt with:
-
Flow
- User interacts with the Lead Qualification Bot (answers questions, provides details).
- Once the user is marked as qualified, the bot triggers the webhook.
- Journey starts → transfers the conversation to the Booking AI Agent.
- Booking Agent continues by helping the user select a slot and confirm the appointment.
✅ With this setup, your Conversational AI Agent can seamlessly hand off tasks to a Journey, making your automation smarter, context-aware, and collaborative.