Line
You can integrate your agents into Line to enable Line users interact with your agents via Line.
Preparations
Visit Line Developers and log in to the console.
After logging in, select an existing Provider from the Providers list or click the Create button above the list to create a new Provider and access its management page. If no Providers are configured, click the Create a new provider button on the page after logging in, then follow the platform's step-by-step instructions to complete the Provider creation process.
In the provider's page, the Channels tab is displayed by default.
If no channels are configured, you must first create one: Click the Create a Messaging API channel button and then follow the platform's step-by-step instructions. Upon successful channel creation, you will be redirected to the Channel page.
Click Basic settings and copy Channel ID and Channel secret. You can paste them to a document for subsequent use.
Click Messaging API and copy Channel access token. You can paste it to a document for subsequent use.
Configuration in Agent
Log in to GPTBots.
Select the target Agent/Flow-Agent and access its Integration tab. (The feature of Integration is only available to a published agent/flow-agent; If you have changed the configurations of the target agent/flow-agent, you must save and publish the current version before performing Integration.)
Select Line.
Paste the Channel ID, Channel secret, and Channel access token you just copied from Line respectively to the corresponding fields in the Integration configuration page. A webhook URL will be automatically generated. Next, copy this webhook URL and paste it to the corresponding field in the Managing API page of Line. Then click Verify.
Upon successful configuration, a QR code will be generated and displayed in the Messaging API page. You can scan the QR code and send a message to start interacting with the chatbot on LINE.
Note: Even if the webhook is compromised, the absence of the Channel Secret will ensure that the LINE backend validates data requests to prevent forgery. If Channel secret and Channel access token are both compromised, you can reset them in the LINE backend.