- How to automatically notify a Teams channel when an email is labeled in Gmail
- 1. Create your playbook and set the Gmail trigger as "Label added"
- 2. Add the "Send message" in Teams automation
- 3. Activate your Relay.app playbook
- Learn more about integrating with Gmail and Teams
- Related blog posts
- More how-to guides featuring Gmail and Teams
How to automatically notify a Teams channel when an email is labeled in Gmail
Create your playbook and set the Gmail trigger as "Label added"
After creating your playbook, you can proceed to add your trigger. The trigger detects changes in your connected apps and responds to your playbook.
To setup this playbook, click "Add trigger" and then select "Label added" under Gmail. Then, select details like label name and whether to only trigger for the first email in a conversation. This will allow your playbook to automatically detect the new label added to a specific email in Gmail and initiate necessary actions.
If this is your first time using a Gmail integration in Relay.app, a prompt will guide you through the connection process.
Add the "Send message" in Teams automation
Integrate the Teams automation into your playbook to ensure the prompt sending of a message in Teams whenever a new email is received in Gmail.
Click the "Add step" button, then locate the "Send message" automation for Teams and input the mandatory and relevant details.
If your Teams account isn't already connected to Relay.app, you will be prompted to complete that connection. Make sure to allow the necessary permissions for Relay.app to sync with your Teams account.
Activate your Relay.app playbook
Activating your playbook is the final step to automate sending of a message in Teams. Once turned on, it will respond whenever a new email is received in Gmail by sending a message to Teams without manual intervention.
To enable your playbook, click the toggle button located in the header. It is advisable to perform a test run of your playbook beforehand to ensure all steps work seamlessly together and reminders are being sent correctly.