Google Cloud Dialogflow ES
With Google Cloud Dialogflow ES modules in Make, you can manage the fulfilments, agents, contexts, entities, entity types, and intents in your Google Cloud Dialogflow ES account.
To use the Google Cloud Dialogflow ES modules, you must have a Google account, and a Google Cloud Dialogflow ES project created in your Google Cloud Platform. You can create an account at accounts.google.com.
Refer to the Google Cloud Dialogflow ES API documentation for a list of available endpoints.
Note
Make's use and transfer of information received from Google APIs to any other app will adhere to Google API Services User Data Policy.
Connect Google Cloud Dialogflow ES to Make
To establish the connection, you must:
Create and configure a Google Cloud Platform project for Google Cloud Dialogflow ES
Before you establish the connection in Make, you must create and configure a project in the Google Cloud Platform to obtain your client credentials.
Create a Google Cloud Platform project for Google Cloud Dialogflow ES
To create a Google Cloud Platform project:
Log in to the Google Cloud Platform using your Google credentials.
On the welcome page, click Create or select a project > New project.
Enter a Project name and select the Location for your project.
Click Create.
In the top menu, check if your new project is selected in the Select a project dropdown. If not, select the project you just created.
Note
To create a new project or work in the existing one, you need to have the serviceusage.services.enable
permission. If you don’t have this permission, ask the Google Cloud Platform Project Owner or Project IAM Admin to grant it to you.
Enable APIs for Google Cloud Platform
To enable the required APIs:
Open the left navigation menu and go to APIs & Services > Library.
Search for the following API: Dialogflow API.
Click Dialogflow API, then click Enable.
Configure your OAuth consent screen for Google Cloud Platform
To configure your OAuth consent screen:
In the left sidebar, click Google Auth Platform.
Note
If you don't see Google Auth Platform in the left sidebar, click View all products at the top of it, then pin Google Auth Platform to the sidebar.
Click Get Started.
In the Overview section, under App information, enter Make as the app name and provide your Gmail address. Click Next.
Under Audience, select External.
For more information regarding user types, refer to Google's Exceptions to verification requirements documentation.
Under Contact Information, enter your Gmail address.
Under Finish, agree to the Google User Data Policy.
Click Continue > Create.
In the Branding section, under Authorized domains, add
make.com
andintegromat.com
. Click Save.Optional: In the Audience section, add your Gmail address on the Test users page, then click Save and continue if you want the project to remain in the Testing publishing status.
In the Data Access section, click Add or remove scopes, add the following scopes, and click Update:
https://www.googleapis.com/auth/cloud-platform.read-only
https://www.googleapis.com/auth/dialogflow
Click Save.
Note
Publishing Status
Testing: If you keep your project in the Testing status, you will be required to reauthorize your connection in Make every week. To avoid weekly reauthorization, update the project status to In production.
In production: If you update your project to the In production status, you will not be required to reauthorize the connection weekly. To update your project's status, go to the Google Auth Platform, the Audience section, and click Publish app. If you see the notice Needs verification, you can choose whether to go through the Google verification process for the app or to connect to your unverified app. Currently connecting to unverified apps works in Make, but we cannot guarantee the Google will allow connections to unverified apps for an indefinite period.
Create your Google Cloud Dialogflow ES client credentials
To create your client credentials:
In Google Auth Platform, click Clients.
Click + Create Client.
In the Application type dropdown, select Web application.
Update the Name of your OAuth client. This will help you identify it in the platform.
In the Authorized redirect URIs section, click + Add URI and enter the following redirect URI:
https://www.integromat.com/oauth/cb/google-custom
.Click Create.
Click the OAuth 2.0 Client you created, copy your Client ID and Client secret values, and store them in a safe place.
You will use these values in the Client ID and Client Secret fields in Make.
Establish the connection with Google Cloud Dialogflow ES in Make
To establish the connection in Make:
Log in to your Make account, add a Google Cloud Dialogflow ES module to your scenario, and click Create a connection.
Note: If you add a module with an
instant
tag, click Create a webhook, then Create a connection.Optional: In the Connection name field, enter a name for the connection.
In the Client ID and Client Secret fields, enter the values you copied in the Create your Google Cloud Dialogflow ES client credentials section above.
Click Sign in with Google.
If prompted, authenticate your account and confirm access.
You have successfully established the connection. You can now edit your scenario and add more Google Cloud Dialogflow ES modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.
Set Up Google Cloud Dialogflow ES Webhooks
This app uses webhooks to trigger a scenario when an event occurs instantly. All webhook modules have an instant
tag next to their name.
To set up a webhook, follow these steps:
Add a Google Cloud Dialogflow ES
instant
module to your scenario and click Create a webhook.Optional: Enter a name for the webhook in the Webhook name field.
Select the corresponding connection for the webhook in the Connection field.
Click Save > Copy address to clipboard.
Log in to your Google Cloud Dialogflow ES account.
In the left sidebar, click Fulfillment and enable webhooks.
In the URL field, enter the webhook you copied above.
Click Save.
In the left sidebar, click Intents and click a needed one.
In the Fulfillment section, turn the Enable webhook call for this intent.
Build Google Cloud Dialogflow ES Scenarios
After connecting the app, you can perform the following actions:
Fulfillments
Watch for Fulfillment
Response to Fulfillment
Note: When the Followup Event Input is set, Google Cloud Dialogflow ES ignores the Fulfillment Text, Fulfillment Messages, and Payload fields. When Google Cloud Dialogflow ES receives a webhook response that includes an event, it immediately triggers the corresponding intent in which it was defined.
Agents
Create an Agent
Get an Agent
Update an Agent
Delete an Agent
Contexts
Create a Context
Get a Context
List Contexts
Update a Context
Delete a Context
Entities
Create Entities
Get Entities
Delete Entities
Entity types
Create an Entity Type
Get an Entity Type
List Entity Types
Update an Entity Type
Delete an Entity Type
Intents
Detect an Intent
Create an Intent
Note: If the ML Disabled setting is set to true, then this intent is not taken into account during inference in the ML ONLY match mode.
Get an Intent
List Intents
Update an Intent
Delete an Intent
Other
Make an API Call