Slack Account Integration ① - Obtaining the Download URL
(1/2) Select Your Account

・App Trigger → When a file is posted to a channel
・App → Slack
・Account information connected to Slack → Can be integrated with email address and password.
Registering your app in the Yoom dashboard beforehand will make the process smoother.
・Trigger Action → "When a file is posted to a channel" is selected by default, so it's okay to leave it as is.
(2/2) API Connection Settings for the App Trigger

・Trigger Interval → The timing for trigger interval can be set to 5, 10, 15, 30, or 60 minutes.
※ Depending on your plan, the shortest interval for setting the trigger may vary, so please check that point. It is generally recommended to use the shortest activation interval for your plan.
・Channel ID → Clicking the blank will pick up candidate channels from the Slack workspace you just integrated.
Select the dedicated channel you created in advance.
Testing!

Success!

Looking at the output content, you can see that the necessary items for saving the file are automatically generated.
Next, we will set up the second Slack flow.
Slack Account Integration ② - Obtaining the Download URL
(1/2) Select the Integrated Account and Action
・Select the same Slack account as before.
・Action → Download posted file (default)
(2/2) API Connection Settings

・File Download Link → The link extracted earlier can be set by default.
Testing!

Success! The file name can be set later.
Setting the Storage Location in Google Drive - Uploading the Obtained File
(1/2) Select Integration and Action

・Title → Upload the file
・Select a Google Drive account
・Action → Upload file (default)
(2/2) API Connection Settings

・Destination Folder ID → Clicking the blank will pick up candidate folders to specify.
If not found, please enter /folders/(string)/ from the URL.
・File Name → Clicking the blank will show retrieved values from Slack.
This time, we used the file name, but for invoices, which often have duplicate names, using an ID might be better.
・File Attachment Method → It's okay to leave the default settings as is.
Testing!

Success!
Turn the template trigger 【ON】.
Result
Let's check Google Drive.

The file in the red frame is the one obtained during the test.

This file corresponds to the one on Slack.