{
  "workflow_name": "Add Facebook Lead Ads leads to an ActiveCampaign list",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "New Lead",
          "app": {
            "key": "facebook_lead_ads",
            "fm_app": "facebook_lead_ads"
          },
          "eventSlug": "new_lead",
          "eventTitle": "New Lead",
          "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": "facebook_lead_ads",
        "stepID": "1",
        "action": "new_lead",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "leadgen_id": "1029384756473829",
          "page_id": "102938475610",
          "form_id": "8273645190",
          "ad_id": "23851234567890",
          "adgroup_id": "23851234567001",
          "created_time": "1792311600",
          "created_at": "2026-10-21 12:20:00",
          "field_email": "jordan.hayes@example.com",
          "field_first_name": "Jordan",
          "field_last_name": "Hayes",
          "field_phone_number": "+15550163344"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "leadgen_id": "1029384756473829",
              "page_id": "102938475610",
              "form_id": "8273645190",
              "ad_id": "23851234567890",
              "adgroup_id": "23851234567001",
              "created_time": "1792311600",
              "created_at": "2026-10-21 12:20:00",
              "field_email": "jordan.hayes@example.com",
              "field_first_name": "Jordan",
              "field_last_name": "Hayes",
              "field_phone_number": "+15550163344"
            }
          }
        ],
        "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": "{facebook_lead_ads1.field_email}",
          "firstName": "{facebook_lead_ads1.field_first_name}",
          "lastName": "{facebook_lead_ads1.field_last_name}",
          "phone": "{facebook_lead_ads1.field_phone_number}"
        },
        "application": "activecampaign",
        "action": "create_or_update_contact",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Subscribe contact to ActiveCampaign list",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "activecampaign",
            "fm_app": "activecampaign"
          },
          "eventSlug": "subscribe_contact_to_list",
          "eventTitle": "Subscribe or Unsubscribe Contact From List"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "contact_id": "{activecampaign2.contact_id}",
          "list_id": "",
          "status": "1"
        },
        "application": "activecampaign",
        "action": "subscribe_contact_to_list",
        "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 Facebook Lead Ads leads to an ActiveCampaign list",
    "folder": "all",
    "description": "New leads from your Facebook lead form are created or updated as ActiveCampaign contacts and subscribed to the list you choose, so your welcome emails reach them while the ad is still fresh. Advertisers stop downloading CSV files from Meta. After import, connect your Facebook page and form, connect ActiveCampaign and select the list.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}