naftiko: 1.0.0-alpha2 info: label: ActiveCampaign API v3 — Automations description: 'ActiveCampaign API v3 — Automations. 3 operations. Lead operation: ActiveCampaign List All Automations. Self-contained Naftiko capability covering one Activecampaign business surface.' tags: - Activecampaign - Automations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ACTIVECAMPAIGN_API_KEY: ACTIVECAMPAIGN_API_KEY capability: consumes: - type: http namespace: v3-automations baseUri: https://{yourAccountName}.api-us1.com/api/3 description: ActiveCampaign API v3 — Automations business capability. Self-contained, no shared references. resources: - name: automations path: /automations operations: - name: listallautomations method: GET description: ActiveCampaign List All Automations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: automations-automationId path: /automations/{automationId} operations: - name: getautomations1 method: GET description: ActiveCampaign Copy of List All Automations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: automationId in: path type: string required: true - name: automations-id path: /automations/{id} operations: - name: getautomations1 method: GET description: ActiveCampaign Copy of List All Automations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true authentication: type: apikey key: Api-Token value: '{{env.ACTIVECAMPAIGN_API_KEY}}' placement: header exposes: - type: rest namespace: v3-automations-rest port: 8080 description: REST adapter for ActiveCampaign API v3 — Automations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/automations name: automations description: REST surface for automations. operations: - method: GET name: listallautomations description: ActiveCampaign List All Automations call: v3-automations.listallautomations outputParameters: - type: object mapping: $. - path: /v1/automations/{automationid} name: automations-automationid description: REST surface for automations-automationId. operations: - method: GET name: getautomations1 description: ActiveCampaign Copy of List All Automations call: v3-automations.getautomations1 with: automationId: rest.automationId outputParameters: - type: object mapping: $. - path: /v1/automations/{id} name: automations-id description: REST surface for automations-id. operations: - method: GET name: getautomations1 description: ActiveCampaign Copy of List All Automations call: v3-automations.getautomations1 with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: v3-automations-mcp port: 9090 transport: http description: MCP adapter for ActiveCampaign API v3 — Automations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: activecampaign-list-all-automations description: ActiveCampaign List All Automations hints: readOnly: true destructive: false idempotent: true call: v3-automations.listallautomations outputParameters: - type: object mapping: $. - name: activecampaign-copy-list-all-automations description: ActiveCampaign Copy of List All Automations hints: readOnly: true destructive: false idempotent: true call: v3-automations.getautomations1 with: automationId: tools.automationId outputParameters: - type: object mapping: $. - name: activecampaign-copy-list-all-automations-2 description: ActiveCampaign Copy of List All Automations hints: readOnly: true destructive: false idempotent: true call: v3-automations.getautomations1 with: id: tools.id outputParameters: - type: object mapping: $.