Skip to main content

LINE

Studio Flow Overall

Required Variables

  1. LINE_STUDIO_FLOW_SID (Guide)
  2. LINE_CHANNEL_ID
  3. LINE_CHANNEL_SECRET
  4. LINE_CHANNEL_ACCESS_TOKEN

Setup​

  1. Login to LINE Developer Console
  2. Create a Provider if you do not have any existing Provider
  3. Within the created Provider, Create a LINE - Messaging API Channel.
  4. Under Channels > YOUR_CREATED_CHANNEL > Messaging API > LINE Official Account features, disable Auto-reply messages and Greeting messages
  5. Obtain the value for LINE_CHANNEL_ID which is under Basic Settings
    • LINE Channel ID
  6. Obtain the value for LINE_CHANNEL_SECRET which is under Basic Settings
    • LINE Channel Secret
  7. Obtain the value for LINE_CHANNEL_ACCESS_TOKEN which is under Messaging API
    • LINE Channel Access Token
info

Ensure that you have obtained all the necessary values for the variables stated in Required Variables

Configure Incoming Webhook​

  1. Ensure you have deployed Conversations Adapters into your Twilio Flex account
  2. Ensure you are logged into LINE Developer Console
  3. Within your created LINE - Messaging API Channel, click on Messaging API
  4. Under Webhook settings, click Edit and insert your deployed incoming webhook
    • The Conversations Adapters incoming webhook URL should be in the format of https://twilio-flex-conversations-adapters-<RANDOMNUMBER>-dev.twil.io/api/line/incoming
    • LINE Webhook