When an email gets a new label, automatically upload attachments to Google Drive

Hi there u can use step by step…

  1. Create a New Scenario: Start by creating a new scenario in your Integromat account.
  2. Trigger: Gmail - Watch Emails Choose the “Gmail” module as your trigger. Select the “Watch Emails” trigger event.
  • Connect your Gmail account.
  • Set the label to “Invoices” to monitor for emails with this label.
  1. Action: Gmail - Get Email Attachments Add an “Get Email Attachments” action module after the trigger.
  • Choose the email you received from the trigger.
  • Set the “Attachment Type” to “PDF” to only extract PDF attachments.
  1. Action: Google Drive - Upload a File Add a “Upload a File” action module after the “Get Email Attachments” module.
  • Connect your Google Drive account.
  • Choose the destination folder in Google Drive (e.g., “Invoices”).
  • Map the attachment from the “Get Email Attachments” module to the “File” field.
  • In the “File Name” field, you can enter a dynamic file name based on the email’s subject or any other relevant information.For example, you can use a formula like:
"Invoice - " & [Email Subject] & ".pdf"

More Help Connect
Best Regards
Pro_Tanvee

3 Likes