Skip to content

Salesforce MCP: deploy CRM jobs from your agent

Connect Whenever's MCP server to Claude Code, Cursor or Codex and ask your agent for a Salesforce job that should happen on its own: a Monday list of open opportunities nobody has touched, a daily import of event sign-ups as leads, a month-end summary of closed-won deals. The agent builds the workflow, tests it and deploys it on Whenever. The workflow reaches Salesforce through Whenever's managed Salesforce connection and runs on a schedule, on a webhook or on demand, without the chat.

No credit card needed.

Connect Whenever to Claude Code

claude mcp add --transport http whenever https://mcp.whenever.dev

Using Cursor, Codex or another client? See the setup for every client.

Salesforce access goes through its REST API, and most of the reading is done with SOQL queries: Opportunity where IsClosed is false and LastActivityDate is older than 14 days, or Lead where Email matches a sign-up. Your brief can say this in plain words and the agent writes the query. API access depends on the edition: Enterprise, Unlimited and Developer editions include it, while some smaller editions need it added.

Each org has a daily allocation of API requests shared by every integration that uses it, so a workflow should ask for the fields it needs and use one query for many records rather than one call per record. Before creating a lead or contact, search for an existing record with the same email so the daily import does not fill the org with duplicates. Validation rules and required fields in your org apply to records a workflow creates, just as they do in the Salesforce interface.

The workflow acts as the user who connected Salesforce, so it sees the records that user's profile and sharing rules allow. Use a user whose access matches the job: a report on the whole pipeline needs read access to every owner's opportunities, while a lead import needs permission to create leads and nothing more.

Salesforce jobs to ask your agent for

Starter briefs to configure with your accounts, not preconfigured workflows.

Monday list of stale opportunities

One SOQL query, grouped by owner, so sales managers see deals that have gone quiet.

Build this workflow

Import event sign-ups as leads

Reads a sign-up sheet daily and creates only the leads that are new.

Build this workflow

Month-end closed-won summary

Totals the previous month by owner in a dated sheet tab, keeping currencies separate.

Build this workflow

Salesforce workflow templates

Salesforce MCP FAQs

Is Whenever the official Salesforce MCP server?

No. Whenever is not affiliated with Salesforce and is not its MCP server. Whenever's MCP server lets your coding agent build, test and deploy workflows. Each workflow reaches Salesforce through Whenever's managed Salesforce connection.

Does the Salesforce workflow keep running after I close the chat?

Yes. Once deployed, it runs on Whenever on its schedule, webhook or when you start it. No chat open, laptop closed. Connection requirements, Salesforce permissions and any AI usage still apply.

Which Salesforce editions can a workflow connect to?

Editions that include API access, such as Enterprise, Unlimited and Developer. If your edition does not include the API, Salesforce offers it as an add-on for some plans; check with your Salesforce account team.

Will a workflow use up my org’s API requests?

It uses some of the daily allocation shared by every integration in the org. A workflow that queries many records at once and asks only for the fields it needs uses far fewer requests than one that reads records one at a time.

More about Salesforce on Whenever