Build conversational agents with Application Integration
Preview — Conversational agent tool
This feature is subject to the "Pre-GA Offerings Terms" in the General Service Terms section of theService Specific Terms. Pre-GA features are available "as is" and might have limited support. For more information, see thelaunch stage descriptions.
Application Integration now simplifies the creation of conversational experiences by directly integrating withDialogflow CX. This feature lets you to build intelligent chatbots and tools that enhance user interactions and automate tasks, directly from your integration workflows using API triggers.
What is a conversational agent?
A Dialogflow CX conversational agent is a virtual agent that communicates in natural language conversations with users. It analyzes user input, interprets intent, and provides appropriate responses, enabling interactive and personalized conversational experiences. These agents are designed to handle conversations across various channels, such as websites, mobile apps, and messaging platforms.
What is a conversational agent tool?
In Dialogflow CX, atool represents a specific functionality or service that the conversational agent can access. Tools are defined within playbooks and allow the agent to perform actions like retrieving data, executing APIs, or interacting with external systems. Application Integration generates these tools based on your integration's API triggers, making it easy to connect your integration logic to your conversational flows.
Before you begin
Ensure the following before creating a conversational agent tool using Application Integration:
- Assign the following IAM roles to your principal:
- Service Account Admin (
roles/iam.serviceAccountAdmin) - Service Usage Admin (
roles/serviceusage.serviceUsageAdmin) - Dialogflow Console Agent Editor (
roles/dialogflow.consoleAgentEditor)
For information on granting roles to principals, seeGrant or revoke a single role.
- Service Account Admin (
IAM roles required for service accounts
The following IAM roles are required for the service accounts used to create a conversational agent tool:
| Service account | Description | Required roles |
|---|---|---|
| Service account | Service account used to create the conversational agent tool. | Application Integration Invoker (roles/integrations.integrationInvoker) |
| Dialogflow service agent ( | Service account used by Dialogflow CX to access the integration. | Service Account Token Creator (roles/iam.serviceAccountTokenCreator) |
Create a new conversational agent tool
To create a new conversational agent tool using Application Integration, perform the following steps:
- In the Google Cloud console, go to theApplication Integration page.
- In the navigation menu, clickIntegrations.
TheIntegrations page appears listing all the integrations available in the Google Cloud project.
- Select an existing integration or clickCreate integration to create a new one.
If you are creating a new integration:
- Enter a name and description in theCreate Integration pane.
- Select a region for the integration.Note: TheRegions dropdown only lists the regions provisioned in your Google Cloud project. To provision a new region, ClickEnable Region. SeeEnable new region for more information.
- Select a service account for the integration. You can change or update the service account details of an integration any time from theIntegration summary pane in the integration toolbar.Note: The option to select a service account is displayed only if you have enabled integration governance for the selected region.
- ClickCreate.
This opens the integration in theintegration editor.
- Select an existing integration. This opens the integration in theintegration editor.
- Ensure that the selected integration is configured with one or more API triggers.
- Publish the integration version.
- In the designer toolbar, click (Actions menu) and selectCreate Conversational Agent Tool.
Application Integration verifies that the required APIs are enabled. If not, you are prompted to enable them.
- In theCreate Conversational Agent Tool pane, provide the following inputs:
- API Triggers: All the API triggers from your integration are selected by default. You can optionally deselect any API triggers that you don't want to include in the tool.
- Type: SelectCreate new Conversational Agent and enter the following details:
- Region: Select the region for the agent.
- Agent name: Enter a name for the agent.
- Tool name: Enter a name for the tool. Note: The default language for the agent is English (United States).
- Service account: Choose a service account with the necessaryroles and permissions for the agent's resource access. If missing, you will be prompted toGrant them.
- ClickView spec to review the generated specification for the selected triggers. You can optionally edit the specification before saving.
- ClickSave.
A message appears indicating that the tool is created successfully. ClickView to open the agent in the Dialogflow CX console.
- In the Dialogflow CX console, go toPlaybooks, click the playbook for the created agent, and add instructions to the playbook to use the tool. For more information, seePlaybook tools.
Create a converstational agent tool using an existing agent
To create a conversational agent tool using an existing agent, perform the following steps:
- In the Google Cloud console, go to theApplication Integration page.
- In the navigation menu, clickIntegrations.
TheIntegrations page appears listing all the integrations available in the Google Cloud project.
- Select an existing integration or clickCreate integration to create a new one.
If you are creating a new integration:
- Enter a name and description in theCreate Integration pane.
- Select a region for the integration.Note: TheRegions dropdown only lists the regions provisioned in your Google Cloud project. To provision a new region, ClickEnable Region. SeeEnable new region for more information.
- Select a service account for the integration. You can change or update the service account details of an integration any time from theIntegration summary pane in the integration toolbar.Note: The option to select a service account is displayed only if you have enabled integration governance for the selected region.
- ClickCreate.
This opens the integration in theintegration editor.
- Select an existing integration. This opens the integration in theintegration editor.
- Ensure that the selected integration is configured with one or more API triggers.
- Publish the integration version.
- In the designer toolbar, click (Actions menu) and selectCreate Conversational Agent Tool.
Application Integration verifies that the required APIs are enabled. If not, you are prompted to enable them.
- In theCreate Conversational Agent Tool pane, provide the following inputs:
- API Triggers: All the API triggers from your integration are selected by default. You can optionally deselect any API triggers that you don't want to include in the tool.
- Type: SelectChoose existing Conversational Agent and do the following:
- Conversational Agent: A list of available agents in your project appears. Select the agent you want to use.
- Tool: Select eitherCreate new Tool orChoose existing Tool.
If you selectCreate new Tool, enter a name for the tool.
If you selectChoose existing Tool, a list of available tools in the selected agent appears. Select the tool you want to use.
- Service account: Choose a service account with the necessaryroles and permissions for the agent's resource access. If missing, you will be prompted toGrant them.
A message appears indicating that the tool is created successfully. ClickView to open the agent in the Dialogflow CX console.
Considerations
The following considerations apply when using conversational agent tools:
- Conversational agent tools can only be created for published integrations with API triggers.
- Review and test your agent in the Dialogflow CX console after creation.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.