串接對話平台:LINE

串接前確認:

已經在 LINE Developers 的 console 平台建立好一個 「Provider」 以及 「LINE Login」 的 channel

開始串接

1. 到 https://manager.line.biz/ 選擇您想要串接的 channel

2. 點選右上角的設定,點選 Messaging API 並啟用,取得 channel ID、channel secret

3. 在 https://developers.line.biz/console/ 進入您剛剛建立的 Messaging API 頻道

4. 取得 Channel Access Token

5. 到您的 MaiAgent 的 對話平台,選擇 LINE

6. 填入名稱、選擇助理,貼上剛取得的 Channel ID、Channel Secret、Channel Access Token

  • 名稱:期望在網站上呈現的 AI 助理名稱

  • AI 助理:選擇要串接的 AI 助理

  • LINE 頻道:填入您的 「Channel ID」、「Channel Secret」、「Channel Access Token」

完成後按下右下角的 「串接對話平台」 按鈕,對話平台即準備就緒。

7. 取得 Webhook 網址

至對話平台選取剛建立的 LINE 頻道,點選操作,於 API 區塊取得 Webhook 網址

8. 在 https://manager.line.biz/ 點選 「設定/Messaging API」,貼上剛取得的Webhook 網址

9. 在 https://developers.line.biz/console/ 重新返回剛建立的 Messaging API 頻道,進行對話設定

於 Auto-reply messages 點選 Edit 按鈕

將回應設定調整如下圖

10. 確認串接是否成功

您可以試著加入您自己的 LINE 機器人帳號進行對話

如果相關對話可在 https://manager.line.biz/ 和 MaiAgent 的所有對話中查看,就表示已成功串接!

Last updated

Was this helpful?