ActiveCampaign
Connect & Ingest data from ActiveCampaign
ActiveCampaign is an email marketing, marketing automation, and CRM platform designed for businesses of all sizes. It provides tools for managing contacts, email campaigns, automations, deals, and customer engagement. The Sling ActiveCampaign connector extracts data from the ActiveCampaign API v3, supporting contacts, deals, campaigns, automations, lists, tags, accounts, and more.
CLI Pro Required: APIs require a CLI Pro token or Platform Plan.
Setup
The following credentials are accepted:
Secrets:
api_key(required) -> Your ActiveCampaign API keybase_url(required) -> Your ActiveCampaign API URL (e.g.https://youraccountname.api-us1.com)
Inputs (optional):
anchor_date(optional) -> Starting date for first incremental sync (ISO 8601 format, e.g.2024-01-01T00:00:00Z). Defaults to 1 year ago.
Getting Your API Key
Log in to your ActiveCampaign account
Click Settings (gear icon) in the left sidebar
Go to Developer
Copy the API URL (this is your
base_url)Copy the API Key (this is your
api_key)
Important: The API URL is account-specific and region-specific (e.g. https://youraccountname.api-us1.com). Make sure to copy the exact URL from your Developer settings page.
Using sling conns
sling connsEnvironment Variable
See here to learn more about the .env.sling file.
Sling Env File YAML
See here to learn more about the sling env.yaml file.
Replication
Here's an example replication configuration to sync ActiveCampaign data to a PostgreSQL database:
Endpoints
Contact Management
contacts
All contacts with email, name, phone, and metadata
Yes
lists
Contact lists / audiences
No
tags
Tags for organizing contacts
No
contact_tags
Contact-tag associations (which contacts have which tags)
No
custom_fields
Custom contact field definitions
No
forms
Subscription forms
No
CRM / Deals
deals
All deals with value, stage, and contact associations
Yes
deal_pipelines
Deal pipelines (groups)
No
deal_stages
Deal stages for each pipeline (child of deal_pipelines)
No
accounts
Organizations / companies
No
notes
Notes on contacts and deals
No
tasks
Deal tasks and follow-ups
No
Marketing
campaigns
Email campaigns with send stats
No
automations
Automation workflows
No
Account
users
Users in the ActiveCampaign account
No
To discover available endpoints:
Parent-Child Endpoints
The deal_stages endpoint is a child of deal_pipelines. When both are included in a replication, Sling automatically runs deal_pipelines first to collect pipeline IDs, then iterates through each pipeline to fetch its stages.
Incremental Sync
The ActiveCampaign connector supports time-based incremental sync for the following endpoints:
contacts - Syncs contacts updated after the last sync using the
udatefield andfilters[updated_after]parameterdeals - Syncs deals updated after the last sync using the
mdatefield andfilters[updated_after]parameter
How it works
First run: Fetches records updated since
anchor_date(defaults to 1 year ago)Subsequent runs: Only fetches records modified after the last sync timestamp
Configure the lookback window with the
anchor_dateinput parameter
Rate Limiting
The ActiveCampaign API enforces a rate limit of 5 requests per second per account.
The connector automatically:
Uses conservative rate limiting (4 requests/second)
Limits concurrency to 3 parallel requests
Retries with exponential backoff on 429 (rate limit) responses (up to 5 attempts)
If you are facing issues connecting, please reach out to us at [email protected], on discord or open a Github Issue here.
Last updated
Was this helpful?