In this section, we will discuss how you can integrate Google Drive with Slack, following which, each time you upload a new file in a specific Google Drive folder, it will automatically be shared with your team members on Slack.
This automation requires a one-time setup, for which we will use Pabbly Connect.
We will first link Google Drive with Pabbly Connect to capture the files, then link Pabbly Connect with Slack and share the file on the selected Slack channel.
Steps to Automatically Share Google Drive Files on Slack Channel
1. Sign In / Sign Up to Pabbly Connect and Create a Workflow
2. Establish a Connection between Google Drive and Pabbly Connect
3. Setup Slack as the Action App to Share Data
Step 1:- Sign In / Sign Up to Pabbly Connect and Create a Workflow
A. Sign In / Sign Up
To begin this process, visit Pabbly Connect and create your account by clicking on the ‘Sign Up Free’ button. You can also click on Sign In if you already have an account.
Click on the Pabbly Connect ‘Access Now’ button
B. Create Workflow
To create a new workflow, click the ‘Create Workflow’ button.
Name your workflow, and click on ‘Create’.
Step 2:- Establish a Connection between Google Drive and Pabbly Connect
We will now look at the steps through which we will establish a link between Google Drive and Pabbly Connect. This will help us to fetch the files from Google Drive.
A. Trigger App
Trigger allows us to choose the application that will receive the data for Pabbly Connect. In our case, it would be Google Drive
Choose ‘Google Drive’ as the Trigger App, select ‘New File in Specific Folder’ as an Action Event, and click on ‘Connect’.
B. Connect Google Drive Account
To connect with your Google Drive account, select ‘Add New Connection’ and click on ‘Connect With Google Drive’. Also, grant the authorization.
Select the Folder whose file you want to capture, and click on ‘Save & Send Test Request’.
The moment you click on Save & Send Test Request, Pabbly Connect will capture the data of the latest file uploaded to your Google Drive account.
We have established a link between Google Drive and Pabbly Connect. Pabbly Connect will now automatically capture the files uploaded to Google Drive.
Step 3:- Setup Slack as the Action App to Share Data
Action allows us to choose the application that will get executed by the workflow trigger.
We essentially want to send a channel message containing Google Drive files on Slack. Therefore, Slack will be our Action App.
A. Action App
Choose ‘Slack’ as your Action App, select ‘Send Channel Message’ as an Action Event, and click on ‘Connect’.
B. Connect with Slack Account
To connect with your Slack account, select ‘Add New Connection’ and click on ‘Connect With Slack’.
Enter your Token Type and click on ‘Save’. Also, grant the authorization.
C. Compose Message
Now that you have connected your Slack account, all you need is to map the necessary details from the step above. Mapping ensures our data remains dynamic and changes as per the received responses.
Select the Channel at which you want to send the message.
Compose your message by mapping data from the step above.
Enter / Map the other fields, leaving the unnecessary ones empty, and click on ‘Save & Send Test Request’.
The moment you click on Save & Send Test Request, the link to the file will automatically be shared with team members on Slack.
Note: Pabbly Connect checks for the data from Google Drive every 5 minutes, so any new file uploaded may not be shared immediately.
Our automation is complete. We have successfully integrated Google Drive with Slack. Each time you upload a new file on Google Drive, it will now automatically be shared with team members on Slack Channel.
You can copy this entire workflow by clicking this link.
Sign Up for a free Pabbly Connect account, and start automating your business
Subscribe to our Youtube Channel for more such automation
For any other queries, visit our forum