Initial Constant Contact Migration
Purpose
Before the ongoing synchronization was enabled, the existing Constant Contact database needed to be reconciled with HighLevel.
The initial migration workflow imports or updates Constant Contact contacts in HighLevel without creating unnecessary duplicates.
Workflow Name
The migration workflow was built as:
Constant Contact → HighLevel - Initial Reconciliation
A later revision added:
Batch size: 25 contacts
Migration Process
The workflow:
- Connects to Constant Contact using OAuth2.
- Retrieves Constant Contact contacts through the v3 API.
- Uses cursor-based pagination.
- Flattens the Constant Contact API results into individual records.
- Classifies each contact according to its Constant Contact email-permission status.
- Sends contacts to HighLevel.
- Uses the HighLevel contact upsert API.
- Updates an existing contact when a matching contact already exists.
- Creates the contact when no matching contact exists.
- Writes Constant Contact metadata into HighLevel custom fields.
Why Upsert Is Used
The HighLevel endpoint used is:
POST /contacts/upsert
Upsert is important because the migration includes contacts that may already exist in HighLevel.
Instead of blindly creating another record, HighLevel can update the matching CRM contact.
This makes the migration safer to rerun if an execution is interrupted.
Batch Processing
The HighLevel portion of the workflow processes records in batches of:
25 contacts
Batching was added because the Constant Contact database contains more than 14,000 records.
Processing the entire collection as one HTTP Request node made it difficult to:
- observe progress,
- identify failures,
- resume work,
- and determine whether HighLevel was still processing requests.
Batching reduces the size of each processing cycle.