How to automatically send Slack messages to a channel when a Google Drive file is added

Relay.app is an automation tool that lets you automate actions across Slack, Google Drive, and many other apps. In this guide, we'll show you how to use Relay.app to automatically run the SlackSend message” action for each Google DriveFile added to folder” event.
Google Drive logoGoogle Drive > Slack
Trigger
Last triggered
Google Drive logoFile added to folder
Slack logoSend message
1

Set the Google Drive trigger as “File added to folder”

Add the Google Drive trigger to initiate your playbook's actions when a file is added to a folder.

To do this, click "Add trigger" in your playbook. Select the "File added to folder" trigger option from the dropdown menu under Google Drive. It will enable your playbook to automatically identify newly added files and trigger necessary actions.

If you still need to connect your Google Drive account to Relay.app, a prompt will guide you through the connection process.

2

Add the “Send message” step in Slack

Integrate Slack automation into your playbook to ensure that you receive timely updates when a Google Drive file is added to a folder.

Select "Add Step" and then find the "Send message" automation for Slack. Enter all the required details, including the sender's name, the Slack channel for updates, and the message body containing detailed information.

If you still need to connect your Slack account to Relay.app, you will be prompted to complete that connection. Ensure that you allow the necessary permissions for Relay.app to send messages through your Slack account.

3

Activate your playbook

Activating your playbook is the last step in the process. Once you turn it on, it will automatically send Slack messages to a channel when a file is added to a Google Drive folder 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.

More how-to guides featuring Slack and Google Drive

See all how-to guides ➔

What will you automate?

Sign up and get started with your first Relay.app playbook today.
Background image