Updates: Check the release notes for new features and product updates.

Method: brands.agents.associateDialogflow

Associate a Dialogflow project with an agent. The association may take 2-3 minutes.

To check the association status, get the agent data and check the agent's dialogflowAssociation.operationInfo.

HTTP request

POST https://businesscommunications.googleapis.com/v1/{agent=brands/*/agents/*}:associateDialogflow

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
agent

string

Required. The unique identifier of the agent. If the brand identifier is "1234" and the agent identifier is "5678", this parameter resolves to "brands/1234/agents/5678".

Request body

The request body contains data with the following structure:

JSON representation
{
  "dialogflowAssociation": {
    object (DialogflowAssociation)
  }
}
Fields
dialogflowAssociation

object (DialogflowAssociation)

Dialogflow association details.

Response body

If successful, the response body contains an instance of DialogflowAssociation.