Score Salesforce Opportunities with Gemini AI

5 min setup
No coding required
Runs automatically

Sales reps update Salesforce opportunities all day, but nobody has time to reread every deal and decide which ones need attention. This workflow sends each new or changed opportunity to Gemini, which rates how likely it is to close, names the main risk and suggests a next step, then writes that back to the opportunity so your team sees it right in Salesforce.

salesforce logo icon
When a Salesforce opportunity changes
salesforce logo icon
Get the opportunity's Salesforce account
gemini icon logo
Gemini scores the deal and suggests a next step
salesforce logo icon
Save Gemini's score and next step in Salesforce

How it works

5 steps to get a Gemini deal score and next step on every Salesforce opportunity

salesforce logo icon

When a Salesforce opportunity changes

App connector: Salesforce • Time to complete: 1 minute

Runs when an opportunity is updated, with its name, stage, amount, close date, description and account.

Skip closed deals

App connector: Filter • Time to complete: 1 minute

Continue only when the opportunity is still open, so Closed Won and Closed Lost deals aren't scored.

salesforce logo icon

Get the opportunity's Salesforce account

App connector: Salesforce • Time to complete: 1 minute

Look up the account on the opportunity to get the company's industry, size and type for context.

gemini icon logo

Gemini scores the deal and suggests a next step

App connector: Gemini • Time to complete: 1 minute

Send the opportunity and account details. Ask for a score from 1 to 10 for how likely it is to close, the single biggest risk in one sentence, and one concrete next step, based only on the data provided.

salesforce logo icon

Save Gemini's score and next step in Salesforce

App connector: Salesforce • Time to complete: 1 minute

Write the score to a custom field such as AI Score, and the risk and next step to the Next Step field or a custom notes field on the opportunity.

Trusted by 1,000+ merchants
Logo: Rothy's Logo: Adidas Logo: Allure Logo: GQ Logo: DraftKings Logo: Chubbies Logo: Made In Cookware Logo: MUD/WTR

Ready to get a Gemini deal score and next step on every Salesforce opportunity

Get setup in 5 minutes.

Use this template →

FAQs

Will this loop forever when it updates the opportunity?

Add a condition that skips updates where only the AI fields changed, or compare the stage and amount with the last run, so Gemini's own update doesn't start the workflow again.

Does Gemini see my whole Salesforce org?

No. It only receives the fields this workflow sends: the opportunity and its account. You choose exactly which fields go in the prompt.

Can I score only new opportunities?

Yes. Switch the trigger to Opportunity Created to score each deal once when it's added, instead of on every change.

Personalize this template

Customize this workflow even further:

Alert on risky deals
Add a Slack or email step that posts low-scoring, high-value opportunities to the sales team.
Score the pipeline weekly
Start from a weekly schedule, query open opportunities, and loop through them so every deal gets a fresh score.

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

get a Gemini deal score and next step on every Salesforce opportunity

5 min setup • Fully supported if you need help