LINE公式アカウントとGoogle スプレッドシートの連携イメージ
How to Integrate Applications

2024/10/24

How to retrieve the latest number of broadcasts from the official LINE account every day and add it to a Google Spreadsheet

a.ohta

Among the communication tools closely tied to our daily lives, the prevalence of LINE is quite significant. Therefore, using an official LINE account for promotion can be considered a must-have advertising strategy for companies.
<span class="mark-yellow">In this article, we will introduce how to integrate Google Sheets to support the management of official LINE accounts.</span>
This might enable efficient distribution and achieve waste-free marketing. Let's take a look at what specifically becomes possible and the benefits!

Benefits of Integrating LINE Official Account with Google Sheets

1. Efficient Data Extraction

By performing this integration, you will be able to automatically add data daily to Google Sheets regarding how much distribution has been done from the official LINE account.
<span class="mark-yellow">Since you can monitor the distribution status of four types of messages: broadcast, targeting, response, and greeting daily, it will be easier to compare with trends in events and product sales.</span>
Moreover, knowing what kind of distribution led to lead acquisition is extremely valuable data. This integration can be said to be effective in supporting the extraction of such figures.

2. Reduction of Effort through Automation

If you are already managing distribution status with Google Sheets, you are likely collecting data manually at this stage. Isn't executing this at a set time every day quite a challenging task?
When tasks pile up, you might not be able to do it at the set time, and sometimes it might even spill over into the next day.
However, by integrating the official LINE account with Google Sheets, you can collect and transfer data at a set time every day, preventing omissions and leaks.
Additionally, you will be able to collect data even on holidays!

[About Yoom]

Next, we will introduce how to create a flow bot with Yoom, which allows app integration without programming, to "retrieve the latest distribution numbers from the official LINE account daily and add them to Google Sheets."
After registering with Yoom, please try creating it!

The above flow bot template can be copied from below.

1. Click on "View Details" on the top banner
2. Click on "Try this template" at the bottom of the transitioned screen
3. Register for Yoom

※ If you have already completed registration, the login screen will be displayed, so please log in.

How to Create a Connection Flow between LINE Official Account and Google Spreadsheet

Step 1: Connect LINE Official Account and Google Spreadsheet to My Apps

The template will be copied, and the screen will look like the above.
Since you have transitioned to the Yoom page called "My Projects", please select "My Apps" from the menu on the left side of the screen.

First, connect Yoom with each tool. Click on "New Connection" at the top right.

Connecting LINE Official Account with Yoom

1. Search
Click on the LINE Official Account icon.

2. Enter Required Fields

Enter the account name and access token.
For more details, please check How to Add My Apps to LINE Official Account.

3. Connection Complete

After entering the required fields, press the add button at the bottom right.
If the screen switches and the above display appears, the connection is complete.

Connecting Google Search with Yoom

1. Search
Click on the Google Spreadsheet icon.

2. Select Account
Press the Google account of the Gmail address to be linked with Yoom.

3. Log in to Yoom

You will transition to the image page, so read the terms and click next.

4. Yoom is Requesting Additional Access to Google Account
Press continue.
When you move to the authentication screen, select Allow all permissions.

5. Connection Complete

If the screen switches and the above display appears, the connection is complete.

6. Prepare Google Spreadsheet

It is recommended to prepare the Google Spreadsheet to be linked with the LINE Official Account at this stage.
The data that can be obtained is as shown in the image, so please use it as a reference.

Next, copy the template to My Projects 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. On the redirected page, click "Try this template"
3. Register for Yoom
* If you have already registered, the login screen will be displayed, so please log in.

Step 2: Set up to launch the flow bot at the same time every day

1. Open My Project


Open "My Project" from the menu on the left side of the screen.

2. Open the copied template
Click on "【Copy】Retrieve the latest delivery count from the official LINE account every day and add it to Google Sheets".

3. Select a trigger
Select the schedule trigger "When the specified schedule is reached".

