Mailchimp · Arazzo Workflow

Mailchimp Add Member and Tag

Version 1.0.0

Subscribe a member to an audience and immediately apply a tag.

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

Provider

mailchimp

Workflows

add-member-and-tag
Add a subscriber to a list and apply a tag to them.
Adds a member to the supplied audience, then applies the supplied tag to that member by setting the tag status to active.
2 steps inputs: emailAddress, listId, mergeFields, status, tagName outputs: memberId
1
addMember
Subscribe the member to the audience.
2
applyTag
Apply the supplied tag to the member by declaring it active. Returns a 204 empty response on success.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Mailchimp Add Member and Tag
  summary: Subscribe a member to an audience and immediately apply a tag.
  description: >-
    Onboards a new subscriber to an existing Mailchimp audience and then tags
    them so segmentation and automation logic can act on the new contact right
    away. The subscriber's email address is reused as the subscriber hash on
    the tagging call, which Mailchimp accepts in place of the MD5 hash.
    Authentication uses HTTP Basic auth with any username and your Mailchimp
    API key as the password.
  version: 1.0.0
sourceDescriptions:
- name: listsApi
  url: ../openapi/mailchimp-lists-api-openapi.yml
  type: openapi
workflows:
- workflowId: add-member-and-tag
  summary: Add a subscriber to a list and apply a tag to them.
  description: >-
    Adds a member to the supplied audience, then applies the supplied tag to
    that member by setting the tag status to active.
  inputs:
    type: object
    required:
    - listId
    - emailAddress
    - tagName
    properties:
      listId:
        type: string
        description: The unique id for the audience/list.
      emailAddress:
        type: string
        description: Email address of the subscriber to add and tag.
      status:
        type: string
        description: Subscription status for the new member.
        default: subscribed
      mergeFields:
        type: object
        description: Optional merge field values keyed by merge tag.
      tagName:
        type: string
        description: The name of the tag to apply to the member.
  steps:
  - stepId: addMember
    description: Subscribe the member to the audience.
    operationId: postListsIdMembers
    parameters:
    - name: list_id
      in: path
      value: $inputs.listId
    requestBody:
      contentType: application/json
      payload:
        email_address: $inputs.emailAddress
        status: $inputs.status
        merge_fields: $inputs.mergeFields
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      memberId: $response.body#/id
      memberEmail: $response.body#/email_address
  - stepId: applyTag
    description: >-
      Apply the supplied tag to the member by declaring it active. Returns a
      204 empty response on success.
    operationId: postListMemberTags
    parameters:
    - name: list_id
      in: path
      value: $inputs.listId
    - name: subscriber_hash
      in: path
      value: $inputs.emailAddress
    requestBody:
      contentType: application/json
      payload:
        tags:
        - name: $inputs.tagName
          status: active
    successCriteria:
    - condition: $statusCode == 204
  outputs:
    memberId: $steps.addMember.outputs.memberId

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-add-member-tag-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.