Google Drive・Gemini・LINE WORKSの連携イメージ
How to Integrate Applications

2024/12/26

When an image is uploaded to Google Drive, analyze it with Gemini for visual inspection and notify via LINE WORKS.

a.ohta

Don't you find checking uploaded images to be surprisingly cumbersome? Especially when they're added to a shared folder, it can be difficult to track who uploaded what and when, or you might not be able to find the file you're looking for.
To address these concerns, we introduce the app integration of Google Drive, Gemini, and LINE WORKS.
This integration might make checking image files smoother. If you're looking to simplify your daily tasks, please take a look.

Recommended for

  • Those who save image files on Google Drive
  • Those who use Google Drive for file exchanges
  • Companies using LINE WORKS as their main communication tool
  • Companies interested in incorporating Gemini (generative AI) into their operations

Benefits and Examples of Google Drive, Gemini, and LINE WORKS Integration

Benefit 1: Easier File Checking

With this integration, when a file is uploaded to Google Drive, Gemini automatically performs image analysis. The analysis results are then notified to LINE WORKS, potentially allowing for quicker file checks.
Previously, to understand the content of a file added to Google Drive, you had to either be informed separately or check it yourself.
However, with this integration, the file's content is automatically analyzed by Gemini, and a message is sent to LINE WORKS, making it easier than ever to understand the content.

Benefit 2: Easier Detection of New Files

After a file uploaded to Google Drive is automatically analyzed by Gemini, a message is sent to LINE WORKS, making it easier to notice file additions.
For example, even if you're informed about a new file uploaded to Google Drive, you might delay checking it due to being busy with other tasks. In the worst case, you might forget about it entirely.
By implementing this app integration and creating a "dedicated room to notify file uploads to Google Drive" in LINE WORKS, you might find it easier to notice when and what kind of files have been added.

Benefit 3: Simplifying Notification Tasks

This integration benefits not only the receiver of the files but also the sender.
For instance, when you upload files that need to be submitted by a deadline or shared with members to Google Drive, you need to send a message to inform them. While it might not be a burden if the number of messages is low, it can become cumbersome if you perform such actions regularly.
However, by implementing app integration and automation, you can simplify these notification tasks, reducing your workload.

Now, let's explain how to use the no-code tool Yoom to "analyze images uploaded to Google Drive with Gemini and notify LINE WORKS of the content."

[What is Yoom]

How to Notify LINE WORKS of Images Added to Google Drive Analyzed by Gemini

First, use the Google Drive API to retrieve file data uploaded to a specific folder in Google Drive.
Then, using Gemini's API, you can receive and automatically analyze this data.

Furthermore, the analyzed results are received by LINE WORKS' API and automatically sent to a specific room.
While achieving such integration typically requires programming knowledge, it can be easily accomplished without programming knowledge using the no-code tool Yoom.

The integration flow is broadly divided into the following processes:

  • Integrate Google Drive, Gemini, and LINE WORKS with My Apps
  • Set up to launch Google Drive
  • Set up to analyze with Gemini and send to LINE WORKS
  • Turn on the trigger button and verify the integration operation of Google Drive, Gemini, and LINE WORKS

First, register with Yoom.
Yoom offers a 2-week trial
, allowing you to try it out and see how it feels.

Step 1: Link My Apps with Google Drive, Gemini, and LINE WORKS

After completing the registration with Yoom, please select "My Apps" from the menu on the left.

Next, click the new connection button at the top right.

Linking Google Drive with Yoom

1. Search

Click the Google Drive icon.

2. Sign In

Click the red frame.

3. Select Account

Select the account to link.

After confirming and agreeing, press Next.

4. Link Complete

The screen will change, and if the above display appears, the link is complete.

Linking Gemini with Yoom

1. Search

Click the Gemini icon.

2. Enter Account Name

Enter the account name and access token.
First, enter the account name. A clear and easy-to-understand naming, such as the company name or person in charge, is recommended.

3. Obtain API Key
The access token can be obtained from the Gemini API acquisition page.

After confirming the content and agreeing, check the box and press the "Continue" button at the bottom right.

Press the "Create API Key" button at the bottom of the screen.

Continue by pressing "Create API Key with a New Project".

The API key has been created. It is displayed in the red frame, so please copy it.

4. Enter

Return to the Yoom screen and enter the copied API key as the access token.
Once the required fields are filled, press Add at the bottom right.

5. Link Complete

The screen will change, and if the above display appears, the link is complete.

Linking LINE WORKS with Yoom

1. Search

Click the LINE WORKS icon.

2. Enter Required Fields


Enter the required fields.
For details, please access LINE WORKS My App Registration Method from the LINE WORKS administrator account and register according to the procedure.

3. Click Add

Once the two required fields are set, press the Add button at the bottom right.
If the above display appears, the link is complete.

Step 2: Copy the Template

Next, please copy the template to be used this time.

