To add the LINE channel to your Kore.ai bot, you must set up a webhook integration to configure the connection between LINE and Kore.ai. Adding the LINE channel to your Kore.ai assistant allows end-users to interact with it using their LINE accounts. To add the LINE channel to your bot, you must also have or create a LINE account.
Step 1: Create a LINE Provider
- Log in to your LINE Developer account portal, and click Create a new provider..If you already have a Provider that you want to use for this bot, then choose the provider from the Provider List.
- Â Click Create a Messaging API Channel.
Step 2: Add a Channel on LINE
- Under Create a new channel , provide the required details.Â
- Click Create to review and proceed with channel creation.
Note: The Kore.ai XO Platform uses PUSH_MESSAGE APIs to deliver non-interactive messages to end-users. These scenarios include cases like alert notifications, session closure messages, and any other scenario where the replyToken from the LINE channel is either not available or expired. These API calls may be charged; review the LINE plan options and select the appropriate plan that suits your needs. |
Step 3: Enable the Channel
- After the channel is created, you are redirected to the Provider dashboard with a list of available channels.
- Select the channel you have created above to continue with channel configurations.
- From under Basic Settings, capture the Channel ID and Channel Secret of your LINE channel.
- Go to the XO Platform and select the assistant that you want to add the LINE channel to.
- Go to Deploy > Channels > LINE > Configuration.
- Enter the Channel User ID and Channel Secret, retrieved from LINE.Â
- Under Enable Channel, select Yes and click Save to enable the LINE Channel for your assistant.
Step 4 : Enable the Webhook Integration
- From the LINE Channel Configuration page in the XO Platform, copy the Webhook URL.
- Go to LINE, and navigate to the Messaging API section of your newly created LINE Channel. Scroll to Webhook Settings and click Edit to enter the Webhook URL you just copied from the XO Platform.
- Click Update.
- After saving the webhook URL, Enable the Webhook, choose whether to enable redelivery and error statistics aggregation, then click Verify to ensure that the webhook call from LINE is acknowledged by the Kore.ai XO Platform.
Step 5: Review Additional Options
We recommend that you review additional options available for your LINE channels like group behavior, auto-replies, and greetings messages.
After the channel is enabled and all configurations are verified, you can optionally publish the assistant to make it available for end-users, with the new channel. Learn more about Publishing your Virtual Assistant.
To learn more about working with Channels within the Kore.ai XO Platform, please see Channel Enablement.