Claude on Salesforce through business actions, with a preview before every write
Instead of raw database access, a company gives Claude about fifty specific Salesforce actions, from quotes to time off. Each person uses their own permissions and every change is shown before and after for approval.
Curated by Andrew Donato, Editor. Reviewed .
Get one setup like this every Thursday, by email.
Written for sales leaders running leaner teams.
Free. One email a week. Unsubscribe anytime.
Paste this into ChatGPT, Claude or your agent tool. See the prompt
- Pipeline Hygiene / CRM
- advanced
- RevOps
- Sales leader
- AE
- Category
- Pipeline Hygiene / CRM
- Difficulty
- Advanced
- Est. cost
- Not stated by source; you pay for Claude seats, hosting and the build
Works with
What problem does this solve?
The CRM holds most of the company's operations, but reps put off updating it, finance reconciles payments by hand and everyone avoids the forms. A general-purpose AI connector sees objects and fields, not the business rules behind them, so letting it write is risky.
How is the agent set up?
Marion Agé, CEO of the French consulting cooperative Tilia, describes the custom MCP server her team built so staff can work in their Salesforce through Claude in plain language. Rather than exposing the database, the server offers around fifty business actions shaped around how the company works: create an opportunity (checking validation rules and likely duplicates first), build a quote from the product catalog and show what signing will trigger, find who is available for staffing, match bank transfers to open invoices, book time off, fill in timesheets and sign up for events. Before steering meetings each rep runs a review that lists contracts to renew, signed deals not yet staffed, idle opportunities and quotes to chase, then offers to fix each item one at a time. Everyone connects with their own Salesforce login and permissions are checked on every call; credentials never reach the model, and private fields such as absence reasons are removed before any response goes to Claude. Every change goes through a preview of before and after, and the write needs a single-use token from that preview that expires within minutes; if the record changed in between, a new preview is required. Nothing is deleted (records are archived or marked lost) and nothing goes to a client without a person. A read-only free search covers questions no action handles, and those searches show which needs deserve a proper action next. On payment matching, Agé writes: "If anything is off, it rejects the whole list rather than record something approximate." The prompt below is our starter version of the pre-meeting review.
What prompt does it use?
Starter prompt by The GTM Agent Weekly, written from the setup described on this page. It is not the source's own prompt; see the source link below for their write-up.
# ROLE
You prepare a sales rep's CRM review before the weekly pipeline or steering meeting. You can read records and propose changes, but every change is shown to the rep and saved only after they approve it.
# INPUTS
- {{REP_NAME}} and {{SCOPE}}: the accounts and opportunities this rep owns.
- {{TODAY}}: today's date.
- {{IDLE_DAYS}}: how many days without activity counts as idle.
- {{RENEWAL_WINDOW}}: how far ahead to look for contracts up for renewal.
- {{RULES}}: fields that must never be edited, validation rules and any write limits.
# TASK
1. List, for {{SCOPE}} only: contracts renewing within {{RENEWAL_WINDOW}}, signed deals with no project or kickoff set up, opportunities idle for more than {{IDLE_DAYS}} days, and sent quotes with no follow-up.
2. Put items that became due this week first. Put older items in a separate "backlog to catch up" section instead of marking them overdue.
3. For each item, propose one concrete fix (a field update, a next step, a follow-up task) and show the record before and after.
4. State who "you" are at the top so the rep can confirm the review covers the right person.
# OUTPUT FORMAT
- "This week": numbered items, each with the record, why it is flagged and the proposed change (before and after).
- "Backlog to catch up": same format, shorter.
- "Could not check": anything the data does not hold, said plainly.
# GUARDRAILS
- Never save a change without the rep's explicit approval of that specific change.
- Never delete; archive or mark lost instead.
- If a value is not in the CRM, say so. Do not estimate it.
- Never contact a customer. Replace every {{PLACEHOLDER}} before running. Works with any capable LLM and runner.
Get 5 setups like this every week, free.
Real agent setups with prompts, sources and failure modes, in one short weekly email.
Free. One email a week. Unsubscribe anytime.
What tools does it use?
How do you set it up?
- List the jobs people avoid doing in the CRM (opportunity updates, quotes, payment matching, time off, timesheets, events) and design one business action per job instead of raw object access.
- Have each person connect with their own Salesforce login so every call runs under their permissions, and keep credentials on the server, encrypted and short-lived.
- Strip sensitive fields on the server before any response reaches the model.
- Make every write a two-step call: a preview of before and after, then a write that needs the single-use token from that preview; require a new preview if the record changed.
- Replace deletes with archive or lost, and keep any message to a customer behind a person.
- Add a read-only free search for unplanned questions and use its log to decide which action to build next.
What results are reported?
No numbers are claimed. The author describes reps updating records and running their pre-meeting review in conversation, finance matching transfers to invoices to the cent, and staff filling in timesheets from their calendar and work history.
What goes wrong
Where does this break?
- The first pre-meeting review showed one rep about a hundred alerts, most older than the tool, which was discouraging; the review now shows the current week first and the backlog separately.
- Asked who was off today, the agent once answered "you are" because a colleague shared the same name; every list of people now states who "you" are.
- Leave balances are not stored in their Salesforce, so the tool was taught to say so plainly rather than invent a number.
- The official Salesforce MCP is general-purpose and does not know custom objects or internal rules, which is why they built their own.
- Fifty custom actions is a software project to build and maintain; start with the two or three jobs people avoid most. (editor note)
- The author's firm sells this kind of build, so treat the write-up as a design reference rather than proof of results. (editor note)
This is where most teams get stuck. Want us to handle the setup?
Source and credit
Marion Agé, Tilia · vendor
Source dated 2026-10-26 · last reviewed 2026-10-28. Summarized in our own words; see the source for details.