Gmail + Salesforce Integrations
Email, CRM (Customer Relationship Management)
Build Gmail and Salesforce automations with your AI agent. Run them on Zapier.
- apps to connect
- 10,000+
- ways to start a workflow
- 17
- available app actions
- 48
- Dependable AI workflows
- Full audit trails and controls
- Easy visual workflow manager
- Free tier available
- SOC 2 Type II, SOC 3, GDPR, and CCPA compliant
Top teams trust Zapier to automate work
Connect Gmail and Salesforce to your AI agent with Zapier MCP
Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with Gmail and Salesforce and runs them—all with your credentials managed by Zapier and kept out of the model.
Install Zapier MCP in this AI tool and help me sign in to Zapier or sign up. Then connect my Gmail and Salesforce accounts and help me build a Zap with Gmail and Salesforce: ask me what I want to automate. Start by reading https://zapier.com/AGENTS.md.
Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build Gmail and Salesforce automations.
https://mcp.zapier.com/api/v1/connect
Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.
npm install @zapier/zapier-sdk npm install -D @zapier/zapier-sdk-cli npx zapier-sdk login
Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.
npx @zapier/install-zapier
Run this command to print setup instructions for your client, then follow the prompts to sign in.
Ask your AI agent to do it
Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.
Wire it into your own code
Connect your agent to Gmail, Salesforce, and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.
Set it up from your terminal
Tell your coding agent to run one command. It installs Zapier MCP so your agent can use Gmail, Salesforce, and other apps.
Popular Gmail and Salesforce integrations
Use a premade Gmail and Salesforce automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.
Gmail and Salesforce triggers and actions
With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the Gmail and Salesforce triggers and actions you can build with right away.
New Attachment
Triggers when you receive a new attachment. Each check only finds emails received in the last hour, so attachments on older emails will not trigger, even if they appear in test results.
New Label
Triggers when you add a new label.
New Labeled Conversation
Triggers the first time a label is added to a conversation. Replies within that conversation will not trigger again.
New Labeled Email
Triggers when an email is labeled. Also triggers when a reply is added to the conversation.
New Email
Triggers when a new email appears in the specified mailbox. Each check only finds emails received in the last hour, so older emails moved into the mailbox or label will not trigger, even if they appear in test results. To trigger on older emails you label, use New Labeled Email.
New Email Matching Search
Triggers when you receive a new email that matches a search string you provide. Each check only finds emails received in the last hour, so older emails that match later (for example, after you label them) will not trigger, even if they appear in test results. To trigger on older emails you label, use New Labeled Email.
New Starred Email
Triggers when you receive a new email and star it within two days.
New Conversation
Triggers when a new email conversation begins in your inbox. Each check only finds conversations with an email received in the last hour, so older conversations moved into a label will not trigger, even if they appear in test results. To trigger on older conversations you label, use New Labeled Conversation.
Frequently asked questions about automating with Gmail and Salesforce
How do I integrate Gmail with Salesforce?
To integrate Gmail with Salesforce, you can use automation tools such as Zapier. You need to set up a trigger in Gmail, for instance, when a new email is received, and define an action in Salesforce, like creating or updating a record.
What are the prerequisites for integrating Gmail with Salesforce?
Before setting up the integration between Gmail and Salesforce, ensure that you have accounts in both platforms. Additionally, allow access for third-party applications permissions on both services to utilize their APIs effectively.
Can I automatically create Salesforce leads from Gmail emails?
Yes, using our platform, you can configure a trigger for new emails in Gmail to automatically create a lead in Salesforce. Specify criteria like the email sender or subject line to filter relevant emails.
How can I ensure data accuracy when syncing Gmail and Salesforce?
To ensure data accuracy during synchronization between Gmail and Salesforce, use built-in filters and formatting options provided by our platform to match fields correctly. Regularly test your integration setup to monitor its performance.
Is it possible to customize which email data gets sent to Salesforce?
Yes, it is possible. Our platform allows customization of the email fields that are transferred from Gmail to Salesforce. You can select specific elements like sender information, subject lines, or body content based on your requirements.
What kind of triggers can I set up in this integration?
Various triggers can be set up such as receiving a new email in a specific label or inbox in Gmail which can initiate actions like creating a task or note in Salesforce. These triggers help streamline your workflow automation processes.
Are there any limitations when integrating Gmail with Salesforce through Zapier?
Integrating through our platform may have limitations related to API call usage limits from either service provider. Ensure your expected usage falls under the allowable limits by checking Google’s and Salesforce’s documentation.
My AI agent already connects to my apps. Why add Zapier?
Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.
Can’t my AI agent already run tasks on a schedule?
Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.
Why not have my AI agent write me a script?
You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.
Point your AI agent to this page’s markdown file to build Gmail and Salesforce automations. It covers how each app connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI.
About Gmail
One of the most popular email services, Gmail keeps track of all your emails with threaded conversations, tags, and Google-powered search to find any message you need.
About Salesforce
Salesforce is a leading enterprise customer relationship manager (CRM) application.
Related categories: CRM (Customer Relationship Management)

