Dialogflow Twitter Integration allows you to easily create Twitter bots with natural language understanding based on the Dialogflow technology.

Setting Up Twitter

In order to set up the Twitter integration for your agent, you'll need the

Creating an App in Twitter

  1. Login to your Twitter account and navigate to the Twitter App Management Console
  2. Click the Create New App button
  3. Enter the following information:
    • Bot Name
    • Description
    • Website - Can be a placeholder link
  4. Check the box under Developer Agreement and click the Create your Twitter application button

Obtaining Keys and Tokens

  1. Under Application Settings > Consumer Key (API Key) click manage keys and access tokens
  2. Click the Create my access token button under Token Actions
  3. Make note of the following information:
    • Consumer Key
    • Consumer Secret
    • Access Token
    • Access Token Secret

Modifying App Permissions

  1. Under Application Settings > Access Level click modify app permissions
  2. Under Access select the Read, Write and Access direct messages option
  3. Click the Update Settings button

Setting Up Dialogflow

  1. In Dialogflow, go to Integrations in the left hand menu
  2. Click on the Twitter tile
  3. Enter the related info into the following fields:

    • Bot Userame
    • Consumer Key
    • Consumer Secret
    • Access Token
    • Access Token Secret
  4. Click the Start button


To test your bot, send a Tweet or DM to the account the app is under.