Watch Step By Step Video Tutorial Below






1. Accessing Pabbly Connect for Integration

To begin, access Pabbly Connect by visiting pabbly.com/connect. This platform allows you to automate tasks between applications seamlessly, including WhatsApp and Google Drive. If you’re a first-time user, you can register for free and get 100 tasks every month to start your automation journey.

After logging in, you will be directed to your dashboard. Here, you can create a new workflow that connects WhatsApp to Google Drive. This integration will enable you to automatically save media files received on WhatsApp directly to a specified Google Drive folder.


2. Setting Up the Workflow in Pabbly Connect

Next, you will create a workflow in Pabbly Connect. Click on “Create Workflow” and give it a name, such as “Save WhatsApp Media to Google Drive.” This will help you identify the workflow later. Then, select the trigger app, which in this case is Pabbly Chat Flow.

  • Choose “Receive New Message” as the trigger event.
  • Copy the webhook URL provided by Pabbly Connect.
  • Log in to your Pabbly Chatbot account.

After logging in, navigate to the settings, and select the API and Webhooks section. Here, you will add the copied webhook URL and set the event as “Receive New Message.” This step ensures that any new message sent to your WhatsApp number will trigger the workflow.


3. Testing the Webhook Connection

After setting up the webhook in Pabbly Connect, it’s essential to test whether the connection is working. Send a media file to your WhatsApp number linked to the Pabbly Chatbot. Once the file is sent, go back to Pabbly Connect and click on “Capture Webhook Response.” This will allow you to see if the message was received successfully.

If the setup is correct, you should see a success message indicating that the media file was captured. This step confirms that your WhatsApp is properly connected to Pabbly Connect and ready to send files to Google Drive.


Once you have tested the webhook, the next step is to retrieve the media link from the WhatsApp response. Using Pabbly Connect, you will add a new action step to retrieve the media link. Select the “Retrieve Media Link” option, and map the media ID from the previous step to get the accessible link.

This process involves using the API to fetch a publicly accessible link for the media file. You will need to click on “Send Test Request” to ensure that the link is retrieved correctly. If successful, you will receive the media link that can be used to upload the file to Google Drive.


5. Uploading the Media File to Google Drive

Finally, you will use the Pabbly Connect File Uploader tool to upload the retrieved media file to your Google Drive. Set up the Google Drive connection by choosing the account you want to use and granting necessary permissions. This is a secure process that keeps your data safe.

  • Map the media link obtained in the previous step to the file upload action.
  • Specify the folder in Google Drive where you want to save the files.
  • Click on “Save and Send Test Request” to complete the upload process.

Upon successful upload, you will receive a confirmation message, and the media file will be available in your specified Google Drive folder. This automation saves you time and ensures that all important media files are backed up automatically.


Conclusion

In this tutorial, we explored how to use Pabbly Connect to automatically save WhatsApp media files to Google Drive. By following these steps, you can streamline your workflow and ensure that important files are securely backed up.