Creating a bot integration with the LINE channel

Learn how to integrate an IBM RPA chatbot with LINE™ channel if you use the IBM RPA on premises offering. This procedure includes a bot creation on LINE™, and the request of a chatbot instance.

Procedure

Follow the steps to create a LINE bot and request a chatbot instance:

Creating a channel in the LINE Developers Console

To create bots with LINE, you need to create a channel in the LINE Developers console. Follow the steps in the documentation below that are relevant to you before proceeding:

Getting values from your channel settings

Follow these steps on your channel's basic settings page:

  1. Scroll down to find the Channel secret. Copy the value and save it.
  2. Select the Messaging settings tab.
  3. Click the Issue button, in the Access Token field, at the bottom of the page.
  4. Copy and save the access token.

Configure your bot in Azure

  1. Open the Azure™ portal 🡥.
  2. Go to your resources and click the Azure Bot you want.
  3. From the Settings menu, click Channels > LINE button.
  4. Enter the following data in the displayed fields:
    • Channel Secret
    • Channel Access Token
  5. Select Apply.
  6. Copy and save the Webhook URL to use in next steps.

Configuring LINE webhook settings

  1. Log in to LINE Developers console 🡥
  2. Select the channel that you created.
  3. Select the Messaging API setting and find Webhook settings.
  4. Enter the Webhook URL from Azure and select Update.
  5. Select the Verify button under the URL.
  6. Enable Use webhook.
  7. Reload the page and verify that the changes were made.

What to do next

After creating your bot, it is time to test it to see if the creation was successful. Follow the next steps to validate your bot creation.

  1. Access Messaging API tab to see the bot's QR code.
  2. Using a mobile device with the LINE app installed, scan the QR code.
  3. You should now be able to interact with your bot in your mobile LINE app and test your bot.