> ## Documentation Index
> Fetch the complete documentation index at: https://doc.super-flow.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect your CRM

> Connect HubSpot, Salesforce, Attio or folk so the people you find and reach go into your CRM as contacts and companies, with what happened in the conversation.

Connect your CRM to SuperFlow, and the people you find and reach go into it as contacts and companies, with what happened in the conversation where your CRM supports it.

> [!TIP]
>
> **Give this to your AI assistant** (with the [SuperFlow connector](https://doc.super-flow.io/kb/ai/connect-your-ai-assistant.md)) once the CRM is connected in the app:
>
> "Using the SuperFlow connector: list my CRM connections and their status. For the table 'SaaS finance leaders', read the fields of my HubSpot connection and propose a Send to CRM column that maps first name, job title and company name to the matching HubSpot properties. Show me the column before you create it, and do not run it."

## What does a CRM connection do in SuperFlow?

A CRM connection lets SuperFlow write to one account of your CRM (a HubSpot portal, a Salesforce org, a Pipedrive company, an Attio workspace, a GoHighLevel location or a folk member's key). SuperFlow uses it three ways:

1. **Send to CRM**, a column of a table, creates or updates one CRM record per row: a person row becomes a person in the CRM, a company row a company. The cell keeps the CRM's record id, and the person or company in SuperFlow remembers it.
2. **The timeline**: on HubSpot, Pipedrive, Salesforce and folk, outreach lands on the person's record as it happens, once a switch on the CRM's card is on, and a status of yours moves with the conversation.
3. **A CRM list** fills a table and keeps it in sync: a HubSpot segment, a Pipedrive saved filter, a Salesforce campaign or list view, a folk group.

Every CRM call runs on your own CRM account. SuperFlow reads from the CRM only what these need: its fields for the mapping, the record it is about to write, and the lists you make a table's source with their members. It never imports your CRM's contacts, deals or notes by itself. Today HubSpot, Salesforce, Attio and folk connect. Pipedrive's app is in Pipedrive's Marketplace review, and GoHighLevel does not connect yet.

## Which CRMs does SuperFlow connect, and what does each do?

Settings, Integrations has a card for six CRMs, and four of them connect today: HubSpot and Salesforce (a sign-in, Salesforce after the org's admin installs the GetSales Sync package), Attio and folk (an API key). Pipedrive's app, GetSales Sync, is in Pipedrive's Marketplace review, and its install opens to customers once Pipedrive approves it. GoHighLevel keeps its card and Connect button, but SuperFlow's own app for it is not set up yet: Connect answers `oauth_app_not_configured` and no account connects. What each does once connected:

| | HubSpot | Salesforce | Pipedrive | Attio | GoHighLevel | folk |
| - | - | - | - | - | - | - |
| How you connect | Sign in (OAuth), one portal | An admin installs the GetSales Sync package once, then sign in (OAuth), one org, production or sandbox | Sign in (OAuth), one company: the install waits on Pipedrive's approval of our app | A workspace API key | Sign in (OAuth), one location: not open yet | A member's API key |
| People | Contacts, found by their HubSpot id, LinkedIn profile or email | A lead or contact, found by the Salesforce id it holds, the LinkedIn profile or the email, a contact before a lead, else a new lead | Persons, found by their Pipedrive id, the LinkedIn profile in your LinkedIn field or the email | People by email | Contacts by email, tags added | People, found by their folk id, the LinkedIn profile among their links or the email, into a group |
| Companies | Companies by domain | Accounts by website domain | Organizations by exact name | Companies by domain | None (the company stays on the contact) | Companies by domain, then name, into a group |
| Outreach on the record | LinkedIn messages, InMails, replies, connection requests and accepts, emails, [AI SDR hand-offs](https://doc.super-flow.io/kb/inbox/ai-sdr.md#when-does-the-ai-sdr-hand-a-thread-to-a-person) | The same events, as completed tasks | The same events, as notes on the person | No switch in the app | No switch in the app | The same events, as interactions |
| Status or stage | A property you pick moves forward with the conversation, and the AI SDR's reply class goes onto another | A picklist on Lead and Contact moves forward, with dates and the reply class | A person field or its labels moves forward, with dates and the reply class | No | An opportunity in a pipeline stage | A select field of a group moves forward, with dates and the reply class |
| Fills a table | From a segment | From a campaign or a lead or contact list view | From a saved filter of persons | No | No | From a group |

The Attio card says it logs outreach on the record, but in the app it has no switch for it: from the app it sends records only. Over the API or MCP, `update_provider_connection` with `settings.activity.messages` or `handoff` turns that logging on: messages and AI SDR hand-offs land as a note on the person, only for people the Send to CRM column sent there ([the timeline](#how-does-outreach-land-on-my-crms-timeline)). Each of the four other CRMs has a setup guide of its own: Set up the HubSpot integration, the Pipedrive integration, the Salesforce integration and the folk integration.

## How do I connect a CRM?

A CRM is connected in **Settings**, then **Integrations** ([https://app.super-flow.io/settings/integrations](https://app.super-flow.io/settings/integrations)), under **CRM**. Connecting needs the Integrations Manage permission. Today HubSpot, Salesforce, Attio and folk connect. Pipedrive waits on Pipedrive's approval of our app, and on GoHighLevel Connect answers `oauth_app_not_configured` until SuperFlow sets up its app for it.

> [tab] HubSpot
>
> 1. Pick **HubSpot** and click **Connect portal** (**Connect another portal** once one is connected).
> 2. In HubSpot, choose the account and click **Choose Account**, review the access asked for, and click **Connect app**. If HubSpot asks you to confirm that you trust the app, follow its prompt.
> 3. Back in SuperFlow the portal shows under **Portals**, **On**.
>
> Segments and emails on the timeline need two optional HubSpot permissions that the portal's admin allows first. The full setup, every switch and the troubleshooting are in the HubSpot integration setup guide.

> [tab] Salesforce
>
> 1. An admin of the org installs the **GetSales Sync** package once: the link and the steps are in the Salesforce integration setup guide.
> 2. Pick **Salesforce** and click **Connect org**, or **Connect sandbox** for a sandbox org.
> 3. Sign in to Salesforce and click **Allow** (SuperFlow asks for `api` and `refresh_token`).
> 4. The org shows under **Orgs**, **On**.
>
> Your Salesforce edition must include API access, and your user needs it. Some orgs let an admin approve an app before users can connect it.

> [tab] Pipedrive
>
> GetSales Sync, our Pipedrive app, is in Pipedrive's Marketplace review. Until Pipedrive approves it, its install is not open to customers. Once it is:
>
> 1. Pick **Pipedrive** and click **Connect Pipedrive**.
> 2. Sign in to Pipedrive and allow the app.
> 3. The company shows under **Companies**, **On**.
>
> The full setup is in the Pipedrive integration setup guide.

> [tab] Attio
>
> 1. In Attio, open settings, then **Developers**, and create a workspace API key with the record and object scopes ticked (`record_permission:read-write`, `object_configuration:read`).
> 2. In SuperFlow pick **Attio**, click **Connect workspace**, paste the key under **Workspace API key**, and click **Connect**.
>
> SuperFlow checks the key with Attio before it saves it. A key without the record or object scope is refused, the missing scopes named. A key without the list or note scopes connects with a warning that names them.

> [tab] GoHighLevel
>
> **Not open yet:** Connect answers `oauth_app_not_configured` today. Once SuperFlow's HighLevel app is set up:
>
> 1. Pick **GoHighLevel** and click **Connect location**.
> 2. On HighLevel's screen, choose one sub-account (location) and allow the app.
> 3. The location shows under **Locations**, **On**.
>
> A connection is one location. An install on the whole agency is refused (`oauth_agency_install_not_supported`): install the app on one sub-account, then connect again.

> [tab] folk
>
> 1. In folk, open **Settings**, then **API**, and click **New API key**. API access comes with folk's Premium and Enterprise plans.
> 2. In SuperFlow pick **folk**, click **Connect API key**, paste it under **API key**, and click **Connect**.
>
> The key acts as the folk member who made it: SuperFlow sees the groups that member sees. Another member's key is a connection of its own. The full setup is in the folk integration setup guide.

The CRM's sign-in must be finished within 15 minutes of the click on Connect: a later one is refused (`oauth_state_expired`), and you start again from the card. Connecting the same CRM account again from the same workspace renews its connection instead of adding a second one (an Attio or folk key replaces the old key). A workspace can connect several accounts of one CRM: the button then reads **Connect another ...**.

Over the API or MCP: `start_provider_connection_oauth` returns the CRM's sign-in link, which a person opens while signed in to the same SuperFlow workspace (the app finishes the connection), and `create_provider_connection` stores an Attio or folk key.

## How do I send people and companies to my CRM?

The **Send to CRM** column of a table sends each row to the CRM account you pick. Adding it needs the Playtables Manage permission, and Integrations Manage to read the CRM's fields for the mapping.

**1. Add the column**

On the **People** or **Companies** tab, click **+ Column**, then under **Actions** pick **Send to CRM**.

**2. Pick the CRM account**

Under **Send to**, pick the CRM account. For folk, also pick the **folk group**. For GoHighLevel, choose **Lands as**: **Contact** (with **Tags**, added to the contact's own) or **Opportunity** (with a **Pipeline**, a **Stage** and an **Opportunity name**).

**3. Read the matching rule**

Read **Matching**: it says how this CRM finds the record ([the rules](#how-does-superflow-find-the-right-record-in-my-crm)).

**4. Map the fields**

Under **Field mapping**, click **Add a field** for each CRM field you want written, and give each a value from the row, such as `{{people.first_name}}`, `{{people.role}}` (the job title) or `{{company.name}}`. A person has no last name variable, only `{{people.first_name}}` and `{{people.full_name}}`. Only the fields you map are written, beside the identity: the email or domain the record is matched by or created with, the person's LinkedIn profile link on a new HubSpot contact (in HubSpot's own LinkedIn property, when the portal has it and you did not map it), and on folk the row's email and LinkedIn profile link, added to every person created or updated. A new Pipedrive or folk person, or Salesforce lead, whose name you did not map takes the row's own name, else its email. A new HubSpot contact gets only what you map: map First name or Last name, or a row with no email fails. A new folk company is named by its domain. Type `/` in a value to insert a column of the table.

**5. Choose when it sends**

Under **Run settings**, keep **Send new rows** on to send every row that lands in the table as it arrives, or switch it off to send by hand.

**6. Save**

Click **Save** and pick **Save and run first 5 rows** to try it, or **Save and don't run**.

![Send to CRM column form with Send to, Matching, Field mapping and Run settings](https://mintcdn.com/getsales/-bbG0ls93QRsVpvD/images/kb/integrations/send-to-crm-column.png?fit=max\&auto=format\&n=-bbG0ls93QRsVpvD\&q=85\&s=486a5cb930dcc4f7a30f3174f34c429a)

In the example, a Send to CRM column on the People tab sends to a HubSpot portal: Matching says the order a contact is found in, Field mapping writes HubSpot's First name, Job title and Company name from the row, and Send new rows is on.

The cell then holds the CRM's record id. A cell that failed shows a short title such as "Invalid input", and its log names the call that failed. For a person row, the person's card says why in words, in its **CRM** section. A send waits for another column of the same row that is still filling the person's name or email in the same run, such as an enrichment. A variable the row does not have, such as `{{people.email}}`, is refused at save, but a token the app cannot read at all, such as `{{companies.domain}}`, saves and reaches the CRM as typed: use the row's own variables (`{{people.*}}`, `{{company.*}}`).

Over the API or MCP, the column is `create_playtable_field` as the app's API tool call column (its `type` is in the API reference), whose `payload.tool_sid` is `in:{provider}.crm.contact_upsert` (`company_upsert` on Companies) and whose `payload.params` hold `connection_sid`, the identity (`email: "{{people.work_email || people.personal_email}}"` or `domain: "{{company.domain}}"`) and `properties`, CRM field to value. On folk the app also sends `group`, the folk group's id: without it the record lands in no group and a mapped `customFieldValues.*` field fails. On HubSpot, Pipedrive, Salesforce and folk, SuperFlow adds to a person's match the CRM record id the person already holds and their LinkedIn profile by itself. `read_provider_connection_crm_metadata` lists the CRM's writable fields.

## How does SuperFlow find the right record in my CRM?

SuperFlow matches each row to a record before it writes, so a person already in your CRM is updated rather than duplicated. The rules differ by CRM:

| CRM | A person is found by | A company is found by | When nothing matches |
| - | - | - | - |
| HubSpot | The HubSpot contact id the person already holds, then the LinkedIn profile (in HubSpot's own LinkedIn property, when the portal has it), then the work email, else the personal email | Its domain | A new contact is created, with the LinkedIn link in HubSpot's own property when the portal has it. HubSpot needs an email, a first name or a last name for it, and only mapped fields are sent: map First name to `{{people.first_name}}`, or a row with no email fails (`name_or_email_required_to_create`) |
| Salesforce | The Salesforce id the person already holds, then the LinkedIn profile (in the LinkedIn field of Lead and Contact), then the email, a contact before a lead | An Account by its website domain | A new Lead is created from the row's name and company. Your org's required Lead fields apply, and a row with no company fails unless you map Company |
| Pipedrive | The Pipedrive id the person already holds, then the LinkedIn profile (in your LinkedIn field), then the email | An organization by its exact name: map the name field | A new person or organization is created |
| Attio | Its email | Its domain | A new record is created |
| GoHighLevel | Its email (your location's own duplicate rule applies) | No companies | A new contact is created |
| folk | The folk id the person already holds, then the LinkedIn profile among their links, then the email | Its website, then its exact name | A new person or company is created in the group |

A row with nothing to match by fails, with the reason in the cell's log and, for a person, on the person's card: a person row with neither a work nor a personal email (on HubSpot, Pipedrive, Salesforce and folk, nor a record id or a LinkedIn profile), a company row with no domain (Pipedrive: no mapped name).

## How does outreach land on my CRM's timeline?

In the app, outreach lands on the person's CRM record on HubSpot, Pipedrive, Salesforce and folk, as it happens, once you switch it on under **Activity sync** on the CRM's card in Settings. Every switch is off when a CRM connects, and nothing from before a switch was turned on is written.

* **HubSpot**: **Log messages to the timeline** (LinkedIn messages and InMails, sent and received), **Log emails to the timeline** (needs HubSpot's email access), **Log connection requests** (a request with its note, and its accept) and **Log AI SDR hand-offs** (a note, on a lead whose HubSpot contact SuperFlow already holds). Each LinkedIn record names the sender profile and the lead, such as "LinkedIn message from Maya Chen to Elena Varga". A lead is found the way Send to CRM finds a person, with the LinkedIn profile read from the property named under **LinkedIn link** in Status and dates (else HubSpot's own). A lead found by no rule is not created for the timeline: the miss shows under **Recent failures**.
* **Pipedrive, Salesforce and folk** have the same four switches: **Log messages to the timeline**, **Log emails to the timeline**, **Log connection requests** and **Log AI SDR hand-offs**. An event lands as a note on the Pipedrive person, a completed task on the Salesforce lead or contact, or an interaction on the folk person. A lead is found the way Send to CRM finds a person, and a miss shows under **Recent failures**. A hand-off is written only for a lead whose record SuperFlow already knows.

What a sender profile sends lands as it goes out, and a lead's message once the sender profile's LinkedIn account has read it.

Attio and GoHighLevel have no switch in the app. Over the API or MCP, `update_provider_connection` carries the whole policy: `settings.activity` (`messages`, `invites`, `emails`, `handoff`), `settings.status`, `settings.dates`, `settings.identity.linkedin_property` and `settings.classification`. The settings are sent whole and replace what the connection holds, so read them first with `search_provider_connections` and send them back with your change. On Attio and GoHighLevel, `messages` and `handoff` log a note on the person, for people the Send to CRM column sent there.

## How does a HubSpot status move with the conversation?

**Status and dates**, on the HubSpot card in Settings (**Set up**, or **Edit** once set), moves a contact property of yours forward as a request is sent, accepted, a message goes out and the lead replies, writes each event's date to a date property, and can write the AI SDR's class of a reply (interested, meeting request, not now and the rest) onto another property. It works with the timeline switches off for LinkedIn requests, accepts, messages and replies, and for the reply class. An email sent or answered moves the status and stamps its date only while **Log emails to the timeline** is on. The status only moves forward, in the order of the events. An empty status takes the event's value, and so does a value listed under **Also replace** (such as New). A mapped value moves on to a later event's value, never back. Any other value stays, whoever set it. Pipedrive, Salesforce and folk have the same **Status and dates**: a Pipedrive person field or its labels, a Salesforce picklist on Lead and Contact, a select field of a folk group. Attio and GoHighLevel have none. The details are in the HubSpot integration setup guide and the guides of the other three.

## Can a CRM list fill a table?

A list of HubSpot, Pipedrive, Salesforce or folk fills a table: a HubSpot segment, a Pipedrive saved filter of persons, a Salesforce campaign or a lead or contact list view, or a folk group. In the table, open **Data sources** and choose **CRM segment**, pick the **CRM account** and the list, add up to 25 of its fields as columns, and pick **Every hour**, **Every day** or **Every week**. People added to the list are added to the table, each holding its CRM record id, so every LinkedIn step lands on the right record even without an email. People removed from the list leave the table's workflows and stay in the table. **Sync now** reads the list at once. More in the setup guides of each CRM.

Over the API or MCP: `read_provider_connection_crm_metadata` with `kind` `lists` and `query` finds the list by name, `create_data_source` with `type` `crm_list` and `payload.connection_sid`, `list_id` and `list_name` creates the source, and `sync_data_source` reads it at once.

Attio and GoHighLevel lists cannot fill a table. Bring their records in as a CSV ([Add people and companies](https://doc.super-flow.io/kb/tables/add-people-and-companies.md)).

## How do I see what SuperFlow wrote to my CRM, and what failed?

Every person's card, in [Unibox](https://doc.super-flow.io/kb/inbox/unibox.md) and on a table, has a **CRM** section for each connection: the record the lead was matched to and how ("Matched by email", "Matched by LinkedIn profile", "Created from this lead" and the others), or "Not in HubSpot yet", then the lead's recent CRM calls, each failure with its reason in plain words. A HubSpot record has an **Open in HubSpot** button, and the others show the record id. The log needs the Integrations View permission.

The HubSpot, Pipedrive, Salesforce and folk cards in Settings also list each account's last 10 failed calls under **Recent failures**. **Test**, on a connection's row, checks that the CRM still accepts it ("Credential works (120 ms)").

A connection that the CRM refuses 5 times in a row for its access (a revoked grant, an uninstalled app, a dead key) reads **Failed** on its row, and the CRM's card reads **Needs attention** when no other account of it is on: connect the account again. A HubSpot permission the grant lacks does not count toward the 5. An uninstall of the app in Pipedrive turns the connection **Failed** at once.

Over the API or MCP: `search_provider_calls` and `test_provider_connection`.

## How do I disconnect a CRM, and what stays?

Hover the connection's row on the CRM's card and click **Delete** (the trash icon), then confirm. Over the API or MCP, `delete_provider_connection` does the same.

* Every sync of that account stops: no more rows sent, no more timeline records, no more segment reads.
* SuperFlow deletes its copy of the access. Only a Salesforce connection is also revoked at Salesforce, and only its own authorization. On HubSpot, Pipedrive and GoHighLevel the app stays installed, because one install serves every workspace connected to that account: uninstall it in the CRM to remove it there. An Attio or folk key is removed from SuperFlow and stays valid in Attio or folk: revoke it there.
* Everything already written stays: records, notes and timeline entries in the CRM, and people, rows and the CRM ids they hold in SuperFlow.
* Send to CRM columns and list sources that used the connection stop working. Connecting the account again makes a new connection with no settings: turn its switches on and set Status and dates again, pick it in each column, and create its sources again.

Deleting a connection in one workspace never cuts off another workspace connected to the same account.

## What limits apply to a CRM connection?

> [!NOTE]
>
> * No cap on connections: any number of CRMs and accounts per workspace. The panel and the column's picker show the first 100.
> * A CRM's sign-in must finish within 15 minutes of the click on Connect, or it is refused (`oauth_state_expired`).
> * SuperFlow paces its calls to one HubSpot portal at 100 requests per 10 seconds on each SuperFlow cluster (HubSpot allows 110). A portal connected from workspaces on two clusters can be sent up to twice that, and the calls past HubSpot's 110 then fail as `rate_limited`. A busy portal makes the timeline and segment syncs wait and come back, and a Send to CRM cell the pace holds back waits and tries again every minute, for up to 15 minutes, before it fails. Pipedrive, Salesforce and folk have limits of their own, in their guides.
> * A CRM call waits 30 seconds at most.
> * A list source brings up to 25 mapped fields.
> * 5 refusals in a row for access turn a connection **Failed**.

## What does a CRM connection not do?

* It does not connect GoHighLevel today: Connect answers `oauth_app_not_configured`. Pipedrive connects once Pipedrive approves our app.
* It does not import your CRM's contacts, companies, deals or notes, except a list you make a table's source.
* It does not link a person to their company in the CRM: the column writes each record on its own (Attio links people to companies by email domain itself, and on folk a mapped company name sets the person's company).
* It does not create deals, except a GoHighLevel opportunity.
* It writes nothing from before a timeline switch was turned on, and in the app it has no timeline switch on Attio and GoHighLevel.

## Related

* Setup guides for [HubSpot, Pipedrive, Salesforce and folk](https://doc.super-flow.io/kb/integrations/connect-your-crm.md#how-do-i-connect-a-crm)
* [Tables](https://doc.super-flow.io/kb/tables/tables.md): the rows a Send to CRM column sends
* [Build an outreach workflow](https://doc.super-flow.io/kb/workflows/build-a-workflow.md): the outreach the timeline records


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.