Mailchimp · Arazzo Workflow

Mailchimp Find and Start an Automation

Version 1.0.0

List classic automations, pick the first, and start 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-start-automation
Find the first automation and start all its emails.
Lists automations and starts all emails in the first one found; ends if there are none.
2 steps inputs: count outputs: startedWorkflowId
1
listAutomations
getAutomations
List the classic automation workflows on the account.
2
startEmails
postAutomationsIdActionsStartAllEmails
Start 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 Start an Automation
  summary: List classic automations, pick the first, and start all its emails.
  description: >-
    A find-then-act flow for classic automation workflows. The workflow lists
    the account's automations and branches on whether any exist: when at least
    one automation is found it starts 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 start action. Authentication uses
    HTTP Basic auth with any username and your Mailchimp API key as the
    password.
  version: 1.0.0
sourceDescriptions:
- name: mailchimpMarketingApi
  url: ../openapi/mailchimp-marketing-api-openapi.yml
  type: openapi
workflows:
- workflowId: find-and-start-automation
  summary: Find the first automation and start all its emails.
  description: >-
    Lists automations and starts 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: startEmails
      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: startEmails
    description: >-
      Start all emails in the first automation found. Returns a 204 empty
      response on success.
    operationId: postAutomationsIdActionsStartAllEmails
    parameters:
    - name: workflow_id
      in: path
      value: $steps.listAutomations.outputs.firstWorkflowId
    successCriteria:
    - condition: $statusCode == 204
  outputs:
    startedWorkflowId: $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-start-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 email required.

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