LINE

Dialogflow's LINE Integration allows you to easily create LINE bots with natural language understanding based on Dialogflow technology.

Set Up LINE

In order to set up the LINE integration for your agent, you'll need the following:

  • a LINE account
  • the LINE app installed on a mobile device

Create a LINE bot

  1. Log in to LINE's developer website and click Messaging API.
  2. Click Start Now.
  3. Create or choose a provider.

    If you created a new provider, click on Create Channel under Messaging API.

  4. Click Next Page.

  5. Enter an app name and description.

  6. Choose a plan.

  7. Choose an app category and subcategory.

  8. Enter your email address.

  9. Click Confirm.

  10. Confirm the information on the following page.

  11. Check the terms of use options.

  12. Click Create.

Set up Dialogflow

  1. Click Integrations in the left menu.
  2. Click the LINE tile.
  3. Copy the Webhook URL.

Enable webhook in LINE

  1. Click on the newly created app.
  2. Under Channel access token (long-lived), click Issue.
  3. Under Use webhooks, click edit and Enable.
  4. Under Webhook URL, paste the copied URL.
  5. Copy or make note of the Channel ID, Channel secret, and Channel access token.

Continue Dialogflow set up

  1. Paste the Channel ID, Channel secret, and Channel access token into the related fields of the integration pop up.
  2. Choose an environment, as applicable.
  3. Click START.

Testing

To test your agent, tap on the three horizontal dots on the main screen of the LINE app. Then tap the QR code icon and scan the QR code on the settings page of your bot. This adds your bot to the list of conversations.