Skip to content

Campaign

Use these tools to plan, build, and manage automated customer journeys in KlickTipp. They provide access to the structure and behavior of automations, from the initial entry condition to the actions that guide contacts through the campaign.

For example, you can create automation drafts, add decisions, waits, messages, tags, goals, and other actions, or review the validity and performance of an automation. Additional actions and campaign capabilities may become available as the MCP server evolves.

Add Decision Action

Tool name: add-automation-decision-action

Adds a decision action that routes matching contacts to yes and others to no; an empty branch ends the flow. Build the condition from the operators get-automation-editor-capabilities reports; for open/click conditions, the field setting takes a message smart-tag ID, not a message ID. Requires an unscheduled, inactive automation and its current revision from get-automation; dryRun previews without saving. Place it with afterActionId and branch (next after a regular action, yes/no after a decision).

Input schema

automationIdinteger, >= 1required
revisionstring^[a-f0-9]{64}$required
afterActionIdinteger, >= 1required
branchstringrequired
Enum:"next""yes""no"
settingsobjectrequired
dryRunboolean
Default:false
accountIdnull or integer, >= 1
Default:null
Input example
{ "automationId": 1, "revision": "string", "afterActionId": 1, "branch": "next", "settings": { "name": "string", "color": "", "segmentsOpAND": true, "segments": [ { "conditionsOpAND": true, "conditions": [ { "op": "string", "field": "string", "value": "string", "value2": "string" } ] } ] }, "dryRun": false, "accountId": null }

Output schema

automationIdintegerrequired
namestringrequired
revisionstringrequired
statusstringrequired
editorUrlstringrequired
graphobjectrequired
findingsArray of objectsrequired
editablebooleanrequired
dryRunbooleanrequired
settingsArray of any or objectrequired
splitTestsArray of objectsrequired
Output example
{ "automationId": 0, "name": "string", "revision": "string", "status": "string", "editorUrl": "string", "graph": { "start": 0, "goals": [ 0 ], "states": [ { "id": 0, "type": "string", "next": 0, "nextNo": 0 } ] }, "findings": [ { "actionId": 0, "code": "string", "message": "string", "warning": true, "variantId": 0 } ], "editable": true, "dryRun": true, "settings": {}, "splitTests": [ { "actionId": 0, "id": 0, "missing": true, "revision": "string", "durationSeconds": 0, "started": 0, "finished": 0, "winnerIndex": 0, "variants": [ { "kind": "string", "entityId": 0, "weight": 0, "goalTagId": 0, "contactCount": 0, "conversionCount": 0 } ] } ] }