4. Set the launch interval

Set the launch interval.
By default, it is set to retrieve data from the official LINE account every day at 9 AM.
If you have a preferred day or time, please change it.

5. Save
Once the settings are complete, press the save button at the bottom.

Step 3: Set up to retrieve information from the official LINE account

3. Select a trigger
Select "Retrieve delivery count" from the official LINE account icon.
Press Next.

4. Set the date

Enter the date for which you want to retrieve the delivery count. Click the box.


Select "Date" in the red frame.


Since the flow bot is set to launch every day at 9 AM, let's retrieve yesterday's data.


Select the data display format.
Click on the relevant item in the red frame.

5. Run the test


Once the settings are configured as shown in the image, press the test button at the bottom of the screen.
If "Test Successful" is displayed, don't forget to save.

Step 4: Set up to add to Google Sheets

1. Operate the database
Select "Add Record" from the Google Sheets icon.
Scroll down.

2. Set required fields

Enter the required fields. Click the box.


When you click inside the box, a list will be displayed as shown in the image. Select the Google Sheets where the official LINE account data will be accumulated.
Set the tab name in the same way.

Regarding the table range, it depends on the prepared Google Sheets, so enter it according to the contents of Google Sheets.
Once entered, press Next.

3. Set the values of the records to be added

Set the values of the records to be added.

The box names displayed on this page depend on the Google Sheets linked earlier.
Therefore, it may differ from the image display, but the setting method is the same.

First, click the box.


Select the item for the official LINE account.

The data sent in the test from the official LINE account settings will be displayed in a list.
Select the data that matches the box item name.
In the image, the box item name is "Broadcast", so "Broadcast Message" was selected from the official LINE account.


The data can be inserted as shown in the image.
Set the other boxes in the same way.

4. Run the test

Once the data insertion is complete as shown in the image, press the test button.
If "Test Successful" is displayed, the setup is complete. Press Save.

5. Turn on the trigger

When the flow bot creation is complete, the above display will appear. The trigger is initially set to OFF, so turn it ON.
This completes the creation of the flow bot using the official LINE account and Google Sheets.

Flow bot template used this time
Retrieve the latest delivery count from the official LINE account every day and add it to Google Sheets

Other Automation Examples Using LINE Official Account and Google Spreadsheet

There are many other examples of automation using LINE Official Account and Google Spreadsheet on Yoom, so here are a few introductions.

1. When a friend is registered on the LINE Official Account, add them to Google Spreadsheet
When a friend is registered on the LINE Official Account, they are automatically accumulated in Google Spreadsheet.

2. Retrieve data with the LINE Official Account at the specified date and time, and link it to Google Sheets to add a record
This is also a flow for adding friend registration data, but the addition is done at the specified date and time. It is recommended when you want to add data at a predetermined date and time.

3. Notify LINE WORKS when a message is received from a user on the LINE Official Account
It is also possible to notify LINE WORKS, used internally, of messages from the LINE Official Account.

Summary

Utilizing LINE Official Accounts can be highly beneficial for corporate promotion, don't you think? Therefore, by implementing automation like the one discussed here, you can efficiently gather information, leading to streamlined data management.
Yoom offers many other flow bots. By using templates, automation can be easily implemented, so please take this opportunity to give it a try.

The person who wrote this article
a.ohta
After working as a general store manager, I started working from home as an SEO writer. Later, an outsourcing agreement was signed with a marketing startup for about 5 years. Surrounded by students at the University of Tokyo, I held a computer and spent my days studying various business terms and how to use SaaS tools. When I was a general store manager, time was taken over and over again by office work such as sales and inventory management, human resource management, and ordering, etc., and I was unable to serve customers and often missed sales times. Even when outsourcing, there are many detailed tasks such as input, etc., and “can't such monotonous tasks be automated?” I thought so, and I really sympathize with Yoom's vision!
Tags
LINE Official Account
Google Sheets
Automation
Integration
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