{
  "workflow_name": "Trigger enterprise finance steps for large payments",
  "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_4",
          "amount": "250000",
          "currency": "usd",
          "customer_email": "cfo@bigco.example.com",
          "description": "Enterprise annual"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "id": "ch_4",
              "amount": "250000",
              "currency": "usd",
              "customer_email": "cfo@bigco.example.com",
              "description": "Enterprise annual"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Record the payment",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "google_spreadsheets",
            "fm_app": "google_spreadsheets"
          },
          "eventSlug": "new_row",
          "eventTitle": "Add New Row"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "google_spreadsheets",
        "action": "new_row",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Branch by FlowMattic",
          "app": {
            "key": "branch",
            "fm_app": "branch"
          },
          "eventSlug": "evaluate_condition",
          "eventTitle": "Branch",
          "customLabel": "Large payment (over $1000)?",
          "layoutDirection": "horizontal",
          "stepNumber": 3
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "filterConditions": {
            "1": [
              {
                "id": "c1",
                "key": "{stripe1.amount}",
                "condition": "greater_than",
                "value": "100000"
              }
            ]
          }
        },
        "filterConditions": {
          "1": [
            {
              "id": "c1",
              "key": "{stripe1.amount}",
              "condition": "greater_than",
              "value": "100000"
            }
          ]
        },
        "application": "branch",
        "stepID": "3",
        "action": "evaluate_condition",
        "nodeType": "branch"
      },
      {
        "id": "3-branchRoute_yes",
        "position": {
          "x": 570,
          "y": -160
        },
        "type": "action",
        "data": {
          "label": "Yes",
          "branchType": "yes",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "branchRoute": true,
        "branchType": "yes",
        "stepID": "3-branchRoute_yes",
        "nodeType": "branchRoute",
        "actionAppArgs": []
      },
      {
        "id": "4",
        "position": {
          "x": 770,
          "y": -160
        },
        "type": "action",
        "data": {
          "label": "Alert finance lead",
          "layoutDirection": "horizontal",
          "stepNumber": 4,
          "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": "🏛️ Large payment: {stripe1.currency} {stripe1.amount} from {stripe1.customer_email}"
        },
        "application": "slack",
        "action": "send_message_to_channel",
        "nodeType": "step",
        "stepID": "4"
      },
      {
        "id": "5",
        "position": {
          "x": 945,
          "y": -160
        },
        "type": "action",
        "data": {
          "label": "Send Email",
          "layoutDirection": "horizontal",
          "stepNumber": 5,
          "app": {
            "key": "email",
            "fm_app": "email"
          },
          "eventSlug": "send_email",
          "eventTitle": "Send Email"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "to_email": "finance@yourcompany.com",
          "email_subject": "Enterprise payment received",
          "email_body": "Issue a formal invoice for {stripe1.customer_email} ({stripe1.description})."
        },
        "application": "email",
        "action": "send_email",
        "nodeType": "step",
        "stepID": "5"
      },
      {
        "id": "3_yes_placeholder",
        "position": {
          "x": 1120,
          "y": -160
        },
        "type": "placeholder",
        "data": {
          "label": "+",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "measured": {
          "width": 40,
          "height": 82
        },
        "stepID": "3_yes_placeholder",
        "nodeType": "placeholder",
        "actionAppArgs": []
      },
      {
        "id": "3-branchRoute_no",
        "position": {
          "x": 570,
          "y": 160
        },
        "type": "action",
        "data": {
          "label": "No",
          "branchType": "no",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "branchRoute": true,
        "branchType": "no",
        "stepID": "3-branchRoute_no",
        "nodeType": "branchRoute",
        "actionAppArgs": []
      },
      {
        "id": "6",
        "position": {
          "x": 770,
          "y": 160
        },
        "type": "action",
        "data": {
          "label": "Send Email",
          "layoutDirection": "horizontal",
          "stepNumber": 6,
          "app": {
            "key": "email",
            "fm_app": "email"
          },
          "eventSlug": "send_email",
          "eventTitle": "Send Email"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "to_email": "{stripe1.customer_email}",
          "email_subject": "Payment received — thank you",
          "email_body": "Your payment of {stripe1.currency} {stripe1.amount} is confirmed."
        },
        "application": "email",
        "action": "send_email",
        "nodeType": "step",
        "stepID": "6"
      },
      {
        "id": "3_no_placeholder",
        "position": {
          "x": 945,
          "y": 160
        },
        "type": "placeholder",
        "data": {
          "label": "+",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "measured": {
          "width": 40,
          "height": 82
        },
        "stepID": "3_no_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-3-branchRoute_yes",
        "source": "3",
        "target": "3-branchRoute_yes",
        "type": "branch",
        "data": []
      },
      {
        "id": "e-3-branchRoute_yes-4",
        "source": "3-branchRoute_yes",
        "target": "4",
        "type": "step",
        "data": []
      },
      {
        "id": "e-4-5",
        "source": "4",
        "target": "5",
        "type": "step",
        "data": []
      },
      {
        "id": "e-5-3_yes_placeholder",
        "source": "5",
        "target": "3_yes_placeholder",
        "type": "placeholder",
        "data": []
      },
      {
        "id": "e-3-3-branchRoute_no",
        "source": "3",
        "target": "3-branchRoute_no",
        "type": "branch",
        "data": []
      },
      {
        "id": "e-3-branchRoute_no-6",
        "source": "3-branchRoute_no",
        "target": "6",
        "type": "step",
        "data": []
      },
      {
        "id": "e-6-3_no_placeholder",
        "source": "6",
        "target": "3_no_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "Trigger enterprise finance steps for large payments",
    "folder": "all",
    "description": "A Branch checks payment size — large payments trigger a finance alert and a formal invoice task, standard ones just get logged and receipted. Uses a Branch on amount.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}