Connect your CRM
A CRM Agent checks your CRM first, then creates, updates and assigns records the way you asked. Add the step to a workflow. It sits under AI Agents.
This is not a two-way sync. Surface is where leads are captured and scored. Your CRM stays the system of record for the deal. The agent writes to the CRM. It does not copy CRM values back onto the Surface lead.
Connect the CRM
Pick HubSpot, Salesforce or Attio. Connect it with access that matches what you want the agent to touch. HubSpot can also be connected from a HubSpot action in the workflow builder: Connect, accept the invite, then Connect App. See HubSpot, Salesforce and Attio.
Define the instructions
Write, in plain language, what the agent should do each time it runs: when to create and when to update, how to spot duplicates (for example by work email, then company domain), which fields to write, and who should own the record. Start from a template if one fits. Anything the instructions leave out, the model decides. No built-in rule settles a conflict.
Test and visualise
Run it against a sample lead and read what it would do before it runs for real. The sample is generated and you can edit any field. During the test, reads go to your live CRM. Creates and updates are logged and not sent.
What the test shows
Each action is marked as one of these:
| Kind | Means |
|---|---|
| Read | A live lookup, such as finding a contact or the owners. Round-robin and form-routing owner picks are previewed here without moving the rotation on. |
| Create | A record the agent would create. |
| Update | A record the agent would change. |
The run ends with Preview complete and a count of live reads and logged changes. Nothing is written to the CRM. Read the Update rows first. They are the only ones that can write over something a person entered by hand.
Deciding what to allow
- Start with the blanks. Let it create records and fill gaps before you let it change existing values.
- Scope the objects. Contacts and companies are lower stakes than deals.
- Name the fields. An agent told to keep everything current churns fields nobody reads.
- Re-test after every change. A bad instruction running across the whole database is expensive to undo.
What the agent receives
The lead's attributes, the form answers, URL parameters and where the lead came from. On HubSpot it also gets the lead score and its reasoning, which it can write to a property or use as a threshold if your instructions say so.
| CRM | What it can write |
|---|---|
| HubSpot | Contacts, companies, deals, owners, notes and lifecycle stage. It can enrol a contact in a sales sequence. |
| Salesforce | Contacts, accounts, opportunities, tasks, owners and custom objects. There is no Lead object. |
| Attio | People, companies, deals, notes, tasks and owners |
Round-robin owner assignment is available on HubSpot and Salesforce.
HubSpot workflow actions also include Create Contact, Create or Update Contact, Create Company, Create Form Response, Create Deal, Get Owner, and HubSpot AI Agent. See HubSpot.
To read data the other way, the HubSpot MCP tools are read-only lookups against a connected HubSpot account: companies, contacts, open deals, owners, pipelines and recent activity.