Mailchimp · Capability

Mailchimp Marketing API — Archive

Mailchimp Marketing API — Archive. 1 operations. Lead operation: Mailchimp Archive Automation. Self-contained Naftiko capability covering one Mailchimp business surface.

Run with Naftiko MailchimpArchive

What You Can Do

POST
Archiveautomations — Mailchimp Archive Automation
/v1/automations/{workflow-id}/actions/archive

MCP Tools

mailchimp-archive-automation

Mailchimp Archive Automation

Capability Spec

marketing-archive.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Mailchimp Marketing API  — Archive
  description: 'Mailchimp Marketing API  — Archive. 1 operations. Lead operation: Mailchimp Archive Automation. Self-contained
    Naftiko capability covering one Mailchimp business surface.'
  tags:
  - Mailchimp
  - Archive
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    MAILCHIMP_API_KEY: MAILCHIMP_API_KEY
capability:
  consumes:
  - type: http
    namespace: marketing-archive
    baseUri: https://server.api.mailchimp.com/3.0
    description: Mailchimp Marketing API  — Archive business capability. Self-contained, no shared references.
    resources:
    - name: automations-workflow_id-actions-archive
      path: /automations/{workflow_id}/actions/archive
      operations:
      - name: archiveautomations
        method: POST
        description: Mailchimp Archive Automation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workflow_id
          in: path
          type: string
          description: The unique id for the Automation workflow.
          required: true
  exposes:
  - type: rest
    namespace: marketing-archive-rest
    port: 8080
    description: REST adapter for Mailchimp Marketing API  — Archive. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/automations/{workflow-id}/actions/archive
      name: automations-workflow-id-actions-archive
      description: REST surface for automations-workflow_id-actions-archive.
      operations:
      - method: POST
        name: archiveautomations
        description: Mailchimp Archive Automation
        call: marketing-archive.archiveautomations
        with:
          workflow_id: rest.workflow_id
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: marketing-archive-mcp
    port: 9090
    transport: http
    description: MCP adapter for Mailchimp Marketing API  — Archive. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: mailchimp-archive-automation
      description: Mailchimp Archive Automation
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: marketing-archive.archiveautomations
      with:
        workflow_id: tools.workflow_id
      outputParameters:
      - type: object
        mapping: $.