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

2024/12/09

How to notify Discord after analyzing images uploaded to Google Drive with Gemini

a.ohta

Don't you find it a bit tedious to check all the image data that is sent daily in large quantities? While a few files might not require much effort, when the number increases, it can take time and make it difficult to handle other tasks.
Therefore, this time, we introduce an app integration that automates image checking using AI with Gemini.
It might save you time spent on image checking. Please take a look.

Recommended for

・Companies storing files on Google Drive
・Those who want to quickly grasp files uploaded to Google Drive
・Those who do not want to spend time checking files uploaded to Google Drive
・Companies that want to improve efficiency by introducing Gemini (Generative AI) into their operations
・Companies using Discord as their main communication tool

Benefits and Examples of Integrating Google Drive, Gemini, and Discord

Benefit 1: Time-saving

By performing this integration, files uploaded to a specific folder in Google Drive can be automatically analyzed by Gemini, and the results can be sent to Discord. Therefore, it should be possible to shorten the time spent on image checking.
For example, if the person in charge had to check each uploaded file to see what it was, the more files there were to check, the more time it would take.
This integration allows Gemini to automatically analyze "what kind of file it is" and send the results to Discord, making it easier to decide whether to check the file or postpone it, potentially reducing the time spent on confirmation tasks.

Benefit 2: Preventing missed file checks

After Gemini automatically analyzes files uploaded to Google Drive, Discord can send messages in real-time, making it easier to notice newly uploaded files.
For example, when you are busy with work, don't you sometimes postpone checking files? However, by introducing this automation, it becomes possible to send messages to the Discord you usually use, potentially preventing oversights.
Additionally, even if you cannot check it yourself, members within the same channel can easily check the files, potentially eliminating missed checks of important files.

Benefit 3: Reducing the hassle of email notifications

If you have been manually notifying about file uploads, you can shorten such actions.
For example, when you upload documents requested to be prepared or receipts to be submitted by a deadline, you often send a message with a note to the person in charge of submission.
This integration allows for automation, making it easier to reduce the hassle of sending separate messages and eliminating the hassle of email notifications.

Now, let's introduce the flow of connecting apps using Yoom.
First, register with Yoom.
Yoom offers a 2-week trial. You can actually operate it and check the usability.

[What is Yoom]

This time, we will perform the automation of "analyzing images uploaded to Google Drive with Gemini and notifying the content to Discord" using the following template.

How to Create a Google Drive, Gemini, and Discord Integration Flow

The integration flow this time is broadly divided into the following processes.

・Integrate Google Drive, Gemini, and Discord with My Apps
・Set up to launch Google Drive
・Set up to analyze with Gemini and send messages to Discord
・Turn on the trigger button and confirm the integration operation of B-Cart with Google Drive, Gemini, and Discord

Step 1: Integrate Google Drive, Gemini, and Discord with My Apps

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.

Integration with Google Drive and Yoom

1. Search

Click the Google Drive icon.

2. Sign In

Click the red frame.

3. Select Account

Select the account to integrate.

After confirming and agreeing, press Next.

4. Integration Complete

The screen will switch, and if the above display appears, the integration is complete.

Integration with Gemini and Yoom

1. Search


Enter Gemini in the search box and 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.

Then press "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 entered, press Add at the bottom right.

5. Integration Complete

The screen will switch, and if the above display appears, the integration is complete.

Integration with Discord and Yoom

1. Search

Select the Discord icon.

2. Enter Required Fields

Discord Developer Portal to obtain the Bot token and enter it as the access token.
For more details, please check the page on Discord My App Integration.

3. Add
Once the required fields are entered, click Add at the bottom right.

If the above display appears, the integration 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 completed registration, 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 be taken 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 Discord of its contents." 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, then select and set. 6. Run 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 retrieving 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. Run the Test Since the template is being utilized, the settings are complete. Therefore, press the test button and confirm that "Test Successful" is displayed in blue, then press save. If the test is not successful, try re-uploading the file. Step 4: Analyze with Gemini and Send to Discord 1. Integrate with the App Next, set up to upload files to Gemini. Select "Upload File" from the Gemini icon. Press next. 2. Run the Test Since the template is being utilized, the settings are complete. Therefore, press the test button and confirm that "Test Successful" is displayed in blue, then 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 be used. You can check the model by clicking the top left of the Gemini page. Since 1.5 flash is used in the image, set the same as the model. Return to the Yoom screen. Clicking the box will display a list of Gemini models. Scroll and click to insert the same model you confirmed. 5. Set Prompt and Role Set the prompt and file. Both are pre-configured, so you can change the prompt if desired. 6. Run 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. 7. Integrate with the App Finally, set up the message to be sent to Discord. Select "Send Message" from the Discord icon. Press next. 8. Enter the Channel ID First, set the channel ID where you want to notify the analyzed file information. Enter as per the note below the box. 9. Confirm the Message Set the content of the message you want to notify to Discord. Since the data insertion is already set as shown in the image, there is no problem if there are no changes. If you want to change it, only modify the text. 10. Run 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. 11. Turn ON the Trigger When the Flowbot creation is complete, the above display will appear. The trigger is initially set to OFF, so turn it ON. Flowbot template used this time "When an image is uploaded to Google Drive, analyze it with Gemini and notify Discord of its contents"

Other Automation Examples Using Gemini

Yoom has other examples of automation using Gemini, so here are a few introductions.

1. Summarizing Internal Meeting Content Added to NotionDB Using Gemini

This is a flow where summarization using Gemini can be automated. It summarizes the content in Notion, which may enable quick information management.

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 for easy review of accumulated summaries at any time.

3. Analyze the content posted on Google Chat using Gemini's assistant and update the response back to Google Chat

You can also send the response directly to Google Chat. This is recommended for efficiently and quickly sharing data with members.

Summary

With the integration of Google Drive, Gemini, and Discord, the time required to understand the content of images is reduced, increasing the possibility of conducting checks more efficiently. This will likely make it easier to proceed with image verification quickly.
Additionally, it may simplify the creation of messages and prevent overlooking images.
The introduction of automation raises expectations for performing tasks comfortably. Why not take this opportunity to integrate apps and introduce 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
Discord
Automation
Integration
Notification
Automatic
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