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.

circle-check

Setup

The following credentials are accepted:

Secrets:

  • api_key (required) -> Your ActiveCampaign API key

  • base_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

  1. Click Settings (gear icon) in the left sidebar

  2. Go to Developer

  3. Copy the API URL (this is your base_url)

  4. Copy the API Key (this is your api_key)

circle-exclamation

Using sling conns

Environment 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

Endpoint
Description
Incremental

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

Endpoint
Description
Incremental

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

Endpoint
Description
Incremental

campaigns

Email campaigns with send stats

No

automations

Automation workflows

No

Account

Endpoint
Description
Incremental

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 udate field and filters[updated_after] parameter

  • deals - Syncs deals updated after the last sync using the mdate field and filters[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_date input 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]envelope, on discordarrow-up-right or open a Github Issue herearrow-up-right.

Last updated

Was this helpful?