DialogFlow fulfilment to Integration Connector "webhook"

I am trying to get Dialogflow fulfilment to work with Application Integration.

I want to be using “Google Authentication” with the Integration Connector. I have tried granting several roles to the service account of the Dialogflow service e.g. service-$projectNumber@gcp-sa-dialogflow.iam.gserviceaccount.com : Application Integration Invoker, Connector Invoker, Cloud Run Invoker. Nothing works: I get 403’s. I even tried the permutations “ID Token” and “Access Token” on the Dialogflow side.

Thanks in advance !

Found a working way:

  1. Use “API Trigger” in Application Integration (instead of a webhook connector)

  2. Use a flexible “Webhook” fulfilment using POST method on the DialogFlow side. Use “Service Agent Auth” with “Access Token”.

You need to provide “Connector Event Listener” (roles/connectors.listener) (Reference: https://cloud.google.com/application-integration/docs/configure-webhook-trigger#create) . Webhook event listener, validate that if a request contain the valid access token (access token for a service account which has roles/connectors.listener).

1 Like