
What Is Dialogflow? Uses, Benefits and ES vs CX
Updated at Nov 12, 2026
8 min to read

To understand how to create a Dialogflow chatbot, start with the Google Cloud setup. Create an agent, configure intents, training phrases, entities, and fulfillment. Build multi-turn conversations, test responses, and embed the chatbot using Dialogflow Messenger. Alternatively, use BotPenguin to build and deploy an AI chatbot without coding.
Dialogflow helps developers build conversational chatbots that understand user requests and respond automatically. However, creating a functional chatbot involves more than setting up an agent.
This Dialogflow chatbot tutorial walks you through the complete setup process. You'll create intents, add training phrases, and configure entities to capture user information. You'll also learn to test responses and integrate your chatbot into a website.
The guide covers both Dialogflow ES and CX, including their different configuration methods. While basic chatbots need little coding, advanced features like webhook fulfillment require development skills.
Before building your chatbot, you need to choose the Dialogflow edition that fits your requirements.
Choose Dialogflow ES for simpler chatbots handling a limited range of user requests. Choose Dialogflow CX for complex, multi-turn conversations built using visual flows.
For a detailed comparison, refer to Dialogflow ES vs CX.
Once you've selected your edition, the first step is setting up Google Cloud.
Before creating your Dialogflow agent, you need a Google Cloud project. This project manages your chatbot's API access, billing, and other cloud resources.
Follow these steps to complete the setup:
1. Sign in to Google Cloud: Visit the Google Cloud Console and sign in with your Google account.
2. Create or select a project: Click the project selector and choose an existing project or create a new one.
3. Configure billing: Link a billing account to your project. Dialogflow offers free usage limits, but charges may apply beyond them.
4. Enable the Dialogflow API: Open APIs & Services, search for the Dialogflow API, and enable it for your project.
Your Google Cloud project is now ready for Dialogflow agent creation.
With your Google Cloud project ready, you can create a Dialogflow agent. The setup process differs slightly between ES and CX.
Your agent is now ready for intents and training phrases.
Intents help Dialogflow recognize what users want to accomplish. For example, an order-tracking intent identifies questions about delivery status.
Follow these steps to configure intents and improve recognition:
1. Create an intent: Open your agent's intent settings and create order.status. Use a descriptive name that reflects the user's request.
2. Add training phrases: Include 10–20 varied examples of how users might ask questions. Examples include "Where's my order?", "Track my package", and "Has my order shipped?"
3. Avoid overlapping phrases: Keep similar requests grouped under the appropriate intent. Repeating phrases across different intents can confuse recognition.
4. Configure welcome responses: Edit the default welcome intent to greet users. Include a helpful prompt explaining what the chatbot can do.
5. Set fallback responses: Configure replies for questions the agent cannot recognize. Guide users toward supported requests instead of ending the conversation.
6. Configure CX routes: In Dialogflow CX, intents are shared across the agent. Connect them to routes on relevant pages to trigger responses.
Test your dialogflow training phrases to confirm the agent recognizes common requests.
Entities help Dialogflow extract specific information from user messages. Parameters store these details for use during conversations.
Dialogflow supports two types of entities:
Follow these steps to configure parameters:
1. Identify key details: Determine what information your chatbot needs, such as a product name or booking date.
2. Annotate training phrases: Highlight relevant words and assign them to entity types.
3. Configure parameters: Mark essential parameters as required and add follow-up prompts for missing information.
For example, if users request bookings without dates, the chatbot can ask for their preferred date.
Dialogflow supports static responses and webhook fulfillment for handling user requests. The method depends on whether your chatbot needs external data.
Follow these steps to configure webhook fulfillment:
1. Create a backend service: Set up a service, such as a Cloud Function, to process requests.
2. Enable fulfillment: Configure Dialogflow to send webhook requests to your service.
3. Process user requests: Retrieve order details or save captured leads.
4. Return a response: Send the result back to Dialogflow for the user.
Webhook development requires coding skills and backend configuration.
Once responses work, configure how the chatbot handles follow-up conversations.
Multi-turn conversations allow Dialogflow to understand follow-up messages and maintain context. The configuration differs between ES and CX.
For example, a user requests an appointment for Monday. The chatbot asks, "Should I confirm your booking?"
When the user replies "Yes," the chatbot recognizes the confirmation. It continues the booking process without asking for the details again.
Once these conversation paths are configured, test how the agent handles them.
Before deployment, test your chatbot using Dialogflow's built-in simulator. This helps identify incorrect responses and missing conversation details.
Follow these steps to validate your agent:
1. Open the simulator: Access the testing panel in your Dialogflow console.
2. Try different queries: Enter common questions, alternative expressions, typos, and unexpected requests.
3. Review intent matching: Check whether Dialogflow identifies the correct intent for each message.
4. Verify parameters: Confirm the chatbot captures required details, such as dates or product names.
5. Improve training phrases: Add varied examples where the agent misinterprets user requests.
6. Retest your agent: Repeat failed scenarios after making changes.
Once your chatbot responds correctly, you can proceed with website integration.
Once testing is complete, you can deploy your chatbot using Dialogflow Messenger. This integration adds a chat widget to your website.
Follow these steps to add Dialogflow to website pages:
1. Open integrations: Navigate to the integrations section in your Dialogflow agent.
2. Enable Dialogflow Messenger: Select the integration and complete its required configuration.
3. Copy the embed code: Copy the generated JavaScript snippet and Messenger element.
4. Insert the code: Paste the snippet into your website's HTML, before the closing </body> tag, or use your website builder's custom code section.
5. Publish and test: Save your changes, publish the website, and test the chatbot widget.
Your chatbot is now accessible to website visitors.
Connecting Dialogflow to WhatsApp, Instagram, or live-chat inboxes requires additional integrations or third-party connectors.
Dialogflow gives developers control over chatbot conversations and integrations. However, building and maintaining an agent requires technical configuration, webhook development, and additional integrations.
BotPenguin offers a no-code alternative for businesses seeking faster deployment. Instead of manually configuring intents, you can train an AI agent using your existing business content.
Here's how the setup processes compare:
BotPenguin also supports multiple AI models, including ChatGPT, Gemini, Claude, and DeepSeek. You can choose a model based on your business requirements.
The platform supports deployment across websites, WhatsApp, Instagram, Facebook Messenger, and Telegram. This reduces the need to configure separate integrations for each channel.
You can start with a seven-day King trial without a credit card. This lets you build and test your chatbot before choosing a paid plan.
Dialogflow offers free usage limits, making it possible to build and test basic chatbots. Beyond these limits, Google Cloud applies usage-based charges. Dialogflow ES and CX have different pricing structures, so check the official pricing page before deployment.
You can create a basic Dialogflow chatbot without programming knowledge. However, advanced functionality requires development skills. Webhook fulfillment, external data retrieval, and many messaging-channel integrations involve writing code or configuring backend services.
Enable Dialogflow Messenger in your agent's integration settings. Copy the generated embed snippet and paste it into your website's HTML before the closing </body> tag. Publish your changes and test the chatbot to confirm it works correctly.
Start with 10–20 varied training phrases for each intent. Include different ways users might express the same request. Review actual conversations regularly and add examples where the chatbot fails to recognize user intent accurately.
Choose Dialogflow ES for simpler chatbots handling straightforward requests. Dialogflow CX suits complex, multi-turn conversations requiring visual flows and structured conversation paths. Your choice should depend on the chatbot's complexity and conversation requirements.
Yes. No-code platforms like BotPenguin let you train AI agents using website content, documents, and FAQs. You can deploy chatbots across supported websites and messaging channels without manually configuring intents or developing webhooks.
Build Chatbot Without Coding
Skip complex Dialogflow setup. Build AI chatbots with BotPenguin and deploy them across websites and messaging channels effortlessly.
Start Free TrialCheckout our related blogs you will love.

Updated at Nov 12, 2026
8 min to read

Updated at Oct 23, 2026
16 min to read

Updated at Oct 5, 2026
13 min to read

Updated at Sep 25, 2026
10 min to read

Updated at Sep 25, 2026
15 min to read

Updated at Sep 25, 2026
13 min to read
Table of Contents