Sync Gmail attachments to Salesforce Contacts

ProductivitySales EnablementCRMMarketing

What it does

When someone receives a Gmail message with attachments from a Salesforce Contact, this automation finds that Contact by email address and uploads the attachments to the Contact record. If the Contact exists, the files are attached; if not, nothing happens.

Who it's for

Sales teams who need email attachments linked to Salesforce Contacts without manual uploads.

How teams use this

Link client emails to their Contact

When a prospect or customer emails with a proposal or contract, the attachment is automatically added to their Salesforce Contact so the team sees all documents in one place.

Route attachments by department

Set up separate Gmail inboxes for sales, support, and finance so each team's incoming attachments go to the right Salesforce Contacts without mixing workflows.

Filter attachments by file type

Add a condition to only attach specific file types like PDFs or images to Contacts, and skip others. This keeps the Contact record focused on relevant documents.

How it works

  1. Receive email with attachments. A new Gmail message arrives with one or more file attachments from an email address in your inbox.
  2. Search for matching Contact. Search Salesforce for a Contact record with an email address that matches the sender of the Gmail message.
  3. Download each attachment. For each file attached to the Gmail message, download it from Gmail so it can be uploaded to Salesforce.
  4. Attach files to the Contact. When a Contact is found, create an Attachment record in Salesforce for each downloaded file and link it to that Contact.