{
  "workflow_name": "Give new ActiveCampaign list subscribers a MemberPress membership",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Contact Subscribed",
          "app": {
            "key": "activecampaign",
            "fm_app": "activecampaign"
          },
          "eventSlug": "subscribe",
          "eventTitle": "Contact Subscribed",
          "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": "activecampaign",
        "stepID": "1",
        "action": "subscribe",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "type": "subscribe",
          "date_time": "2026-10-22T10:12:44-05:00",
          "list": "4",
          "contact_id": "2189",
          "contact_email": "zoe.carter@example.com",
          "contact_first_name": "Zoe",
          "contact_last_name": "Carter"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "type": "subscribe",
              "date_time": "2026-10-22T10:12:44-05:00",
              "list": "4",
              "contact_id": "2189",
              "contact_email": "zoe.carter@example.com",
              "contact_first_name": "Zoe",
              "contact_last_name": "Carter"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Create the MemberPress member",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "memberpress",
            "fm_app": "memberpress"
          },
          "eventSlug": "create_member",
          "eventTitle": "Create Member"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "email": "{activecampaign1.contact_email}",
          "username": "{activecampaign1.contact_email}",
          "first_name": "{activecampaign1.contact_first_name}",
          "last_name": "{activecampaign1.contact_last_name}",
          "send_welcome_email": "1"
        },
        "application": "memberpress",
        "action": "create_member",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Grant the membership",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "memberpress",
            "fm_app": "memberpress"
          },
          "eventSlug": "create_transaction",
          "eventTitle": "Create Transaction"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "member": "{memberpress2.member_id}",
          "amount": "0",
          "total": "0",
          "status": "complete",
          "gateway": "manual"
        },
        "application": "memberpress",
        "action": "create_transaction",
        "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": "Give new ActiveCampaign list subscribers a MemberPress membership",
    "folder": "all",
    "description": "When a contact subscribes to an ActiveCampaign list, FlowMattic creates their MemberPress account and records a free transaction that grants the membership you choose. Use it for lead magnets, free tiers or partner access managed from your CRM. After import, pick the list in the trigger and the membership in the transaction step.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}