{
  "workflow_name": "Add new WordPress users to ActiveCampaign as tagged contacts",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "New User Registered",
          "app": {
            "key": "wordpress",
            "fm_app": "wordpress"
          },
          "eventSlug": "new_user",
          "eventTitle": "New User",
          "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": "wordpress",
        "stepID": "1",
        "action": "new_user",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "user_id": "57",
          "user_login": "mara.lopez",
          "user_email": "mara.lopez@example.com",
          "display_name": "Mara Lopez",
          "first_name": "Mara",
          "last_name": "Lopez",
          "user_registered": "2026-10-23 09:14:02",
          "roles": "subscriber"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "user_id": "57",
              "user_login": "mara.lopez",
              "user_email": "mara.lopez@example.com",
              "display_name": "Mara Lopez",
              "first_name": "Mara",
              "last_name": "Lopez",
              "user_registered": "2026-10-23 09:14:02",
              "roles": "subscriber"
            }
          }
        ],
        "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": "{wordpress1.user_email}",
          "firstName": "{wordpress1.first_name}",
          "lastName": "{wordpress1.last_name}",
          "phone": ""
        },
        "application": "activecampaign",
        "action": "create_or_update_contact",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Tag the ActiveCampaign contact",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "activecampaign",
            "fm_app": "activecampaign"
          },
          "eventSlug": "add_tag_to_contact",
          "eventTitle": "Add/Remove Tag From Contact"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "contact_id": "{activecampaign2.contact_id}",
          "tag_id": "wordpress-member",
          "tag_action": "add"
        },
        "application": "activecampaign",
        "action": "add_tag_to_contact",
        "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 new WordPress users to ActiveCampaign as tagged contacts",
    "folder": "all",
    "description": "When someone registers on your WordPress site, FlowMattic creates or updates their ActiveCampaign contact and adds a tag so your welcome automation can start. Membership sites and course creators use it to follow up with every new account. After import, connect ActiveCampaign and pick the tag your automation listens for.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}