LINE WORKSとAnthropic(Claude)の連携イメージ
How to Integrate Applications

2024/10/29

How to automatically generate and respond to LINE WORKS messages using Anthropic (Claude)

e.koyama

This section introduces a method to automatically generate responses using Anthropic (Claude) when a message is received on LINE WORKS, and then automatically reply on LINE WORKS. With this integration, inquiries about system malfunctions, procedures, or regulations can be automatically answered, allowing the inquirer to check the response on LINE WORKS. Consider implementing this if you are looking to improve internal help desk operations or internal communication.

Benefits of Integrating LINE WORKS with Anthropic (Claude)

Improved Work Efficiency and Cost Reduction

By automating responses to standard inquiries and providing basic information, internal help desk staff can focus on other important tasks. This allows for optimal use of human resources, and as manual responses to inquiries decrease, it is expected to reduce overtime hours and personnel costs.

For example, if there is an inquiry about how to use the employee benefits system, an automatic response will be generated based on internal regulations and past cases set as references. The inquirer will only need to contact the staff again if there are unclear points in the content, reducing the frequency of staff responses. In the freed-up time, staff can collect information resolved by automatic responses to create FAQs or review manuals. As a result, more effective organizational improvements can be expected.

Standardization of Communication

With responses automatically generated by Anthropic (Claude), the quality of internal information transmission and explanations can be standardized. It reduces the variability in explanations that may occur due to the knowledge and experience of the staff, and it is expected to improve the consistency of the information provided. Even in situations requiring technical support or specialized knowledge, pre-adjusting to match the employees' level of understanding may lead to more effective communication.

The integration of LINE WORKS and Anthropic (Claude) can facilitate smoother communication through the chat tools you usually use. Setting it up is easy with Yoom, so please give it a try.

[What is Yoom]

How to Create a Workflow for Integrating LINE WORKS with Anthropic (Claude)

Let's proceed with setting up the integration and workflow automation between LINE WORKS and Anthropic (Claude).

Using a template, we will introduce the steps to create a workflow where a message received on LINE WORKS is automatically generated and replied to by Anthropic (Claude).

Before You Start

1. Please refer to the "How to Create a Bot" section in this article to create a bot in the LINE WORKS Developer Console and obtain the bot ID.

2. In LINE WORKS, create a talk room for inquiries and responses that the created bot will participate in. Alternatively, invite the bot to an existing talk room.
 ※ If you do not set a dedicated talk room for inquiries, the flow bot will be activated for posts other than inquiries. The talk room for responses can be used for other purposes as well.
 ※ Creating a talk room can also be done after linking Yoom and LINE WORKS, using the "Create a Talk Room Including Bot" action.

3. Log in to Yoom.

4. Click the "Try it out" button below to copy the template in Yoom.

Step 1: Connect LINE WORKS and Anthropic (Claude) with My Apps

*If you have already connected the apps, please proceed to Step 2.

1. Select "My Apps" from the left menu and click "+ New Connection" on the right side of the screen.

__wf_reserved_inherit

2. From the list of new connections in My Apps, select LINE WORKS and Anthropic (Claude) respectively, and connect the apps.
*For connecting LINE WORKS (API2.0), please refer to the "My App Registration Procedure" in this article. If you encounter any issues with registration, please check the confirmation items.
*For connecting Anthropic (Claude), you will need an API key issued on the Anthropic Console. Please click the "Create Key" button from API keys to issue one.

Next, copy the template to My Project and create a flow bot.
If you haven't copied it yet, please copy the flow bot template from below.

