AI HelpCenter | YourGPT

Find answers to your questions

Voice-to-Voice AI Bot on WhatsApp (or Any Voice-Supported Platform)
Build a voice-to-voice AI chatbot with real-time replies using AI Studio.

This cookbook shows how to build a voice-to-voice AI chatbot using AI Studio, and connect it with messaging apps like WhatsApp, or any other platform that supports voice messages.


🍳 Step 1: Create a New AI Flow in AI Studio

Set up a new AI flow to respond to user queries using your trained knowledge base.

  1. Go to AI Studio and click on “Create Scenario”.

  2. Name your flow (e.g., Voice Bot Flow).

  3. Add your first node: AI Response.


đź§  Step 2: Configure the AI Response Node

Generate an answer from the knowledge base based on the user’s voice message.

  1. Drag the AI Response node into your canvas.

  2. Set it up:

    • Response Source: Choose your trained knowledge base.

    • Question Field: Add {{FLOW.last_utterance}} (this captures the latest user message).

    • Send to Chat: ❌ Disable this, since we’ll convert it to audio next.

  3. Store the generated response:

    • Use FLOW.last_response to save the AI’s reply for later use.


🔊 Step 3: Convert Text Response to Voice

Turn the AI’s reply into an audio message.

  1. Add an Audio Message node to the canvas.

  2. Connect it after the AI Response node.

  3. Configure the Audio node:

    • Type: Select Real-time.

    • TTS Message: Add FLOW.last_response.

    • (Optional) Configure:

      • TTS Instructions

      • Voice settings (e.g., male/female voice, language, etc.)

âś… Publish the flow to save your setup.


🤖 Step 4: Trigger the Flow Automatically

Make your bot respond to any incoming user message with the voice flow.

  1. Go to Automated Responses in your dashboard.

  2. Click “Add New”.

Setup trigger:

  1. Message Match: Use * wildcard to catch all messages.

  2. Assign Flow: Select your AI Studio flow’s starting node.


đź§Ş Step 5: Test Your Voice-to-Voice Bot

Your voice bot is now live!
✅ It listens to a user’s message → responds from the knowledge base → sends the reply back as voice.


🎥 Demo Video


đź’¬ Wrap-up

That’s it! You've built a Voice-to-Voice AI Bot using AI Studio — no code needed.
Let us know how you're using it to power your next-gen chatbot experience.

Was this article helpful?
©2025
Powered by YourGPT