Sync Gmail attachments to Salesforce Contacts

ProductivityCRMMarketing

What it does

When someone receives a Gmail message with attachments from a Salesforce Contact, this automation finds that Contact and uploads the files to their record. The attachments are now stored in Salesforce alongside the contact information.

Who it's for

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

How teams use this

Store client documents with their Contact

When a client emails a contract or proposal, the file is automatically attached to their Salesforce Contact. The sales team finds all related documents in one place without searching email.

Archive invoices to customer records

Finance receives invoices via Gmail from customers and this automation links each one to the matching Salesforce Contact. Billing history stays organized and accessible in the CRM.

Attach multiple file types to Contacts

Extend this automation to filter attachments by file type, so only PDFs or images are uploaded, or add a condition to check file size before syncing. This keeps the Contact record clean and focused.

How it works

  1. Receive email with attachments. A new Gmail message arrives with one or more file attachments from an email address.
  2. Find the 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 so it can be moved to Salesforce.
  4. Upload attachment to Contact. Create an Attachment record in Salesforce linked to the Contact found in step 2, storing the file from Gmail.