Connect Hubspot to Salesforce
Automate Hubspot and Salesforce with AI
Teams moving between HubSpot and Salesforce, or running both during a transition, need the same contact not duplicated three different ways. Your Operator agent on OpenClaw can match records across both systems, copy fields and activity when you approve a sync, and flag conflicts when email or owner disagree. Tell it to migrate a segment and it creates or updates rows in the destination CRM from the source list.
It reaches both apps directly or through connectors like Composio MCP and Pipedream MCP, which handle the sign in and token refresh, so there is no Zap to build and no API keys to paste.
What your agent can do with Hubspot and Salesforce
What your agent does in Hubspot
Add asset association
Associates an existing asset ('FORM', 'OBJECT_LIST', or 'EXTERNAL_WEB_URL') with a specified HubSpot marketing campaign.
Add token to event template
Adds a new custom data token to an existing event template for a specified HubSpot application, optionally populating a CRM object property if objectPropertyName is provided.
Archive batch of feedback submissions by id
Asynchronously archives a batch of HubSpot feedback submissions using their unique IDs, which must correspond to valid and existing submissions; the operation is queued, and submissions are moved from active views without being deleted.
Archive batch of line items by id
Archives a batch of existing line items by their unique IDs in HubSpot CRM; this operation is irreversible via the API.
Archive batch of objects by id
Archives a batch of existing, non-archived CRM objects of a specified `objectType` by their IDs, effectively hiding them from active use.
Archive batch of properties
Archives a batch of properties by their internal names for a specified HubSpot CRM object type; this operation is idempotent and safe to retry.
What your agent does in Salesforce
Add contact to campaign
Adds a contact to a campaign by creating a CampaignMember record to track campaign engagement. Fails if the contact is already a member of the campaign; pre-check membership via SOQL before calling.
Add lead to campaign
Adds a lead to a campaign by creating a CampaignMember record, allowing you to track campaign engagement. Both `campaign_id` and `lead_id` must be valid Salesforce IDs of active, existing records — names or emails cannot be substituted,...
Add product to opportunity
Adds a product (line item) to an opportunity. The product must exist in a pricebook entry that's associated with the opportunity's pricebook.
Apply lead assignment rules
Applies configured lead assignment rules to a specific lead, automatically routing it to the appropriate owner based on your organization's rules. Allow a brief propagation delay before querying updated ownership or field values after ru...
Associate contact to account
Associates a contact with an account by updating the contact's AccountId field. Overwrites any existing AccountId on the contact. For broader contact field updates alongside the account association, use SALESFORCE_UPDATE_CONTACT instead.
Clone opportunity with products
Clones an opportunity and optionally its products (line items). Creates a new opportunity with the same field values and products as the original.
How it works
Tell the agent what you want to happen between Hubspot and Salesforce, for example to watch one and act in the other, or to keep the two in step. It reads what it needs from Hubspot, works out what to do, and runs the matching action in Salesforce without you mapping a single field.
You can have it run once, on a schedule, or whenever something changes. Ask it for a status any time and it reads the latest from both apps back to you in the same chat.
Common questions about Hubspot and Salesforce
- How do I connect Hubspot and Salesforce to Operator?
- You authorize Hubspot and Salesforce once each from your Operator dashboard. Operator holds both connections and refreshes the access tokens for you, so your agent keeps working across them without you signing in again.
- What can my agent do across Hubspot and Salesforce?
- You describe the outcome in plain language and your agent works between the two, reading from one and acting in the other. It picks the right Hubspot and Salesforce actions on its own, so you do not map fields or pick triggers.
- Can my agent keep Hubspot and Salesforce in sync?
- Yes. It can watch Hubspot and act in Salesforce, or keep both in step, reading from one and running the matching update in the other. This runs on demand when you ask or on a schedule you set.
- Do I need to build a workflow or write code?
- No. There is no workflow to build, no fields to map, and no API keys to paste. Operator manages both connections, and you give the agent instructions in plain language.
Hubspot and Salesforce integrations
Put your agent on Hubspot and Salesforce
Sign in, connect both apps, and hand your agent the work. The same setup reaches every app in the catalog. Your first week is free.
Try for free