{
  "workflow_name": "Create WooCommerce customers for new Qlik users",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Users",
          "app": {
            "key": "qlik",
            "fm_app": "qlik"
          },
          "eventSlug": "users",
          "eventTitle": "Users",
          "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": "qlik",
        "stepID": "1",
        "action": "users",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "cloudEventsVersion": "0.1",
          "source": "com.qlik/user-identity",
          "contentType": "application/json",
          "eventId": "7c1e9a52-2f4b-4d1e-9b0a-5e3f8a6d21c4",
          "eventTime": "2026-10-21T09:12:44Z",
          "eventTypeVersion": "1.0.0",
          "eventType": "com.qlik.user.created",
          "extensions_tenantId": "tnt_Q7x2LmP9",
          "extensions_userId": "usr_4kD8sN2v",
          "data_id": "usr_4kD8sN2v",
          "data_name": "Ana Ruiz",
          "data_email": "ana.ruiz@example.com",
          "data_status": "active",
          "data_tenantId": "tnt_Q7x2LmP9"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "cloudEventsVersion": "0.1",
              "source": "com.qlik/user-identity",
              "contentType": "application/json",
              "eventId": "7c1e9a52-2f4b-4d1e-9b0a-5e3f8a6d21c4",
              "eventTime": "2026-10-21T09:12:44Z",
              "eventTypeVersion": "1.0.0",
              "eventType": "com.qlik.user.created",
              "extensions_tenantId": "tnt_Q7x2LmP9",
              "extensions_userId": "usr_4kD8sN2v",
              "data_id": "usr_4kD8sN2v",
              "data_name": "Ana Ruiz",
              "data_email": "ana.ruiz@example.com",
              "data_status": "active",
              "data_tenantId": "tnt_Q7x2LmP9"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Filter Conditions",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "filter",
            "fm_app": "filter"
          },
          "eventSlug": "continue_if",
          "eventTitle": "Continue If Condition Meet",
          "customLabel": "Only new users"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "filterConditions": {
            "1": [
              {
                "key": "{qlik1.eventType}",
                "condition": "exactly_match",
                "value": "com.qlik.user.created"
              }
            ]
          }
        },
        "application": "filter",
        "action": "continue_if",
        "nodeType": "step",
        "stepID": "2",
        "filterConditions": {
          "filterConditions": {
            "1": [
              {
                "key": "{qlik1.eventType}",
                "condition": "exactly_match",
                "value": "com.qlik.user.created"
              }
            ]
          }
        }
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Create WooCommerce customer",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "woocommerce",
            "fm_app": "woocommerce"
          },
          "eventSlug": "new_customer",
          "eventTitle": "Create a Customer"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "email_id": "{qlik1.data_email}",
          "first_name": "{qlik1.data_name}",
          "last_name": "",
          "phone": ""
        },
        "application": "woocommerce",
        "action": "new_customer",
        "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": "Create WooCommerce customers for new Qlik users",
    "folder": "all",
    "description": "When a user is added to your Qlik Cloud tenant, FlowMattic creates a matching customer account in WooCommerce. It suits analytics teams and agencies that sell report add-ons or renewals through a WooCommerce store. The Qlik Users trigger also fires on deletions, so a filter keeps only new users; after import, set up the Qlik webhook and adjust the name mapping if you store first and last names.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}