Connectors

/

Salesforce

/

Advance a Salesforce opportunity
Write

Move a Salesforce deal forward with a clean next step

For sales reps who want to update stage, next step and close date and schedule the follow-up in one go, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Advance a Salesforce opportunity
Move the Contoso Platform Renewal opportunity to Negotiation, next step send revised pricing, close date November 14.
Here is the proposed change for Contoso Platform Renewal. - Stage: Proposal to Negotiation - Next step: send revised pricing - Close date: 2026-10-31 to 2026-11-14 - Probability: 60 to 80 percent, the usual figure for Negotiation Shall I update the opportunity? I can then add a follow-up task for Jordan Lee due in 3 business days.
Salesforce
Sample figures. Your results come from your own account.
salesforce-get-opportunity
salesforce-update-opportunity
salesforce-get-user
salesforce-add-task

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Salesforce

Salesforce
Run it on your own Salesforce data.

Connect Salesforce, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Stage changes that leave the forecast behind

Advancing a deal in Salesforce means changing the stage, next step, close date and probability, then creating a follow up task. Reps skip the task, set close dates in the past or move deals backwards by mistake, and the forecast drifts from reality.

Without PopdockAI

  • Open the opportunity and edit several fields by hand
  • Guess the right probability for the stage
  • Enter a close date that has already passed
  • Forget to create the follow up task

With PopdockAI

  • Backward and closing moves need your explicit yes
  • Past close dates are refused and odd probabilities explained
  • Only changed fields are updated after you confirm
  • A follow up task for the owner is offered on a separate yes

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Update the opportunity `{opportunity-name}` to stage `{stage}` with next step `{next-step}`, optionally moving its close date to `{close-date}`, and log a matching follow-up task.

**Step 1: Resolve the opportunity**

Call `salesforce-get-opportunity` with `name` set to `{opportunity-name}`, falling back to `name.contains`. Require exactly one open opportunity; if it is closed, say so and stop.

**Step 2: Sanity-check the change**

* Moving backwards in stage, or to a closed stage, needs an explicit yes from the user.
* A close date in the past is not allowed; ask for a new one.
* If the new stage usually carries a different probability, propose one and say why.

**Step 3: Confirm and update**

Show the current and proposed stage, next step, close date and probability side by side. Show the exact values you will send and wait for the user to confirm before any write. If they change anything, show the revised values and confirm again. Then call `salesforce-update-opportunity` once with `id` and only the changed fields.

**Step 4: Follow-up task**

Resolve the opportunity owner with `salesforce-get-user` by `name`. Offer to create a task whose subject is the next step, due 3 business days from today, what-id the opportunity-id, assigned-to-id the owner. On a yes, call `salesforce-add-task` once.

**Step 5: Report**

What changed on the opportunity, and the task ID if one was created.

**Rules & Guidelines:**

* The only write tools this prompt may call are `salesforce-update-opportunity` (once) and `salesforce-add-task` (once, only after a separate yes).
* Never change amount, account or owner.

**Validation:**

* If either write reports failure, show the error and stop without retrying.

Who it's for

One answer, three teams that use it

Account executives

Update a deal straight after the call

Move the stage and record the next step in one message, with a follow up task set for you.

Move the Fabrikam Analytics Expansion opportunity to Proposal, next step send the draft contract, close date December 5.

Sales managers

Keep stage moves clean across the team

Backward moves, past close dates and odd probabilities are flagged before they reach the forecast.

Advance the Northwind Traders Fleet deal to Closed Won? Show me what would change first.

Sales operations

Fewer forecast corrections

Only the fields that really changed are updated, and amount, account and owner are never touched.

Set the Contoso Data Migration opportunity to Negotiation with next step legal review and add a follow up task for the owner.

How it works

What PopdockAI does when you ask

You say where the deal is going and what happens next, and your AI assistant sanity checks the change in Salesforce. Nothing is sent until you have seen current and proposed values side by side.

01

Ask

You name the opportunity, the new stage and the next step, and optionally a close date.

Your AI tool

02

Check

It finds one open deal and flags backward moves, past close dates and odd probabilities.

salesforce-get-opportunity

03

Confirm

You see current and proposed values side by side and say yes.

No items found.

04

Update

It updates only the changed fields and, on a separate yes, adds a follow-up task.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Salesforce and one secure connection to your AI tool. No code, no exports.

get-data

salesforce-get-opportunity

Returns Salesforce opportunities with their account, stage, amount, probability, close date, next step, owner and whether they are closed or won. Filter by name, account, stage, owner, amount, close date and closed and won flags.
run-action

salesforce-update-opportunity

Updates a Salesforce opportunity's name, account, stage, amount, probability, close date, type, next step or lead source.
get-data

salesforce-get-user

Returns Salesforce users with their role, profile, department, manager, contact details, active flag and last login. Filter by name, username, email, role, profile, department, user type and active flag.
run-action

salesforce-add-task

Creates a Salesforce task with subject, due date, priority, status, assignee, comments and the contact, lead or record it relates to.
Read only.Nothing in Salesforce Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

An honest forecast with a follow up behind every deal

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation