The template will be copied, so click the "OK" button.

Move to the "My Projects" screen of your Yoom account and check the template content.

There are five setup flows.
・Google Drive Trigger Setup
(1) First, set up the Google Drive app trigger.

From "My Projects" on the left side of your Yoom account screen, click "【Copy】Analyze images uploaded to Google Drive with Gemini and notify Microsoft Teams of the content".

After clicking, the template content will be displayed as shown in the screen below.

(2) First, click on the trigger "When a new file or folder is created".
(3) Enter the account information to be linked and click [Next].

(4) On the next screen, enter the "Trigger Activation Interval".
Select any of 5 minutes, 10 minutes, 15 minutes, 30 minutes, or 60 minutes for the "Trigger Activation Interval".
※ The trigger activation interval varies depending on the plan, so be careful. Generally, a shorter setting is recommended.

(5) For the "Folder ID" item, click the input bar to expand the information obtained from the account as "candidates" as shown in the screen below.

(6) After entering the information, click [Test], and if there are no problems, click [Save].
In this step, you can obtain the following information as output.
The output information can be quoted and utilized in the subsequent steps as noted in "This value can be used in other operations."

(7) Next, click on the second action "Download File".

(8) On the screen after migration, confirm that the Google Drive account information is entered and click [Next].
(9) In the "File ID" item on the next screen, click the input bar to quote the information obtained in the previous step as output as shown in the screen below.
(In this example, 'File ID' is quoted and set.)

(10) After entering the information, click [Test], and if there are no problems, click [Save].
・Gemini Setup
(1) Next, click on the third action "Upload File".

(2) Enter the account information to be linked and click [Next].

(3) Set the "File Attachment Method".
This time, it is set to 'Use the output of the file obtained from Google Drive'.

(4) Click [Test], and if there are no problems, click [Save].
(5) Continue to click on the fourth action "Generate Content (Use File)".

(6) On the screen after migration, confirm that the Gemini account information is entered and click [Next].
(7) Enter information in items such as "Model" on the next screen.
As shown in the screen below, clicking the input bar will expand information referenced based on the account as 'candidates', and you can quote that information.

(8) "Prompt" and "systemInstruction" can be set to the desired content.
Enter the roles you want to define.
(9) "File URI" can quote the output obtained in the previous step.

(10) After entering the information, click [Test], and if there are no problems, click [Save].
・Microsoft Teams Setup
(1) Finally, click on the fifth action "Send Message to Channel".

(2) Enter the account information to be linked and click [Next].

(3) On the next screen, enter information in items such as "Team ID" and "Channel ID".
As in the previous step, clicking the input bar will expand information referenced based on the account as 'candidates', and you can quote that information.

(4) Set the message for information sharing in "Message".
Enter the information according to the annotation.
(5) Enter information in 'Mention Information' and 'Attachment Information'.
As shown in the screen below, you can quote the information obtained in the previous step as output.

When setting file attachments, you need to upload the file to OneDrive in advance and obtain the GUID inside the eTag {}.
If you want to increase the number of attachments, click "+ Add Attachment Information" and enter the information as needed.
(6) After entering the information in the required fields, click [Test], and if there are no problems, click [Save].
This completes the setup.
・Turn on the Trigger
By clicking the red-framed part "Turn on Trigger" on the screen below, the flow bot will start automatically.

Here is the template used this time