SettingsIntegrations

CRM Integrations

Connect HubSpot, Salesforce, and BigQuery to sync contacts

Connect HubSpot, Salesforce or BigQuery to keep your contacts in sync. Set up field mappings, then import or export people from the People page.

CRM integrations need the Pro or Enterprise plan.

Supported CRMs

CRMConnection MethodSync Direction
HubSpotOAuth 2.0Import, Export, or Both Ways
SalesforceOAuth 2.0Import, Export, or Both Ways
BigQueryService Account JSONImport, Export, or Both Ways

HubSpot

Prerequisites

  • A HubSpot account with API access
  • Admin permissions in your HubSpot portal

Connecting HubSpot

  1. Go to Settings → Connections → Connectors.
  2. Click Connect next to HubSpot.
  3. Click the Connect with HubSpot button to start the OAuth flow.
  4. Log in to HubSpot and grant Wexio access to your portal.
  5. You return to Wexio when access is granted.

Connecting starts only from the dashboard and only for Owners and Admins. Editors and Agents see Only owners and admins can connect integrations. instead of the button. Old direct connect links no longer work, so open Settings → Connections → Connectors and connect from there. If the connection fails, Wexio shows a message such as The connection link expired. Start again. or Access was denied. Allow access to connect. Start the connection again from the card.

To use a token instead, expand manual entry and enter a HubSpot private app or OAuth Access Token. A Refresh Token and Portal ID are optional.

The HubSpot connector page in Settings, Connectors, with its settings and the Disconnect button

After connecting, Wexio opens the field mappings.


Salesforce

Prerequisites

  • A Salesforce account (any edition with API access)
  • Admin permissions in Salesforce

Connecting Salesforce

  1. Go to Settings → Connections → Connectors.
  2. Click Connect next to Salesforce.
  3. Click the Connect with Salesforce button to start the OAuth flow.
  4. Log in to Salesforce and grant Wexio access.
  5. Choose the Object Type to sync with: Contact or Lead.
  6. You return to Wexio when access is granted.

For a manual connection, expand manual entry and enter the Instance URL and an OAuth access token.

The Salesforce card in Settings, Connectors, Discover

After connecting, Wexio opens the field mappings.

In Salesforce, Wexio custom fields end in __c, for example wexio_id__c. This is the standard Salesforce convention.


BigQuery

Prerequisites

  • A Google Cloud project with BigQuery enabled
  • A service account with BigQuery read/write permissions
  • The service account's JSON key file
  • A dataset and table in BigQuery to sync with

Connecting BigQuery

  1. Go to Settings → Connections → Connectors.
  2. Click Connect next to BigQuery.
  3. Enter your Dataset ID and Table ID.
  4. Paste your Google Cloud service account JSON into Service Account Credentials (JSON).
  5. Click Create.
The BigQuery card in Settings, Connectors, Discover

After connecting, Wexio opens the field mappings.


Field Mappings

Field mappings define how data flows between your CRM and Wexio. After you connect a CRM, the Configure Field Mappings dialog opens.

The Configure Field Mappings dialog with the locked Wexio ID mapping and First Name, Last Name and Email mappings, plus Add Mapping and Save Mappings

Structure

Each mapping connects one CRM field to one Wexio field with a sync direction:

ElementDescription
CRM FieldA field from your CRM (with its type badge, e.g. string, number)
Sync DirectionHow data flows between the two systems
Wexio FieldA field from your Wexio people profile (with its type badge)

Sync Directions

Each field mapping can have one of three sync directions:

DirectionLabelDescription
Both Ways⇄Sync during import AND export
Import Only←Only sync CRM → Wexio
Export Only→Only sync Wexio → CRM

If a CRM field is read-only, the direction is automatically set to Import Only. If a Wexio field is read-only, it's set to Export Only.

Required Mapping: Wexio ID

The first mapping is always Wexio ID - this is the unique identifier that links a Wexio contact to a CRM record. It is locked and cannot be deleted or changed.

CRMWexio ID Field Name
HubSpotwexio_id
Salesforcewexio_id__c
BigQuerywexio_id

Adding Mappings

  1. Click Add Mapping (or Add Your First Mapping).
  2. Select the CRM field from the dropdown.
  3. Select the matching Wexio field.
  4. Choose the sync direction.
  5. Repeat for all fields you want to sync.
  6. Click Save Mappings.

Use Refresh CRM Fields to re-fetch the latest fields from your CRM if you've recently added new properties there.

Creating New Fields

If a matching field doesn't exist yet, you can create one during mapping:


Importing Contacts

Import contacts from your CRM into Wexio People.

  1. Go to People.
  2. Click Import, then Import from CRM.
  3. Choose the CRM and set the options:
SettingDescription
What to importAll contacts, or a Custom filter that searches the CRM
Create new peopleCreate people for CRM contacts that do not exist in Wexio
Update existing peopleUpdate people that already exist with CRM data
Incremental syncOnly import contacts modified after the Modified after date
Limit (optional)Maximum number of contacts to import. Empty means no limit
Duplicate Detection FieldHow to match existing people: Wexio ID, Telegram ID, Email or a Custom Field. The last three need a Telegram bot chosen above
  1. Click Start Import.

The dialog shows how many contacts match before you start. If you select neither create nor update, the run is a dry run.

Exporting Contacts

Export contacts from Wexio People to your CRM.

  1. Go to People and select people if you want to export only some.
  2. Click Export, then pick your CRM under CRM Integrations.
  3. Set the options:
SettingDescription
What to exportSelected people, All people, or a Custom filter
Create new contactsCreate CRM contacts that do not exist yet
Update existing contactsUpdate CRM contacts that already exist
Filter by Telegram Bot (optional)Export only the people of one Telegram bot
  1. Click Start Export.

If you select neither create nor update, the run is a dry run. Only mapped fields are synced.


Sync History

After an import or export, open Sync History on the integration to track each job.

CRM sync history

Each sync job shows:

FieldDescription
StatusCompleted, Failed, Processing, Pending, or Cancelled
StartedWhen the job began
CompletedWhen the job finished
SyncedRecords processed successfully
CreatedNew records created
UpdatedExisting records updated
FailedRecords that failed to sync
ErrorError details, if the job failed

You can cancel a running job or clear completed job history.


CRM in Flows

You can also push contact data to your CRM automatically using the CRM Card in flows. This lets you update CRM records as part of an automated conversation flow - for example, creating a lead in Salesforce after qualifying a contact.

Was this page helpful?

On this page