Connect Gmail to Salesforce
Ideas
What you can do with Gmail and Salesforce
Get a weekly email of your team's Salesforce activity
Every Monday you get an email showing each rep's tasks, meetings, deals moved and revenue won last week, with short coaching notes.
See how it worksGet a weekly email of customers at risk of leaving
Each week you get an email listing customers whose health looks poor, with a score, the reason and how it changed since last week.
See how it worksTurn enquiry emails into Salesforce leads
Emails you label Leads in Gmail become Salesforce leads with the contact details filled in, and are moved out of the way.
See how it worksGet an email when deals start to stall
Each day you get an email listing newly at-risk deals, with the warning signs for each.
See how it worksGet a monthly strategy brief for your key accounts
Each month you get an email with upsell gaps, competitor risks and a suggested next move for each of your top accounts.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with Gmail and Salesforce, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any Gmail and Salesforce automation you can describe
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
For example, ask your assistant
Create Salesforce leads from sales@ emails only when AI judges the email to be a real buying inquiry, and skip vendors and newsletters.
For opportunities in Negotiation with no activity for 7 days, create a Gmail draft to the primary contact and a Salesforce task for the owner.
Use cases
Why people connect Gmail and Salesforce
How the two apps work together
- ClickRuntime checks Gmail every few minutes for emails matching a label or sender and creates leads, tasks or activities in Salesforce.
- Salesforce is queried on a schedule, and Gmail emails or drafts are created from the results.
- Contacts and leads are matched by email address.
Log customer emails to Salesforce
Account executives need email history on accounts. Emails from customer domains are logged as activities on the contact.
Leads from inbound emails
Small sales teams get leads at sales@. Each new sender becomes a Salesforce lead with the email as a note.
Pipeline reports by email
Managers get a weekly Gmail report of opportunities closing this month and changes since last week.
Follow-up drafts for stalled deals
Reps get Gmail drafts for opportunities with no recent activity, written from the opportunity details.
More apps
Gmail, Salesforce and other apps in one automation
Inbound email leads with Slack alert
When an email arrives at sales@, create a Salesforce lead and post the sender, company and summary to #sales on Slack.
Meeting prep emails
Before each Google Calendar meeting with an external guest, email me the guest's Salesforce account, open opportunities and recent cases.
Email activity report
Every Friday, write to a Google Sheet how many customer emails were logged to Salesforce per account this week.
Setup
Connect Gmail and Salesforce once
Gmail
- At console.cloud.google.com, create a project and enable the Gmail API under APIs & Services → Library.
- Set up the OAuth consent screen. On Google Workspace choose Internal. On a personal Gmail account choose External, then under Audience click Publish app so it is In production, not Testing.
- Under Data Access, add the scopes you need, such as
https://www.googleapis.com/auth/gmail.modify, orgmail.sendif you only want to send. - Under Clients, create an OAuth client of type Web application with the redirect URI
https://clickruntime.com/oauth/callback. - In the ClickRuntime dashboard, open Connections, choose Gmail and enter the client ID and secret. On a personal account Google shows an unverified-app screen: click Advanced, then go to your app.
Salesforce
CRM
- In Salesforce, go to Setup, then External Client App Manager (or App Manager), and create a new External Client App.
- Enable OAuth, set the callback URL to
https://clickruntime.com/oauth/callback, and add the scopesapiandrefresh_token offline_access. - Under OAuth policies, set the refresh token policy to valid until revoked and choose who may use the app. Make sure the user has the API Enabled permission.
- In the ClickRuntime dashboard, open Connections, choose Salesforce and enter your app's Consumer Key and Consumer Secret.
FAQ
Questions about connecting Gmail and Salesforce
Which address are the reports sent from?
Can it read only some of my emails?
Can the reports go to my whole team?
Does it change anything in Salesforce?
Can it attach emails to opportunities?
Does it work with Google Workspace addresses?
Will it create duplicate leads?
Related pages
Keep exploring
Tell your assistant what Gmail and Salesforce should do together
Free plan. No credit card.