Some products and features are in the process of being renamed. Generative playbook and flow features are also being migrated to a single consolidated console. See the details.
Stay organized with collections
Save and categorize content based on your preferences.
The Slack Integration lets you to easily create Slack bots with
natural language understanding based on Conversational Agents (Dialogflow CX) technology.
Create a new slack app from an app manifest. Below is an example manifest.
Make sure that the oath_config and event_subscriptions fields match
with the example manifest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Slack\n\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThe Slack Integration lets you to easily create Slack bots with\nnatural language understanding based on Conversational Agents (Dialogflow CX) technology.\n\n\n| **Note:** When using a third party integration, requests and end-user data are sent to both Google and the third party. The terms of service, SLA, pricing, and quotas [for your agent edition](/dialogflow/docs/editions) are applicable for Google's handling of these requests. The third party's terms of service, SLA, pricing, and quotas are applicable for the third party's handling of these requests.\n\n\u003cbr /\u003e\n\nLimitations\n-----------\n\n- Only **text input** in the [agent's default language](/dialogflow/cx/docs/concept/agent-settings) is supported by this integration.\n\nSet Up Slack\n------------\n\nIn order to set up the Slack integration for your agent, you'll need the\nfollowing:\n\n- A Slack account\n- A Slack workspace\n\n### Create a Slack bot\n\n1. Navigate to your [Slack Apps](https://api.slack.com/apps)\n2. Create a new slack app from an app manifest. Below is an example manifest. Make sure that the **oath_config** and **event_subscriptions** fields match with the example manifest. \n\n ```yaml\n display_information:\n name: Conversational Agents (Dialogflow CX)\n description: Conversational Agents (Dialogflow CX) integration\n background_color: \"#1148b8\"\n features:\n app_home:\n home_tab_enabled: false\n messages_tab_enabled: true\n messages_tab_read_only_enabled: false\n bot_user:\n display_name: CX\n always_online: true\n oauth_config:\n scopes:\n bot:\n - app_mentions:read\n - chat:write\n - im:history\n - im:read\n - im:write\n - incoming-webhook\n settings:\n event_subscriptions:\n request_url: https://dialogflow-slack-4vnhuutqka-uc.a.run.app\n bot_events:\n - app_mention\n - message.im\n org_deploy_enabled: false\n socket_mode_enabled: false\n token_rotation_enabled: false\n ```\n3. Install your application into the workspace of your choice\n - **Bot User OAuth Token**\n - Navigate to Install App \\\u003e OAuth Tokens for Your Workspace \\\u003e Bot User OAuth Token\n - **Signing Token**\n - Navigate to Basic Information \\\u003e App Credentials \\\u003e Signing Secret\n\n### Set up Conversational Agents (Dialogflow CX)\n\n1. Click **Manage** tab on the left panel.\n2. Click **Integrations** in the left menu.\n3. Click the **Connect** button on the **Slack** tile.\n4. Fill in the following information:\n - **Access token**\n - **Signing token**\n5. Choose an environment, as applicable.\n6. Click **Start**.\n7. Copy the **Webhook URL**.\n\n### Enable webhook in Slack\n\nReturn to your [Slack App](https://api.slack.com/apps) and paste your webhook\nurl under **Event Subscriptions \\\u003e Enable Events \\\u003e Request URL**\n\nTesting\n-------\n\n| **Note:** Make sure [billing is enabled](/dialogflow/cx/docs/quick/setup#billing) on your project before testing the integration.\n\nTo test your configured app, in the workspace you installed it in, mention it\nin a group channel or send it a DM.\n\nRich response messages\n----------------------\n\nThe rich response messages are supported via **Custom Payload** in\n[Fulfillment](/dialogflow/cx/docs/concept/fulfillment). Please see\n[Slack message API](https://api.slack.com/methods/chat.postMessage) for the\nmessage format.\n| **Note:** If it is not specified in the custom payload, the channel field will be automatically injected with the channel id of the input message.\n\nFor example, the following custom payload provides a simple Slack text message: \n\n```\n{\n \"text\": \"Hello, world\"\n}\n```\n\nChannel specific responses\n--------------------------\n\nAfter you configure the [channel-specific\nresponses](/dialogflow/cx/docs/concept/fulfillment#channel-specific), the\nchannel `DF_CX_SLACK` is automatically used when the agent responds\nto Slack messages."]]