{
  "workflow_name": "Add MoonClerk payers to an ActiveCampaign welcome automation",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Payment Successful",
          "app": {
            "key": "moonclerk",
            "fm_app": "moonclerk"
          },
          "eventSlug": "payment_successful",
          "eventTitle": "Payment Successful",
          "layoutDirection": "horizontal",
          "stepNumber": 1
        },
        "targetPosition": "bottom",
        "type": "trigger",
        "stepNumber": 1,
        "expanded": true,
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "application": "moonclerk",
        "stepID": "1",
        "action": "payment_successful",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "payment_id": "3419920",
          "payment_amount": "2500",
          "payment_currency": "usd",
          "payment_name": "Grace Kim",
          "payment_email": "grace.kim@example.com",
          "payment_form_id": "214",
          "payment_form_title": "Monthly supporter",
          "payment_date": "2026-10-23T10:15:00Z"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "payment_id": "3419920",
              "payment_amount": "2500",
              "payment_currency": "usd",
              "payment_name": "Grace Kim",
              "payment_email": "grace.kim@example.com",
              "payment_form_id": "214",
              "payment_form_title": "Monthly supporter",
              "payment_date": "2026-10-23T10:15:00Z"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Create or update ActiveCampaign contact",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "activecampaign",
            "fm_app": "activecampaign"
          },
          "eventSlug": "create_or_update_contact",
          "eventTitle": "Create or Update Contact"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "email": "{moonclerk1.payment_email}",
          "firstName": "{moonclerk1.payment_name}",
          "lastName": "",
          "phone": ""
        },
        "application": "activecampaign",
        "action": "create_or_update_contact",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Start the welcome automation",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "activecampaign",
            "fm_app": "activecampaign"
          },
          "eventSlug": "add_contact_to_automation",
          "eventTitle": "Add Existing Contact to Automation"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "contact_id": "{activecampaign2.contact_id}",
          "automation_id": ""
        },
        "application": "activecampaign",
        "action": "add_contact_to_automation",
        "nodeType": "step",
        "stepID": "3"
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 525,
          "y": 0
        },
        "type": "placeholder",
        "data": {
          "label": "+",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "measured": {
          "width": 40,
          "height": 82
        },
        "stepID": "main_end_placeholder",
        "nodeType": "placeholder",
        "actionAppArgs": []
      }
    ],
    "edges": [
      {
        "id": "e-1-2",
        "source": "1",
        "target": "2",
        "type": "step",
        "data": []
      },
      {
        "id": "e-2-3",
        "source": "2",
        "target": "3",
        "type": "step",
        "data": []
      },
      {
        "id": "e-3-main_end_placeholder",
        "source": "3",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "Add MoonClerk payers to an ActiveCampaign welcome automation",
    "folder": "all",
    "description": "After each successful MoonClerk payment, FlowMattic creates or updates the payer in ActiveCampaign and adds them to your welcome automation. Nonprofits, clubs and subscription businesses can thank donors and members right away. After import, add the webhook in MoonClerk and pick the automation.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}