ActiveCampaign · Arazzo Workflow

ActiveCampaign Resolve Automation by Name and Enroll Contact

Version 1.0.0

Find an automation by name then enroll an existing contact into it.

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

Provider

activecampaign

Workflows

enroll-contact-in-automation-by-name
Resolve an automation by name and enroll a contact into it.
Lists automations, matches the first one whose name equals the supplied value, and enrolls the supplied contact into that automation.
2 steps inputs: apiToken, automationName, contactId outputs: automationId, contactAutomationId
1
listAutomations
List all automations so one can be matched by name.
2
enrollContact
Enroll the supplied contact into the resolved automation.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ActiveCampaign Resolve Automation by Name and Enroll Contact
  summary: Find an automation by name then enroll an existing contact into it.
  description: >-
    A find-then-act enrollment flow. The workflow lists all automations and
    matches one by name, then enrolls the supplied contact into the resolved
    automation. Because the automations list endpoint does not accept a name
    filter, the match is evaluated client-side from the returned collection.
    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: automationsApi
  url: ../openapi/activecampaign-automations-api-openapi.yml
  type: openapi
- name: contactsApi
  url: ../openapi/activecampaign-contacts-api-openapi.yml
  type: openapi
workflows:
- workflowId: enroll-contact-in-automation-by-name
  summary: Resolve an automation by name and enroll a contact into it.
  description: >-
    Lists automations, matches the first one whose name equals the supplied
    value, and enrolls the supplied contact into that automation.
  inputs:
    type: object
    required:
    - apiToken
    - automationName
    - contactId
    properties:
      apiToken:
        type: string
        description: ActiveCampaign API token sent in the Api-Token header.
      automationName:
        type: string
        description: Name of the automation to resolve.
      contactId:
        type: integer
        description: Identifier of the contact to enroll.
  steps:
  - stepId: listAutomations
    description: List all automations so one can be matched by name.
    operationId: list-all-automations
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    successCriteria:
    - condition: $statusCode == 200
    - context: $response.body
      condition: $.automations[?(@.name == '$inputs.automationName')]
      type: jsonpath
    outputs:
      automationId: $response.body#/automations/0/id
  - stepId: enrollContact
    description: Enroll the supplied contact into the resolved automation.
    operationId: create-new-contactautomation
    parameters:
    - name: Api-Token
      in: header
      value: $inputs.apiToken
    requestBody:
      contentType: application/json
      payload:
        contactAutomation:
          contact: $inputs.contactId
          automation: $steps.listAutomations.outputs.automationId
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      contactAutomationId: $response.body#/contactAutomation/id
  outputs:
    automationId: $steps.listAutomations.outputs.automationId
    contactAutomationId: $steps.enrollContact.outputs.contactAutomationId

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-enroll-contact-in-automation-by-name-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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