Click "Try this template".

Click "OK" and give the Flowbot a name to recognize.

The template will be copied to your "My Project".

Step 3: Set Up Gmail Trigger
Next, let’s set up the Gmail trigger.
Click "When an email with a specific label is received".

Give your trigger a title (optional). Confirm the pre-configured settings, and click “Next”.

Trigger Interval
- Set your trigger interval (frequency of sync) on how frequently Yoom checks Gmail for updates.
- It can be set to 5 minutes, 10 minutes, 15 minutes, 30 minutes, or 60 minutes.
- We recommend setting the trigger to the shortest activation interval available for your plan.
⚠️ Note: The trigger interval varies depending on your Yoom plan. Be sure to check your current plan’s limit.

For "Label", click the field and select a label from the displayed options. Once the setup is complete, click "Test" and check if the email details appear in the retrieved value.
If the email information is displayed correctly, click "Save".
Step 4: Set Up Dify Action
Next, let’s set up the Dify action. Click "Send Chat Message".

Same as before, give an action a title (optional). Confirm the settings, and click “Next”.

Click inside the box, and select “body” from Gmail’s retrieved value of the previous action. Verify that the body box gets updated as shown below.
You can add instructions as below.
Set the user.
Entering a new value like 'user123' will start a chat as a new user, while entering an existing user's ID will allow you to continue the chat with that user's history.
Once the setup is complete, click “Test”. If everything looks good, click “Save”.

Step 5: Send a Message via Google Chat
Click "Send message".

Same as before, give an action a title (optional). Confirm the settings, and click “Next”.

For the “Space Resource Name”, click the field and select a space from the options.

You can modify the “Message Content” as needed.
In this case, we’ve set up a message that includes the email subject, body, and the response generated from Dify.
Once the setup is complete, click “Test” to check if the message is sent in Google Chat. If the test succeeds, click “Save” to finalize the setup.

Step 6: Activate the Flowbot
Toggle the "Trigger On" button to activate your flow!
Check if the Flowbot you set up is working properly.

That's it! 🎉 Your Flowbot is ready.