Skip to main content
When you connect AI Helpdesk to LINE WORKS, users can send inquiries to the AI bot from LINE WORKS talk rooms.

Prerequisites

  • You must have the Admin role in AI Helpdesk.
  • You must have administrator permissions in your LINE WORKS tenant.
  • You need permissions to create apps in the LINE WORKS Developer Console.

Required information for LINE WORKS connection

Create a client app and a bot in the LINE WORKS Developer Console and prepare the following information.

Setup in the LINE WORKS Developer Console

Create a client app

  1. Open Console > Bot > Create Client App and click + Add a new app.
  2. Enter an app name, choose Authentication App, and submit.
  3. Configure App Information as follows.
  4. After submitting, record the following credentials:
    • Client ID
    • Client Secret
    • Service Account
    • Private Key (PEM)

Create a bot

  1. Open Console > Bot > Create new Bot.
  2. Enter the bot name and description.
  3. Enable Callback URL and set it to:
  4. Enable text, image, and file on the Callback URL.
  5. Enable the Bot Policy checkboxes.
  6. After saving, open the bot’s detail screen and record the Bot ID and Bot Secret.

Add the bot to your workspace

In the LINE WORKS Admin Console, go to Service > Bot > Add Bot and add the bot you created to the workspace. Configure the policy, user rights, and privacy settings to match your workspace’s operational guidelines.

Connect LINE WORKS

1

Open integration settings

Select Settings from the left navigation and open the Integration tab. In the Messaging section, click Add Connection and choose LINE WORKS — Custom Bot.
2

Enter credentials (Step 1)

Enter all of the following information.
  • Domain ID
  • Client ID
  • Client Secret
  • Service Account (format: serviceaccount@...)
  • Private Key (paste the full PEM content including line breaks)
  • Bot ID
  • Bot Secret
  • Workspace name (optional)
For the private key, paste the full content including -----BEGIN RSA PRIVATE KEY----- through -----END RSA PRIVATE KEY----- with all line breaks preserved.
After filling in all fields, click Next. The credentials are validated against the LINE WORKS API.
3

Select an observer user (Step 2)

AI Helpdesk talk room sessions require at least three members. In addition to the end user and the bot, select a user from the list to participate as an “observer.”
When credential validation succeeds, a list of users in the domain of the domain ID you entered is displayed. It is recommended to use a dedicated account that does not monitor inquiry content during normal operations. The bot does not respond to messages sent from the account set as the observer. The observer is a fixed member of every talk room and is never the requester of an inquiry. Set a dedicated account that is different from the users who send inquiries.
Select a user and click Connect.
4

Confirm successful connection

After a successful connection, a LINE WORKS row appears in the Messaging section, showing the domain ID and connected status.

Using the bot

After connecting, LINE WORKS users can send inquiries in a talk room with the bot. When a user sends a message to the bot’s talk room, a group talk is automatically created and a session begins. The requester name on sessions and tickets is the name registered in the LINE WORKS directory. If the name cannot be retrieved, the LINE WORKS user ID is shown instead. This happens, for example, when the user.read scope is not granted.

Disconnect LINE WORKS

In the Messaging section under Settings > Integration, click Disconnect in the menu (…) of the connection’s row. Click Disconnect in the confirmation dialog.
Disconnecting stops accepting new inquiries from that LINE WORKS tenant.

Supported attachments

Employees can attach images or files to an inquiry and have the Bot look at them when it answers. The AI reads up to 20 images across the whole conversation, starting from the newest. Images over 3.75MB are stored, but the AI cannot read them. The Bot cannot read unsupported formats, such as Office files (DOCX, XLSX, PPTX) or binaries (ZIP). Files over the size limit cannot be read either. The AI tells the user in its answer which files could not be processed. When a knowledge document contains images, the Bot attaches them to its answer (one image per message). Only images in native knowledge (registered in Admina) and Notion documents can be attached. When an operator attaches images or files in the web reply box, each one arrives as a separate file message. For details, see Attachments from the reply box.

Troubleshooting

“Credentials are invalid” error
  • Verify that the domain ID contains numbers only.
  • Confirm that the private key is in the correct PEM format (full content with line breaks).
  • Check that the app is enabled in the LINE WORKS Developer Console.
User list is not displayed
  • Verify that the service account has the necessary scopes (such as user.read).
  • Check whether the LINE WORKS API rate limit has been reached.
The user you want as the observer is not in the list The list shows only users in the domain of the domain ID you entered in Step 1. Users in other domains do not appear. The list also shows up to 100 users at a time.
  • Check that the user belongs to the domain of the domain ID you entered.
  • Enter a name or email address in the search box above the list to narrow down the users.
The bot does not respond to inquiries from the account set as the observer The bot does not respond to messages sent from the account set as the observer. The observer is a fixed member of every talk room and is never the requester of an inquiry.
  • Send inquiries from an account other than the observer.
  • If the account you use for inquiries is set as the observer, set a different user as the observer. In the Messaging section under Settings > Integration, use the menu (…) of the connection’s row.
The bot does not respond even though the integration is connected
  • Check that the Bot Secret in AI Helpdesk matches the Bot Secret in the LINE WORKS Developer Console. If they differ, LINE WORKS messages are not accepted.
  • Check the settings in “Setup in the LINE WORKS Developer Console” above. These include the Callback URL and the text, image, and file settings. Also check that the bot is added to the workspace in the Admin Console.
  • In a group chat with other users, the bot responds only to messages that mention it.
  • If the bot was removed from a chat room, the bot cannot post to it. The same applies if the room no longer exists. Send a new inquiry from the chat room with the bot.
Last modified on November 10, 2026