Line

1. Register a Line account

How to register in the popular messenger Line - use this link to learn the sequence of steps when creating an account in Line. In case you don't have access to the link, I'll duplicate the steps:

1. Open LINE and tap Sign up.

2. Confirm the Terms and Conditions of Use and Privacy Policy, then enter your phone number and tap the arrow.

3. Enter the verification code you received via text message.

Note:

- On some devices, the verification code is entered automatically. In this case, please skip to step 4.

- If you see a message that says "Welcome back, XXXX!" after entering the verification code, tap No, that's not me.

4. Tap No, create a new account.

5. Enter a name, set a profile photo, and tap the arrow.

6. Create a password and tap the arrow.

7. Choose whether to add friends from your device's contacts, then tap the arrow.

In the desktop version, only authorisation is possible. Registration takes place in the mobile app, which is the most convenient way to test the channel's performance later on.

2. Create a developer channel in Line

Getting started with the Messaging API - English article.

LINE Business ID - link to the authorisation page in the developer console.

The first time you access this page, you will need to enter your name and email.

This will take you to the home page, where you will need to add a new provider. In the picture below there is already a provider present, but the first time you will have an empty table. Click on the 'Create' button.

Next you will need to enter the name of the provider (at your discretion)

 

Once the provider has been created you will be taken to a page where you can configure the provider. On the "Channels" tab, click on the "Create a Messaging API channel" button, as shown below

The next step is to set up the channel:

You must specify the region (any) and the fields "Channel Type" and "Provider" are filled in automatically.

Give the channel a name and description (at your own discretion)

Choose a thematic direction for the channel (at your own discretion)

Agree with everything

 

The channel has been created.

3. Adding a Line channel to the Creatio system

After creating the channel, go to the system and create a channel. Select Line from the list of messengers shown below.

A modal window will then appear, in which the url address is already generated, which will be needed for further configuration. The channel can already be named arbitrarily here and the chat weight can be specified. The last step is to add a token. Copy the address from the WebHook column.

Next, go back to the Line developer console and in the channel settings go to the "Messaging Api" tab where you find the "Webhook settings" heading and click on the "Edit" button. This will bring up an input box where you need to paste the previously copied url address and click on the Update button.

 

Then move the "Use webhook" slider to the right and you can verify the validity of the entered url by pressing the "Verify" button. If the query to the specified url is successful, "Success" appears on the screen.

 

You can then click on "Edit" and set up the chat.

 

Note: The setup example below is not absolutely correct, due to the fact that at the moment messages only go one way (from Line to system). Therefore, the chat configuration and this entire article may change in the future.

 

You can then scan the QR code in the "Messaging Api" tab via your mobile app "Line" and write in a chat. The message should then be sent to the system.

 

This tab also shows the token. Go to the bottom of the page and under the heading "Channel access token" get the token, which is inserted in the channel settings in the system.

 

Important: Don't forget to specify your channel agent (your account) in the system to check the operation.