ActiveCampaign · Arazzo Workflow

ActiveCampaign Sync Contact and Subscribe to List

Version 1.0.0

Upsert a contact by email via sync, then subscribe it to a list.

1 workflow 1 source API 1 provider
View Spec View on GitHub Marketing AutomationEmail MarketingCRMSales AutomationCustomer ExperienceSMS MarketingE-CommerceSegmentationWebhookArazzoWorkflows

Provider

activecampaign

Workflows

sync-contact-add-to-list
Upsert a contact by email and subscribe it to a list.
Syncs a contact by email so it is created or updated in place, then subscribes the resolved contact to the supplied list.
2 steps inputs: apiToken, email, firstName, lastName, listId, phone outputs: contactId
1
syncContact
sync-a-contacts-data
Upsert the contact by email so it is created or updated in place.
2
subscribeToList
update-list-status-for-contact
Subscribe the resolved contact to the supplied list.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ActiveCampaign Sync Contact and Subscribe to List
  summary: Upsert a contact by email via sync, then subscribe it to a list.
  description: >-
    A resilient ingestion flow that avoids duplicate contacts. The workflow
    syncs a contact by email, which creates the contact if it does not exist or
    updates it in place if it does, then subscribes the resolved contact to the
    supplied list by activating its list status. Every step spells out its
    request inline, including the Api-Token authentication header, so the flow
    can be read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: activecampaignApi
  url: ../openapi/activecampaign-v3.json
  type: openapi
workflows:
- workflowId: sync-contact-add-to-list
  summary: Upsert a contact by email and subscribe it to a list.
  description: >-
    Syncs a contact by email so it is created or updated in place, then
    subscribes the resolved contact to the supplied list.
  inputs:
    type: object
    required:
    - apiToken
    - email
    - listId
    properties:
      apiToken:
        type: string
        description: ActiveCampaign API token sent in the Api-Token header.
      email:
        type: string
        description: Email address used to upsert the contact.
      firstName:
        type: string
        description: Optional first name of the contact.
      lastName:
        type: string
        description: Optional last name of the contact.
      phone:
        type: string
        description: Optional phone number of the contact.
      listId:
        type: integer
        description: Identifier of the list to subscribe the contact to.
  steps:
  - stepId: syncContact
    description: Upsert the contact by email so it is created or updated in place.
    operationId: sync-a-contacts-data
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        contact:
          email: $inputs.email
          firstName: $inputs.firstName
          lastName: $inputs.lastName
          phone: $inputs.phone
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      contactId: $response.body#/contact/id
  - stepId: subscribeToList
    description: Subscribe the resolved contact to the supplied list.
    operationId: update-list-status-for-contact
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        contactList:
          list: $inputs.listId
          contact: $steps.syncContact.outputs.contactId
          status: 1
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      contactListId: $response.body#/contacts/0/id
  outputs:
    contactId: $steps.syncContact.outputs.contactId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/activecampaign-sync-contact-add-to-list-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.