Watch Step By Step Video Tutorial Below






1. Accessing Pabbly Connect for Email Automation

To start automating email attachments to Google Drive, first access Pabbly Connect. Visit pabbly.com/connect in your browser. If you’re new, register for a free account which allows you 100 tasks per month.

Once logged in, you can create a workflow that automatically saves email attachments. This setup will greatly simplify your file management process. You can also use the code ANG YT for discounts on annual plans.


2. Setting Up Gmail Trigger in Pabbly Connect

The first step in your workflow is to set up a Gmail trigger in Pabbly Connect. Select “Gmail” as your application and choose the event “New Email”. This will allow you to capture emails as they arrive.

  • Add a new connection and log in using your Google account.
  • Select the label ID as “Inbox” to filter incoming emails.
  • Set the content type to “Plain Text” for simplicity.

After configuring these settings, click on “Capture Webhook Response” to start capturing incoming emails. This step ensures that your Gmail is properly connected to Pabbly Connect.


3. Filtering Emails with Attachments

Next, you need to filter emails to process only those with attachments. In Pabbly Connect, add a filter action after your Gmail trigger. This filter will check for an attachment ID in the email response.

  • Set the filter condition to check if the attachment ID exists.
  • Emails without attachments will stop at this step, preventing unnecessary processing.

This filtering ensures that only relevant emails proceed to the next step in your workflow, keeping your automation efficient and effective.


Once the email is filtered, the next step is to retrieve the attachment link using the “Gmail Get Attachment” action in Pabbly Connect. This action will allow you to extract the file link from the email.

Use the attachment ID from the previous step to map the data correctly. This ensures that every time an email with an attachment is received, the corresponding link is retrieved seamlessly.

After saving this step, you’ll receive a link to the attachment that can be used in the next action of your workflow.


5. Uploading the Attachment to Google Drive

The final step is to upload the retrieved attachment to your Google Drive using Pabbly Connect. Select “Google Drive” as the application and choose the “Upload File” action.

  • Map the URL of the attachment you obtained in the previous step.
  • Specify the folder ID where you want to save the file in Google Drive.
  • Provide a name for the file that will be saved in Google Drive.

After completing these settings, click on “Save and Send Test Request”. If configured correctly, the file will be uploaded to your designated Google Drive folder, completing the automation.


Conclusion

By following this tutorial, you can effectively use Pabbly Connect to automate the process of saving email attachments directly to Google Drive. This setup not only saves time but also ensures that your important files are backed up efficiently.