Samples

Below are samples for Dialogflow agents (intents, entities, and contexts) as well as fulfillment to connect your agent to your own systems, APIs and databases. For samples on how to alter or query your agent please see these how to guides.

Temperature Trivia

Learn how intent, entities, contexts and rich responses work with this sample that converts temperatures with trivia along the way.

Multi locale/language

Create and fulfill a multilignual and multilocale agent with this French and English speaking sample.

Actions on Google

Learn how to use the Dialogflow fulfillment library's Actions on Google integration.


Fulfillment samples

Fulfillment allows you to surface data from your own website or service in your Dialogflow agent. The table below lists all Dialogflow fulfillment samples.

Name Description
Node.js
Actions on Google Sample demonstrating how to use both the Dialogflow fulfillment library and the Actions on Google client library together.
Bike Shop Dive into making a agent for a small business like this appointment scheduling bike shop
FAQ Description: Sample demonstrating how to use Knowledge Connectors, the Telephony Gateway and Actions on Google together.
Firestore Sample demonstrating how to connect a Dialogflow agent to Firebase's Firestore database.
Human-agent Handoff This sample consists of a simple Dialogflow agent, a node.js server and a web interface that together demonstrate an approach for handing text-based conversations from an Dialogflow agent to a human operator."
Import A simple sample showing how to use Dialogflow's Importer for Alexa Skills to import a Alexa Skill to Dialogflow and deploy it to the Google Assistant."
Multi locale/language Create and fulfill a multilignual and multilocale agent with this French and English speaking sample
Quick Start Get started quickly with fulfillment with this basic code
Regular expression entity validation. Sample demonstrating how to validate a entity with a regular expression in fulfillment.
Temperature Converter Trivia Learn how intent, entities, contexts and rich responses work with this sample that converts temperatures with trivia along the way Temperature Converter Trivia
Weather Make an API call from fulfillment to give user's relevant information like the weather Weather
Python/Flask
Translate Get information from the user in the form of Dialogflow parameters and make an API call with the data to translate user's speech from one language to another
Weather Make an API call from fulfillment to give user's relevant information like the weather
JSON
Webhook Request & Response This sample shows Dialogflow's fulfillment webhook JSON requests and responses for v1 & v2 agents, including Actions on Google-specific requests & resposnes"

The Add to Dialogflow buttons above allow you to create a Dialogflow agent with intents, entities, and contexts as well as deployed fulfillment via the Cloud Functions for Firebase inline editor. The agent and fulfillment are deployed to Dialogflow with just a few clicks. Click on the Add to Dialogflow buttons next to compatible samples above to try it out!

Actions on Google

For fulfillment samples specific to Google Assistant please see Actions on Google's Dialogflow sample page

Prebuilt agents

Prebuilt agents are a collection of agents developed by the Dialogflow team. In the developer console, you can create agents in your account that fit your use case and use them as a base for building a conversational interface for your app, bot, or device.

Name Description Supported Languages
Agent Name Conversations to change your agents name en
Alarm Set and manage alarms en
App Management Manage your applications, user controlled settings, and preferences en
Banking Banking operations en
Car Interact with a vehicle's systems en
Coffee Shop Order drinks, snacks and gift cards from a coffee shop en
Currency Converter Get exchange rates for major currencies en
Date Date calculator and holiday lookup en
Device Control your device settings en
Dining Out Search restaurants, cafes and bars en
Easter Eggs Agent answers fun questions en
Event Search Search for tickets to events en
FAQ A very simple FAQ agent en
Flights Find, create, and manage reservations for flights en
Food Delivery Create and manage food and drink orders en
Formats Control default units of measurement en
Hotel Booking Find, create and manage reservations for hotels en
Job Interview Sample job interview en
Jokes The agent tells jokes en
Language Settings Set language preferences en
Local Services Search local services and shops en
Maps Search maps for a location en
Moblie Account Information about mobile accounts en
Music Play and control your music and playlists en
Navigation Ask for directions en
News Get news stories and manage news feed en
Online Shopping Search items and manage orders for online shopping en
Radio Control playing radio stations en
Reminders Schedule, edit, view and remove reminders en
Restaurant Booking Find create and manage reservations for restaurants en
Small Talk Small talk topics to help make your bot more personable en, da, de, es, fr, hi, id, it, ja, ko, nl, no, pt, pt-BR, ru, sv, th, tr, zh-CN, zh-TW, zh-HK
Smart Home Control your IoT connected devices en
Support Support and CRM related conversations en, da, de, es, fr, hi, id, it, ja, ko, nl, no, pt, pt-BR, ru, sv, th, tr, zh-CN, zh-TW, zh-HK
Time Time calculator and converter commands en
Tips Calculator Calculate tip percentages en
Tourism Search for sights, entertainment and transportation en
Traffic Get traffic details en
Translate Translate phrases to and from languages en, da, de, es, fr, hi, id, it, ja, ko, nl, no, pt, pt-BR, ru, sv, th, tr, zh-CN, zh-TW, zh-HK
TV Control connected TVs en
Unit Converter Convert to and from different units of measure en
User Name Conversations to change a users name en
Video Search for and play videos en
Volume Control volume of your device en
Weather Weather and forecast related conversations en, de, es, fr, it, ja, pt, pt-BR, ru, zh-CN, zh-TW, zh-HK
Web Search Perform a web search en