{
  "workflow_name": "Celebrate successful Stripe payments in Slack",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Charge Succeeded",
          "app": {
            "key": "stripe",
            "fm_app": "stripe"
          },
          "eventSlug": "charge.succeeded",
          "eventTitle": "New Charge",
          "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": "charge.succeeded",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "id": "ch_1",
          "amount": "9900",
          "currency": "usd",
          "customer_email": "buyer@example.com",
          "customer_name": "Sam Lee",
          "description": "Pro plan"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "id": "ch_1",
              "amount": "9900",
              "currency": "usd",
              "customer_email": "buyer@example.com",
              "customer_name": "Sam Lee",
              "description": "Pro plan"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Notify team on Slack",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "slack",
            "fm_app": "slack"
          },
          "eventSlug": "send_message_to_channel",
          "eventTitle": "Send Channel Message"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "message_text": "💵 Payment: {stripe1.currency} {stripe1.amount} from {stripe1.customer_email} — {stripe1.description}"
        },
        "application": "slack",
        "action": "send_message_to_channel",
        "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": "Celebrate successful Stripe payments in Slack",
    "folder": "all",
    "description": "Every successful Stripe charge posts to your revenue Slack channel — instant motivation for the team.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}