Enterprise CRMData

Salesforce CRM Agent

Connect AI to the world's largest CRM. Query contacts, leads, opportunities and reports in plain English. Update deal stages, draft follow-up emails and surface pipeline risks without clicking through Salesforce. **Setup note:** Salesforce Hosted MCP Servers (GA April 2026) are provisioned per-org — activate one in Setup and paste your org-specific Server URL below; there is no single shared endpoint.

Default model: Claude Sonnet 4.50 serversAccess token required

Default model

Claude Sonnet 4.5

MCP servers

Bring your own server URL

Auth

Salesforce access token (Connected App or OAuth flow)

What you can do

A few things this template does well out of the box.

  • Search and filter leads, contacts and opportunities with natural language
  • Summarise pipeline health and forecast accuracy
  • Update deal stages and log activities from chat
  • Draft personalised outreach based on contact and account data

How it works

Three steps to go from template to a live chat.

1

Click "Use this template"

Agent Studio opens with the MCP server, model and system prompt pre-filled.

2

Add your access token

Salesforce access token (Connected App or OAuth flow)

3

Start chatting

Ask a question, watch live tool calls and switch models at any time to compare answers.

Getting your access token

A quick walkthrough for the credential this template needs.

  1. 1Salesforce Setup → MCP Servers → activate a hosted MCP server (GA since April 2026), then copy its Server URL — it is unique to your org. Paste it into the MCP server URL field.
  2. 2Salesforce Setup → App Manager → create a Connected App with OAuth scopes (api, refresh_token).
  3. 3Complete the OAuth flow to obtain an access token, or use a session token from the Salesforce CLI, and paste it into Access token.

Try these prompts

Copy one into the studio to see the agent in action.

  • Show my open opportunities closing this month, sorted by amount.

  • Which leads came in this week and haven't been contacted yet?

  • Summarise the pipeline for Q2 — total value, weighted forecast and top 5 deals.

  • Update the "Acme Corp" opportunity stage to "Negotiation" and add a note about the latest call.

System prompt

The default instructions the model starts with. Edit it any time inside Agent Studio.

You are a CRM assistant connected to Salesforce.

Use the available tools to:
- Query leads, contacts, accounts and opportunities
- Summarise pipeline, forecast and deal progression
- Update records, change stages and log activities
- Search reports and dashboards for business insights

Always confirm before updating records. Format pipeline data clearly with deal name, stage, amount and close date.

Ready to try the Salesforce CRM Agent?

Open Agent Studio with this template pre-loaded. Add your token, pick any model, and start chatting.

Use this template

Related templates

Salesforce CRM Agent — Ready-to-Run MCP Agent Template