AppsPricingBlogTry it
Salesforce logo
Gmail logo

Connect Salesforce to Gmail

Use 10 documented Salesforce triggers to run 20 documented Gmail actions.

10 source triggers
20 target actions
Reverse direction supported

Why Connect Salesforce & Gmail?

Start with a Salesforce event

Choose from 10 documented triggers, including Case Updated (Instant, of Selectable Type), Email Template Updated (Instant, of Selectable Type), Knowledge Article Updated (Instant, of Selectable Type).

Run a Gmail action

Send the event into one of 20 documented actions, such as Add Label to Email, Approve Workflow, Archive Email.

Map and review the workflow

Choose the fields and conditions for the workflow, then test the result before activation.

Available Triggers & Actions

Salesforce logo

Salesforce

Triggers (10)

Case Updated (Instant, of Selectable Type)

Emit new event when a case is updated. See the documentation

webhook
Email Template Updated (Instant, of Selectable Type)

Emit new event when an email template is updated. See the documentation

webhook
Knowledge Article Updated (Instant, of Selectable Type)

Emit new event when a knowledge article is updated. See the documentation

webhook
New Case (Instant, of Selectable Type)

Emit new event when a case is created. See the documentation

webhook
New Deleted Record (Instant, of Selectable Type)

Emit new event when a record of the selected object type is deleted. See the documentation

webhook
New Email Template (Instant, of Selectable Type)

Emit new event when an email template is created. See the documentation

webhook
New Knowledge Article (Instant, of Selectable Type)

Emit new event when a knowledge article is created. See the documentation

webhook
New Outbound Message (Instant)

Emit new event when a new outbound message is received in Salesforce.

webhook
New Record (Instant, of Selectable Type)

Emit new event when a record of the selected object type is created. See the documentation

webhook
New Updated Record (Instant, of Selectable Type)

Emit new event when a record of the selected type is updated. See the documentation

webhook

Actions (24)

Add Contact to Campaign

Adds an existing contact to an existing campaign. See the documentation

Add Lead to Campaign

Adds an existing lead to an existing campaign. See the documentation

Convert SOAP XML Object to JSON

Converts a SOAP XML Object received from Salesforce to JSON

Create Account

Creates a Salesforce account. See the documentation

Create Accounts (Batch)

Create multiple Accounts in Salesforce using Bulk API 2.0. See the documentation

Create Attachment

Creates an Attachment on a parent object. See the documentation

Create Campaign

Creates a marketing campaign. See the documentation

Create Case

Creates a Case, which represents a customer issue or problem. See the documentation

Create Case Comment

Creates a Case Comment on a selected Case. See the documentation

Create Contact

Creates a contact. See the documentation

Create Content Note

Creates a content note. See the documentation and Set Up Notes.

Create Event

Creates an event. See the documentation

Create Lead

Creates a lead. See the documentation

Create Note

Creates a note. See the documentation

Create Opportunities (Batch)

Create multiple Opportunities in Salesforce using Bulk API 2.0. See the documentation

Create Opportunity

Creates an opportunity. See the documentation

Create Record

Create a record of a given object. See the documentation

Create Record

Create a new Salesforce record of any object type. Use **Describe Object** first if you're unsure what fields are available or required. For picklist fields, use the API value from **Describe Object**, not the display label. **Common required fields:** - Account: Name - Contact: LastName - Lead: LastName, Company - Opportunity: Name, StageName, CloseDate - Case: Subject - Task: Subject - Event: Subject, StartDateTime, EndDateTime To add a Contact/Lead to a Campaign, create a CampaignMember: {"CampaignId": "701xxx", "ContactId": "003xxx"} or {"CampaignId": "701xxx", "LeadId": "00Qxxx"}.

Create Task

Creates a task. See the documentation

Create User

Creates a Salesforce user. See the documentation

Delete Note Or Content Note

Delete a note or content note from a Salesforce record. See the documentation

Delete Opportunity

Deletes an opportunity. See the documentation

Delete Record

Permanently deletes a Salesforce record (moves to Recycle Bin for 15 days). Use **SOQL Query** to find the record ID if you only have the record name.

Delete Record

Deletes an existing record in an object. See the documentation

Gmail logo

Gmail

Triggers (5)

New Attachment Received

Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.

polling
New Email Matching Search

Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.

polling
New Email Received

Emit new event when a new email is received.

polling
New Labeled Email

Emit new event when a new email is labeled.

polling
New Sent Email

Emit new event for each new email sent. (Maximum of 100 events emited per execution)

polling

Actions (20)

Add Label to Email

Add label(s) to an email message. See the docs

Approve Workflow

Suspend the workflow until approved by email. See the documentation

Archive Email

Archive an email message. See the documentation

Bulk Archive Emails

Archive multiple emails at once. See the documentation

Create Draft

Create a draft from your Google Workspace email account. See the documentation

Create Label

Create a new label in the connected account. See the documentation

Delete Email

Moves the specified message to the trash. See the documentation

Download Attachment

Download an attachment by attachmentId to the /tmp directory. See the documentation

Find Email

Find an email using Google's Search Engine. See the docs

Get Current User

Returns the authenticated Gmail user's name, email address, and mailbox stats (total messages and threads). Call this first when the user says 'my emails', 'my inbox', or needs identity context. Use the returned emailAddress to identify the user's own messages in **Find Email** results. See the documentation.

Get Send As Alias

Get a send as alias for the authenticated user. See the documentation

List Labels

List all the existing labels in the connected account. See the docs

List Send as a Delegate Options

Retrieves available options for the Send as a Delegate field.

List Send As Aliases

List all send as aliases for the authenticated user. See the documentation

List Signature Options

Retrieves available options for the Signature field.

List Thread Messages

List messages in a thread. See the docs

Remove Label from Email

Remove label(s) from an email message. See the docs

Send Email

Send an email from your Google Workspace email account. See the documentation

Update Signature for Email in Organization

Update the signature for a specific email address in an organization. A Google Cloud service account with delegated domain-wide authority is required for this action. See the documentation

Update Signature for Primary Email Address

Update the signature for the primary email address. See the documentation

Integration Features

10 documented Salesforce triggers
20 documented Gmail actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported Gmail to Salesforce direction

Capability Examples

Salesforce trigger → Gmail action

Catalog example
SalesforceSalesforce

Case Updated (Instant, of Selectable Type)

GmailGmail

Add Label to Email

Gmail trigger → Salesforce action

Reverse direction
GmailGmail

New Attachment Received

SalesforceSalesforce

Add Contact to Campaign

How It Works

1

Connect Apps

Authenticate your Salesforce and Gmail accounts

2

Choose a Trigger

Select a documented Salesforce event

3

Choose an Action

Select the documented Gmail operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Trigger-driven Workflows

Start the supported direction from one of 10 documented Salesforce triggers.

Automated Actions

Run one of 20 documented Gmail actions after the selected trigger fires.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Select a documented trigger, choose a target action, and map the fields required by the workflow.

Field Mapping

Map the fields exposed by the selected trigger and action, then review the required provider inputs.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Gmail logoSalesforce logo

Reverse Integration Available

Also connect Gmail to Salesforce for bidirectional automation

View Integration
Salesforce logo

All Salesforce Integrations

Explore all available Salesforce connections

View All Integrations
Gmail logo

All Gmail Integrations

Explore all available Gmail connections

View All Integrations

Ready to Connect Salesforce & Gmail?

Build this supported workflow in Mazaal AI and test it with your own provider accounts.

Get Started Free