{
  "workflow_name": "When Invoice Paid in Stripe, Format Currency in Number Formatter",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Invoice Payment Succeeded",
          "app": {
            "key": "stripe",
            "fm_app": "stripe"
          },
          "eventSlug": "invoice.payment_succeeded",
          "eventTitle": "Invoice Payment Succeeded",
          "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": "stripe",
        "stepID": "1",
        "action": "invoice.payment_succeeded",
        "nodeType": "step",
        "actionAppArgs": []
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Format Currency",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "number_formatter",
            "fm_app": "number_formatter"
          },
          "eventSlug": "format_currency",
          "eventTitle": "Format Currency"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "number_formatter",
        "action": "format_currency",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 350,
          "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-main_end_placeholder",
        "source": "2",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "When Invoice Paid in Stripe, Format Currency in Number Formatter",
    "folder": "all",
    "description": "When a Stripe invoice payment succeeds, FlowMattic formats the amount into clean currency, keeping your reports and notifications consistent and readable.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}