How to connect Clay to Salesforce and write records safely
By the RevenueHoop team · Checked against Clay's docs on 25 Nov 2026
How do you connect Salesforce to Clay?
Clay supports two connection methods. User Sign In is the default: a Salesforce user signs in through OAuth in the browser. Client Credentials is server to server: you create an external client app in Salesforce, point its Run As field at an integration user, and paste the My Domain URL, consumer key and consumer secret into Clay.
| User Sign In | Client Credentials | |
|---|---|---|
| How it signs in | OAuth browser prompt as a Salesforce user | External client app, no browser |
| Needs | A full Salesforce user license | An integration user, and the flow enabled in both Settings and Policies |
| Good for | Getting started, smaller orgs | Admins who want Clay on its own locked-down user |
| Watch out for | Integration User and API Only licenses cannot finish the OAuth flow | Forgetting the org-level Policies toggle, the most commonly missed setting |
Either way, Clay can only read and write what that Salesforce user can. That is a feature. Give the connection its own permission set and leave sensitive fields out of it.
What can Clay do in Salesforce?
Read from list views and reports, look records up (with or without SOQL), and create, update, upsert and convert. That covers almost every RevOps job you would hand an enrichment tool.
| Clay source or action | What to know |
|---|---|
| Import from a list view | Views that cannot be expressed as SOQL are capped at 2,000 records |
| Import from a report | Tabular and matrix reports only, 2,000 records max. Pick unique ID fields or you will get duplicates |
| Lookup records via SOQL | Write SOQL, or describe what you want in plain English and Clay drafts the query |
| Lookup record | A contains search by default, so Acme also finds Acme Corp. Switch on Exact Match when that matters |
| Create record | Respects your duplicate rules unless you switch on Duplicate rule override |
| Update record | Ignore blank values applies to text fields. Blank numbers are dropped either way |
| Upsert object | Create or update in one step |
| Convert lead | Converted status, optional account, contact and opportunity |
What does a clean Salesforce enrichment flow look like?
Match records first, enrich missing fields second, write updates third, and assign ownership last. Run the full sequence against a sandbox before it touches production, because Clay's own FAQ is blunt about this: once Clay updates or creates a Salesforce record, you cannot undo it from Clay.
- 1SalesforcePull the recordsReport, list view or a SOQL lookup
- 2ClayMatch lead to accountLookup, lookup plus formulas, or SOQL
- 3ClayEnrich the gapsOnly rows that are missing or stale
- 4SalesforceUpsert, blanks ignoredPicklists sent as API values
- 5SalesforceAssign and convertRound robin or territory, then Convert lead
How does lead-to-account matching work in Clay?
Clay's docs describe three methods, from simple to strict. Plain Lookup record works when you have a unique key, like a Salesforce account ID or a LinkedIn URL. Lookup record plus Clay formulas pulls several candidates and lets you pick the best one with your own rules. Lookup records via SOQL gives you the most precise matching and acceptance criteria.
We reach for SOQL when domains are messy or parent and child accounts share one, which happens more often than anyone admits. A full guide to lead-to-account matching is on the hub roadmap.
Why are my Salesforce picklist values not updating?
In most cases the issue is value formatting. Salesforce expects the API value rather than the display label, and matching is case sensitive: Technology is not technology. Multi-select picklists use semicolons with no spaces, like Technology;Healthcare;Finance. Commas will not work.
Send an unknown value to a restricted picklist and the row errors. Send it to an unrestricted one and Salesforce creates an inactive picklist value, which often goes unnoticed for a quarter.
Clearing a number field is its own trick. A blank number column is dropped before it reaches Salesforce, so switch the mapping to formula mode with a null fallback, as in Clay's example: {{Employees}} ?? null.
Does it hold up at volume?
Yes. Create record, Update record and Upsert object switch to batch mode automatically when you run them across many rows. Clay uses Salesforce's Composite API, and each record is handled on its own, so one bad row does not sink the batch.
Imports from Salesforce sync every 24 hours by default, and new or changed records can trigger the downstream columns. That is great when you meant it and expensive when you did not, so keep auto-update off until the flow is tested. Our credits guide explains what each step costs in Actions.
What should we build next?
A scored account list the reps trust. Start with the TAM building guide, add a waterfall for contact data, and if HubSpot is in the mix too, read the HubSpot guide. Our Salesforce page shows how we work inside an existing org.
FAQ
Do I need a custom Salesforce object to use Clay?
No. Clay can update any object and any field the connected Salesforce user has access to.
Will Clay create duplicate records in Salesforce?
Not by default. Create record respects your duplicate rules unless you switch on Duplicate rule override. Looking a record up before creating it is still the safer habit.
Can I test Clay against a Salesforce sandbox?
Yes. Connect your sandbox under Settings, Connections, Salesforce Test Env, and run the flow there before production.
Can I undo a Clay update in Salesforce?
No. Once Clay creates or updates a Salesforce record, it cannot be reversed from Clay. Check changes with your Salesforce admin first.
Why do I get OAUTH_APPROVAL_ERROR_GENERIC when connecting?
Common causes are an Integration User or API Only license, Clay's connected app not being pre-approved, SSO enforcement, or a missing Approve uninstalled connected apps permission. A full user license, or the Client Credentials method, usually fixes it.
How often does Clay sync Salesforce imports?
Every 24 hours by default. New or updated records can trigger enrichment and export columns, which you can control by turning auto-update on or off for the table.
Sources
Clay ships fast. We checked every fact here against Clay's own documentation on 25 Nov 2026. If a screen looks different in your workspace, Clay's docs win.
Keep reading
Interested in implementing Clay properly?
We are a RevOps and GTM engineering agency, a Clay Advanced Artisan and one of Clay's first 100 partners. Founded by former in-house RevOps at Oyster ($1B). We build inside your HubSpot or Salesforce, then hand it over.