1. Hover over the banner and click "View Details"
2. Click "Try this template" on the page you navigated to
3. Register for Yoom
* If you have already completed registration, a login screen will be displayed, so please log in. Step 2: Setting up a trigger that activates when a message is sent to a LINE WORKS chat room 1. Open the copied template.
* You can change the title to any desired one in the red box in the image below. 2. Click "App Trigger: When a message is sent to the chat room" in the Flowbot. 3. Set up "Select linked account and action".
Change the title as needed and click "Next". 4. Set up the Webhook event reception settings for the app trigger.
Refer to the instructions and precautions, and set it to activate when a message is sent from the LINE WORKS Developer Console screen. 5. Click "Test". 6. If the test is successful, click "Save". Step 3: Setting up an action to generate a response with Anthropic (Claude) 1. Click "Integrate with App: Generate Text" in the Flowbot. 2. Select the linked account and action.
Change the title as needed and click "Next". 3. Set up the API connection.
Enter the necessary details in each field.
* Use the output obtained in Step 2 for the "content" field of messages.
* The image below shows some of the input fields. 4. Click "Test". 5. If the test is successful, click "Save". Step 4: Setting up an action to send a response to LINE WORKS 1. Click "Integrate with App: Send a message to the chat room" in the Flowbot. 2. Select the linked account and action.
Change the title as needed and click "Next". 3. Set up the API connection.
Enter/select each item.
* You can use the output obtained so far for the message.
* The image below is an example of input. 4. Click "Test". 5. If the test is successful, click "Save". This completes the flow of "Automatically generate and respond with Anthropic (Claude) when a message is received in LINE WORKS".
Switch the trigger of the saved flow to "ON" to activate it. Flowbot template used this time
Automatically generate and respond with Anthropic (Claude) when a message is received in LINE WORKS

Other Automation Examples Using Anthropic (Claude)

There are many other examples of automation using Anthropic (Claude) in Yoom, so here are a few introductions.

1. This is a flow where a response is automatically generated and replied to using Anthropic (Claude) when a message is received on Microsoft Teams. If different chat tools are used depending on the location or department, it can be used in conjunction with the LINE WORKS flow. Responses can be provided immediately, 24/7, regardless of the location's operation or employees' working hours.

2. This is a flow where messages received on Chatwork are automatically generated and responded to by Anthropic (Claude). Similar to the flows in LINE WORKS and Microsoft Teams, you can automatically respond to inquiries on Chatwork. By using Chatwork's task management feature, it is also possible to convert response messages into tasks.

3. This flow involves creating product descriptions using Anthropic (Claude) based on the product information added to Google Sheets and updating the data in Google Sheets. By eliminating the need for manual sentence creation and transcription work, it is expected to improve the efficiency of sales operations.

Summary

By integrating LINE WORKS with Anthropic (Claude), you can automate internal inquiry responses. This can lead to improved operational efficiency by reducing the burden on internal help desk staff and ensuring consistent quality of responses compared to manual handling. Since responses can be immediately checked on LINE WORKS, it is also expected to enhance the convenience for the inquirer. With the use of Yoom, integration settings can be easily configured, so please give it a try.

The person who wrote this article
e.koyama
Until now, I have experienced office work at specialized trading companies and in the EC industry. The work I was in charge of covered a wide range of tasks, such as sales office work, accounting, general affairs, human resources, and legal affairs. We worked to improve the efficiency of individual tasks, but I think the work could proceed more conveniently by using various support tools and Yoom... I would be happy if I could send out an introduction article on Yoom that makes use of my work experience and help everyone proceed smoothly with their work.
Tags
Integration
Automation
LINE WORKS
Anthropic (Claude)
Related Apps
App integration
No items found.
What is Yoom hyperautomation?
Conventional RPA can only automate simple repetitive tasks, and the setup process was very complicated.
With “hyperautomation,” which combines various technologies such as AI, API, RPA, and OCR, it is possible to automate many tasks that could not be realized until now more easily than before.
Don't Just Connect Apps—Automate Everything
Most tools simply connect one app to another, leaving the complex tasks to you. Yoom goes much further: From document creation and browser automation to OCR and generative AI, Yoom handles it all seamlessly in one platform.

Why settle for basic integrations? Streamline your entire workflow with Yoom’s powerful hyperautomation.
Learn more about Yoom
Helpful Materials
I understand Yoom! 3-piece set of materials
Download materials
Understand in 3 minutes! Yoom service introduction materials
Download materials
Find out by Before After! Yoom Case Study Collection
Download materials
See a list of useful materials