Use the Salesforce for Gemini integration in Gmail

Important: This feature requires an eligible Google Workspace subscription. Learn about Gemini features and plans.

To get information and find records from Salesforce directly, use the Salesforce for Gemini integration in Gmail.

Learn how the Salesforce for Gemini integration works

  • After you install and link the integration to your Salesforce account, Gemini in Gmail might detect when you receive a message from a potential customer.
  • When you open the message, below the subject line, you get a “Take action on this sales inquiry” suggested prompt.
  • The Salesforce for Gemini integration is only available:
    • For eligible Workspace accounts.
    • In English.

Set up the Salesforce integration

Important: To use the integration, your Salesforce administrator needs to give your organization access to it. If you can’t install the integration, contact your administrator.

  1. On your computer, open your browser.
  2. Install the Salesforce integration and connect to your Salesforce account.
  3. Open the integration.

Ask Gemini in Gmail for help with Salesforce tasks

  1. On your computer, open Gmail.
  2. At the top right, click Ask Gemini .
  3. To get help with a task, enter a prompt.
    • If you have a relevant message open, enter:
      • “View this opportunity in Salesforce”
      • “View this lead in Salesforce”
      • “View this contact in Salesforce"
    • If you’re in the main Gmail inbox view, or have an unrelated message open, enter:
      • “View [lead name] in Salesforce”
      • “View my [opportunity name] opportunity in Salesforce”
      • “Show me the [account name] account in Salesforce”

Tips:

  • To use the Salesforce in Gemini integration, in your prompt, include the text “in Salesforce.”
  • To manually find any info about the company and draft a reply:
    1. On your computer, open Gmail.
    2. At the top right, click Ask Gemini .
    3. To find Salesforce information, use the prompt: “@Salesforce find info on [product or company].”
      • Gemini in Gmail provides a response.
    4. To draft a reply with Gemini, use the prompt: “Draft a reply using this info.”

Salesforce for Gemini FAQs

How do I troubleshoot the Salesforce for Gemini integration?

Important:

  • The Salesforce for Gemini integration can’t search encrypted fields in Salesforce.
  • If your Salesforce configuration has complex validation rules for leads or new contacts, you may get an error message in Gemini in Gmail. In this case, you can click Do in Salesforce and finish entering the data.

If you receive an error when you use the Salesforce for Gemini integration, or the prompt fails to generate a response, you can:

  • Try the prompt again.
  • Refresh Gmail and then try again.
If you still have issues with the integration, contact your administrator.
Why do I only get some of the options described on this page?
  • Suggested prompts only appear in Gmail on the web. They don’t appear in the Gmail app for Android, iPhone, and iPad.
  • If you think a message is a sales lead, but you don't get the Take action on this sales inquiry suggested prompt:
    • In Gmail, at the top, click Support Help & Feedback and then Send feedback to Google.
    • To enter your feedback, follow the on-screen instructions.
How do I link another Salesforce account?

If you have more than one Salesforce account and want to link a different one:

  1. In your browser, go to https://myaccount.google.com/security.
  2. In the “Your connections to third-party app & services” card, click See all connections.
  3. Click Salesforce and then Delete all connections you have with Salesforce.
  4. In the pop-up, click Confirm.

After you delete the connection with Salesforce:

  1. In Salesforce, sign in to the Salesforce account that you want to use.
  2. In the Gemini in Gmail side panel, enter “Help me use the Salesforce integration” to trigger the account linking flow.
  3. To link your accounts, follow the on-screen instructions.

Related resources

Search
Clear search
Close search
Main menu
13362936773178481929
true
Search Help Center
false
true
true
true
true
true
17
false
false
false
false