1. Click "View Details" on the top banner
2. Click "Try this template" at the bottom of the transitioned screen
3. If you haven't registered with Yoom yet, please register * If you have already registered, the login screen will be displayed, so please log in. When the Flowbot template is copied to "My Projects", the above display will appear. You will transition to a page like the image, so let's proceed with detailed settings. Step 3: Setting up Google Drive 1. Open My Projects Open "My Projects" from the menu on the left side of the screen. 2. Open the copied template Click "【Copy】When an image is uploaded to Google Drive, analyze it with Gemini and notify LINE WORKS of its content." 3. App Trigger Select "When a new file or folder is created" from the Google Drive icon. Proceed to the next step. 4. Specify the Trigger Set the trigger activation interval. You can set the activation interval from the dropdown as shown in the image. Triggers can be set to activate at intervals of 5 minutes, 10 minutes, 15 minutes, 30 minutes, or 60 minutes. Please note that the shortest activation interval varies depending on the plan. 5. Specify the Folder Specify which folder to analyze with Gemini when a file is uploaded. Click the box to display a list of files, select and set them. 6. Execute the Test Press the test button, and if "Test Successful" is displayed in blue, press save. *It is recommended to create a test folder in advance and upload files. Continue to set up to retrieve file information uploaded to the folder. 7. Integrate with the App Select "Download File" from the Google Drive icon. Proceed to the next step. 8. Execute the Test Since you are using a template, the settings are complete. Therefore, press the test button, confirm that "Test Successful" is displayed in blue, and press save. If the test is not successful, it is recommended to re-upload the file. Step 4: Set up to analyze with Gemini and send to LINE WORKS 1. Integrate with the App Next, set up to upload files to Gemini. Select "Upload File" from the Gemini icon. Press next. 2. Execute the Test Since you are using a template, the settings are complete. Therefore, press the test button, confirm that "Test Successful" is displayed in blue, and press save. 3. Integrate with the App Continue to set up analysis with Gemini. Select "Generate Content (using file)" from the Gemini icon. Press next. 4. Set the Model First, enter the Gemini model type to use. You can check the model by clicking the top left of the Gemini page. Since 1.5 flash is used for images, set the same as the model. Return to the Yoom screen. Click the box to display a list of Gemini models. Scroll and click to insert the same model you confirmed. 5. Set the Prompt and Role Set the prompt and file. Both are pre-set, so you can change them if desired. 6. Execute the Test Once the settings are complete, press the test button at the bottom. If "Test Successful" is displayed in blue, the setup is complete. Press save. Finally, set the message to be sent to LINE WORKS. 1. Integrate with the App Select "Send Message to Talk Room" from the LINE WORKS icon. Press next. 2. Set the ID First, set the ID in the red frame. For the bot ID, please check "How to Create a Bot" at the bottom of "How to Register My App in LINE WORKS". Set the Talk Room ID according to the supplement at the bottom of the box. Click the three-dot leader at the top right of the LINE WORKS talk room. You can obtain the Talk Room ID by selecting the Channel ID. 3. Confirm the Message Next, set the content of the message you want to notify to LINE WORKS. Since you are using a template, the creation of sentences and insertion of data are complete. The content of the sentence can be changed as desired. 4. Execute the Test Once the message settings are complete, press the test button at the bottom. If "Test Successful" is displayed in blue, the setup is complete. Press save. 5. Turn ON the Trigger When the creation of the Flowbot is complete, the above display will appear. The trigger is initially set to OFF, so turn it ON. Flowbot template used this time: Analyze with Gemini when an image is uploaded to Google Drive and notify LINE WORKS of its content.

Other Automation Examples Using Google Drive, Gemini, and LINE WORKS

Yoom has other examples of automation using Google Drive, Gemini, and LINE WORKS, so here are a few introductions.

1. Analyze content posted on LINE WORKS using Gemini's assistant and update the response back to LINE WORKS

If you are utilizing Gemini for business and using LINE WORKS as your main communication tool, you can directly ask questions to Gemini from LINE WORKS.

2. Summarize the content added in Google Sheets using Gemini and update it in Google Sheets

This is an automation that summarizes data from Google Sheets and appends the summarized content back into Google Sheets for updating. This allows the summarized content to be easily reviewed at any time.

3. Perform OCR on PDF data stored in Google Drive, verify the content, add it to YoomDB, and notify LINE WORKS

It is possible to read the content of image data, convert it into text, and store it in Yoom's database. Additionally, notifications are sent to LINE WORKS, which may help reduce the burden of administrative tasks.

Summary

By making file management easier, it is quite conceivable that work can proceed smoothly.
Additionally, cloud storage that can be shared like Google Drive stores a large amount of data, so utilizing this integration to make files easier to understand can be very beneficial.
Yoom allows app integration without the need for programming. To ensure important files are not overlooked, please consider implementing automation.

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
Google Drive
Gemini
LINE WORKS
Automation
Integration
Notification
Automatic
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