- How to automatically send a direct message as a bot on Slack every time a file is added to a folder in Google Drive
- 1. Set the Google Drive trigger as “File added to folder”
- 2. Add the “Send DM as Bot” step in Slack
- 3. Activate your playbook
- Learn more about integrating with Slack and Google Drive
- Related blog posts
- More how-to guides featuring Slack and Google Drive
How to automatically send a direct message as a bot on Slack every time a file is added to a folder in Google Drive
Set the Google Drive trigger as “File added to folder”
A playbook always starts with a trigger, which is responsible for detecting changes in your connected applications and responding accordingly.
Add the Google Drive trigger to initiate your playbook's actions every time a file is added to a folder. Click "Add trigger" in your playbook and choose "File added to folder" from the dropdown menu under Google Drive.
If you still need to connect your Google Drive account to Relay.app yet, a prompt will guide you through the process.
Add the “Send DM as Bot” step in Slack
Integrate the Slack automation into your playbook to ensure the prompt sending of a direct message as a bot on Slack every time a file is added to a folder in Google Drive.
Click the "Add step" button, locate the “Send DM as Bot” automation for Slack, and input the mandatory and relevant details.
If your Slack account still needs to be 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 Slack account.
Activate your playbook
Activating your playbook is the last step in the process. Once you turn it on, it will automatically send a direct message as a bot on Slack every time a file is added to a folder in Google Drive without requiring manual intervention.
To activate your playbook, click the toggle button at the header. Before activating, we recommend performing a test run of your playbook to ensure all the steps work seamlessly together.