Which contact fields ILLIXIS copies from HubSpot, and how to map HubSpot deal stages to ILLIXIS actions. The fields are fixed: there is no custom field mapping, and ILLIXIS writes nothing back to HubSpot.


What It Does

The HubSpot connection does two things:

  • Copies four standard fields from HubSpot into ILLIXIS: first name, last name, email and phone. Custom HubSpot properties are not copied
  • Maps deal stages to ILLIXIS actions, so an email sequence starts when a deal moves through your pipeline

When a deal changes stages in HubSpot, ILLIXIS reads the deal's contacts, copies those four fields, then runs the action you mapped. Nothing is written back to HubSpot.


Prerequisites

Before mapping stages, you must:

  1. Connect HubSpot via OAuth at Settings > Integrations > CRM tab
  2. Have an active HubSpot subscription with API access
  3. Have deal pipelines configured in HubSpot

Opening HubSpot Settings

Step 1: Navigate to HubSpot Settings

Go to Settings > Integrations.

Click the CRM tab.

Find the HubSpot card and click Settings (or Connect if not yet connected).

Step 2: View Stage Mappings

After connecting, you'll see your HubSpot pipelines listed with their stages.

Each stage shows:

  • Pipeline name and stage name from HubSpot
  • Current mapping action (sequence enrollment or pipeline stage move)
  • Save button to update mapping

Default Mappings

When a mapped stage changes, these fields are copied from the deal's contacts. The list is fixed:

HubSpot Property

ILLIXIS Field

Notes

firstname

First Name

Standard contact property

lastname

Last Name

Standard contact property

email

Email

Required - used for matching

phone

Phone

Optional

They are copied when the webhook reports a stage change. There is nothing to configure and no way to add fields.


Adding Stage Mappings

Stage mappings define what happens when a deal moves to a specific stage in HubSpot.

Step 1: Refresh Pipelines

Click Refresh Pipelines to pull the latest pipeline and stage data from HubSpot.

This fetches all deal pipelines configured in your HubSpot account.

Step 2: Configure a Stage Action

For each HubSpot stage you want to automate:

  1. Find the stage in the list under its pipeline
  2. Click the dropdown next to the stage name
  3. Select an action:

Enroll in Sequence:

  • Select an active ILLIXIS email sequence
  • When a deal enters this stage, contacts are enrolled
  • Previous sequences can be stopped automatically (configurable)

Move to ILLIXIS Stage:

  • Select an ILLIXIS pipeline and stage
  • The lead moves through your internal pipeline
  • Useful for mirroring CRM progression

No Action:

  • Select "No action" to skip automation for this stage
  • The stage change is still logged for reference

Step 3: Save Mapping

Click the checkmark button next to the dropdown to save.

A green confirmation appears when saved successfully.


Sync Behavior

When Data Syncs

Real-time via webhooks:

  • Deal stage changes in HubSpot trigger immediate sync
  • Requires webhook configuration (see below)
  • Most reliable for automation triggers

Manual refresh:

  • Click "Refresh" on the HubSpot settings page
  • Pulls latest pipeline data
  • Does not trigger enrollments

Webhook Configuration

To receive real-time updates:

  1. Go to your HubSpot Developer Account
  2. Navigate to Webhooks
  3. Create a new webhook:
  • URL: https://app.illixis.io/marketing-automation/webhooks/hubspot/
  • Event: deal.propertyChange
  • Property: dealstage
  1. Click Create

Webhook signatures are verified using HMAC-SHA256 for security.

Contact Matching

When a deal changes stages:

  1. ILLIXIS fetches contacts associated with the deal
  2. Contacts are matched by email address
  3. If no match exists and "Create lead if missing" is enabled, a new lead is created
  4. First name, last name and phone are copied to the contact
  5. The mapped action (sequence enrollment or stage move) is triggered

Tips for Best Results

  • Start with key stages: Don't map every stage. Focus on stages where automation adds value (e.g., "Qualified," "Demo Scheduled," "Proposal Sent").
  • Use descriptive sequence names: When selecting sequences, clear names like "Pre-Demo Education" make mappings easier to understand.
  • Test with a single deal: Before going live, move one test deal through stages to verify mappings work correctly.
  • Check sequence status: Ensure mapped sequences are Active (not Draft or Paused). Inactive sequences won't send emails.
  • Review activity logs: After testing, check the lead's Activity Timeline to confirm events were logged correctly.
  • Keep pipelines in sync: If you rename stages in HubSpot, re-run "Refresh Pipelines" to update ILLIXIS.

Troubleshooting

Contacts Not Syncing

Check webhook configuration:

  • Verify URL is exactly https://app.illixis.io/marketing-automation/webhooks/hubspot/
  • Confirm webhook is subscribed to deal.propertyChange event
  • Check HubSpot webhook logs for delivery errors

Check deal has contacts:

  • Open the deal in HubSpot
  • Verify at least one contact is associated with the deal
  • ILLIXIS can only sync contacts that are linked to the deal

Sequence Not Triggering

Check mapping exists:

  • Go to HubSpot Settings in ILLIXIS
  • Confirm the specific stage has a sequence mapped
  • Save the mapping again if unsure

Check sequence is active:

  • Go to Email Automation > Sequences
  • Find the mapped sequence
  • Status should be "Active" (green badge)

Token Expired

If you see "Token needs refresh" or connection errors:

  1. Click Disconnect on the HubSpot card
  2. Click Connect to re-authorize
  3. Your stage mappings are preserved
  4. Verify connection shows "Connected"

Related Features


Automation Schedule

Field mapping syncs happen in real-time based on webhook events. No scheduled batch processing is used.

Event

Timing

Deal stage change

Real-time (webhook)

Pipeline refresh

On-demand (manual)

Token refresh

Automatic when expired