SalesForce +

Gemini

Integration

Connect Gemini
to Salesforce

Call Gemini from Flow, process selected records on a schedule, or build a workflow that continues when a Gemini job finishes. Configure it in Salesforce with Declarative Webhooks.

Free tier available

2.500+ installs

Setup in <30 min

Google Gemini Logo

Gemini

Salesforce

Google Gemini Logo

Gemini

Salesforce

Integrations

Popular ways to use the Salesforce + Gemini integration.

SalesForce

Gemini

Gemini

SalesForce

SalesForce

Gemini

Gemini

SalesForce

No actions found
No actions found
No actions found

Overview

How the Salesforce + Gemini integration works

Use Declarative Webhooks to send Salesforce data to the Gemini API and map the response to your records. Run requests from Flow or on a dedicated schedule. For supported long-running jobs, use Gemini’s completion webhook to trigger a follow-up request for the results.

Salesforce

Declarative Webhooks

Google Gemini Logo

Gemini

Send prompts and submit jobs.

Configure mappings and review call logs in Salesforce.

Receive completion events for supported jobs.

Salesforce

Google Gemini Logo

Gemini

Declarative Webhooks

Send prompts and submit jobs.

Configure mappings and review call logs in Salesforce.

Receive completion events for supported jobs.

How It Works

Three steps to go live.

01

Connect the Gemini API

Create a Gemini API key in Google AI Studio using your Google Cloud project. Connect it to your Callout Template through a Salesforce Named Credential.

01

Connect the Gemini API

Create a Gemini API key in Google AI Studio using your Google Cloud project. Connect it to your Callout Template through a Salesforce Named Credential.

02

Map the response to Salesforce

Test with a sample Case. Ask Gemini for a short summary and a suggested category, then map each value to its own Case field.

02

Map the response to Salesforce

Test with a sample Case. Ask Gemini for a short summary and a suggested category, then map each value to its own Case field.

03

Choose when it runs

Invoke the template from Flow or create a dedicated scheduled job with its own record filter. Test the workflow and review the call logs before activating it.

03

Choose when it runs

Invoke the template from Flow or create a dedicated scheduled job with its own record filter. Test the workflow and review the call logs before activating it.

The Platform

Why build it with Declarative Webhooks.

1

Summarize Cases from Flow

Send the Case subject and description to Gemini. Save a short summary and suggested category for an agent to review.

2

Schedule work for selected records

Run a dedicated job each evening to find closed Cases missing a resolution summary. Choose the schedule, record filter, and callout template.

3

Continue when Gemini finishes

For supported background jobs, store the job ID and use the completion event to trigger a follow-up request for the results.

4

Map results to the right fields

Save structured output to separate Salesforce fields so Flow can validate a suggested category before routing a Case.

5

Reuse the same callout template

Configure the request and response mapping once. Run the template from Flow or a dedicated scheduled job.

6

Build your Gemini workflow

A fixed AI action may miss the input or output your workflow needs. Configure supported Gemini API requests and map the results into your Salesforce fields and business rules.

Compatibility

Compatibility & Requirements

Salesforce

Salesforce

Works across major Salesforce clouds

Works across major Salesforce clouds

Enterprise, Unlimited, and Performance editions

Enterprise, Unlimited, and Performance editions

Declarative Webhooks package required

API access for authenticated inbound webhooks

API access for authenticated inbound webhooks

Optional Agentforce and Salesforce MCP Server support

Optional Agentforce and Salesforce MCP Server support

Salesforce Essentials

Salesforce Essentials

Google Gemini Logo

Gemini

Text generation

Structured outputs on supported models

Batch jobs and background interactions

Model selection

API key authentication

API billing and usage quotas

Poll batch jobs for completion

Google Gemini Logo

Gemini

Text generation

Structured outputs on supported models

Batch jobs and background interactions

Model selection

API key authentication

API billing and usage quotas

Poll batch jobs for completion

FAQ

Common questions about the Salesforce + Gemini integration.

Why use Declarative Webhooks if Flow already has HTTP Callout?

Can I run Gemini requests on a schedule?

Can Gemini tell Salesforce when a long-running job finishes?

How do I connect Salesforce to the Gemini API?

Can I map one Gemini response to multiple Salesforce fields?

What Salesforce data gets sent to Gemini?

Build your Gemini workflow in Salesforce

Install Declarative Webhooks on AppExchange.

Omnitoria helps Salesforce customers, admins and developers build and scale faster.

© 2026 Omnitoria. All rights reserved.

Build your Gemini workflow in Salesforce

Install Declarative Webhooks on AppExchange.

Omnitoria helps Salesforce customers, admins and developers build and scale faster.

© 2026 Omnitoria. All rights reserved.

Build your Gemini workflow in Salesforce

Install Declarative Webhooks on AppExchange.

Omnitoria helps Salesforce customers, admins and developers build and scale faster.

© 2026 Omnitoria. All rights reserved.

Create a free website with Framer, the website builder loved by startups, designers and agencies.