Mailchimp · Arazzo Workflow

Mailchimp Find and Pause an Automation

Version 1.0.0

List classic automations, pick the first, and pause all its emails.

1 workflow 1 source API 1 provider
View Spec View on GitHub CampaignsEmail MarketingMarketing AutomationNewslettersTransactional EmailAudience ManagementSMSE-CommerceWebhookMarketing AnalyticsArazzoWorkflows

Provider

mailchimp

Workflows

find-and-pause-automation
Find the first automation and pause all its emails.
Lists automations and pauses all emails in the first one found; ends if there are none.
2 steps inputs: count outputs: pausedWorkflowId
1
listAutomations
List the classic automation workflows on the account.
2
pauseEmails
Pause all emails in the first automation found. Returns a 204 empty response on success.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Mailchimp Find and Pause an Automation
  summary: List classic automations, pick the first, and pause all its emails.
  description: >-
    A find-then-act flow that halts a running automation. The workflow lists the
    account's automations and branches on whether any exist: when at least one
    automation is found it pauses all emails in the first automation, and when
    none exist it ends without acting. The automation (workflow) id from the
    list step is passed straight into the pause action. Authentication uses HTTP
    Basic auth with any username and your Mailchimp API key as the password.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-400.60
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-400.60
      capability_name: Digital Marketing Management
      spec: mailchimp-automations-api-openapi.yml
      confidence: 0.8
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: automationsApi
  url: ../openapi/mailchimp-automations-api-openapi.yml
  type: openapi
workflows:
- workflowId: find-and-pause-automation
  summary: Find the first automation and pause all its emails.
  description: >-
    Lists automations and pauses all emails in the first one found; ends if
    there are none.
  inputs:
    type: object
    properties:
      count:
        type: integer
        description: Number of automations to request when listing.
        default: 10
  steps:
  - stepId: listAutomations
    description: List the classic automation workflows on the account.
    operationId: getAutomations
    parameters:
    - name: count
      in: query
      value: $inputs.count
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstWorkflowId: $response.body#/automations/0/id
    onSuccess:
    - name: automationFound
      type: goto
      stepId: pauseEmails
      criteria:
      - context: $response.body
        condition: $.automations.length > 0
        type: jsonpath
    - name: noAutomations
      type: end
      criteria:
      - context: $response.body
        condition: $.automations.length == 0
        type: jsonpath
  - stepId: pauseEmails
    description: >-
      Pause all emails in the first automation found. Returns a 204 empty
      response on success.
    operationId: postAutomationsIdActionsPauseAllEmails
    parameters:
    - name: workflow_id
      in: path
      value: $steps.listAutomations.outputs.firstWorkflowId
    successCriteria:
    - condition: $statusCode == 204
  outputs:
    pausedWorkflowId: $steps.listAutomations.outputs.firstWorkflowId

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/mailchimp-find-and-pause-automation-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.