{
  "workflow_name": "Deliver campaign signups to the channel they prefer",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Campaign Signup",
          "app": {
            "key": "fluent_forms",
            "fm_app": "fluent_forms"
          },
          "eventSlug": "form_submission",
          "eventTitle": "New Form Submission",
          "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": "fluent_forms",
        "stepID": "1",
        "action": "form_submission",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "name": "Jane Doe",
          "email": "jane@example.com",
          "phone": "+15551234567",
          "subject": "Product enquiry",
          "message": "I'd like a demo and pricing for a team of 20.",
          "channel": "telegram",
          "telegram_id": "12345"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "name": "Jane Doe",
              "email": "jane@example.com",
              "phone": "+15551234567",
              "subject": "Product enquiry",
              "message": "I'd like a demo and pricing for a team of 20.",
              "channel": "telegram",
              "telegram_id": "12345"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "nodeType": "router",
        "application": "router",
        "stepID": "2",
        "type": "action",
        "actionAppArgs": [],
        "data": {
          "label": "Router",
          "app": {
            "key": "router",
            "fm_app": "router"
          },
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "stepIndex": 2
        },
        "parentType": "step"
      },
      {
        "id": "2-routerSwitch",
        "position": {
          "x": 275,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "+",
          "stepNumber": null,
          "layoutDirection": "horizontal",
          "app": []
        },
        "routerSwitch": true,
        "stepID": "2-routerSwitch",
        "nodeType": "routerSwitch",
        "actionAppArgs": []
      },
      {
        "id": "2-routerRoute_A",
        "position": {
          "x": 395,
          "y": -225.0
        },
        "type": "action",
        "data": {
          "label": "Route A",
          "stepNumber": null,
          "layoutDirection": "horizontal",
          "app": [],
          "customLabel": "Telegram"
        },
        "routerRoute": true,
        "routeLetter": "A",
        "routeIndex": 0,
        "stepID": "2-routerRoute_A",
        "nodeType": "routerRoute",
        "actionAppArgs": []
      },
      {
        "id": "3",
        "position": {
          "x": 615,
          "y": -225.0
        },
        "type": "action",
        "data": {
          "label": "Route Conditions",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "filter",
            "fm_app": "filter"
          },
          "eventSlug": "continue_if",
          "eventTitle": "Route Conditions",
          "customLabel": "Route Conditions"
        },
        "parentType": "routerRoute",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "filterConditions": {
            "1": [
              {
                "key": "{fluent_forms1.channel}",
                "condition": "contain_text",
                "value": "telegram"
              }
            ]
          }
        },
        "application": "filter",
        "action": "continue_if",
        "nodeType": "step",
        "stepID": "3",
        "filterConditions": {
          "filterConditions": {
            "1": [
              {
                "key": "{fluent_forms1.channel}",
                "condition": "contain_text",
                "value": "telegram"
              }
            ]
          }
        }
      },
      {
        "id": "4",
        "position": {
          "x": 790,
          "y": -225.0
        },
        "type": "action",
        "data": {
          "label": "Send via Telegram",
          "layoutDirection": "horizontal",
          "stepNumber": 4,
          "app": {
            "key": "telegram",
            "fm_app": "telegram"
          },
          "eventSlug": "send_message",
          "eventTitle": "Send a Text Message"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "text": "Thanks for joining, {fluent_forms1.name}! You'll get updates right here.",
          "parse_mode": "HTML"
        },
        "application": "telegram",
        "action": "send_message",
        "nodeType": "step",
        "stepID": "4"
      },
      {
        "id": "2_A_placeholder",
        "position": {
          "x": 965,
          "y": -225.0
        },
        "type": "placeholder",
        "data": {
          "label": "+",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "measured": {
          "width": 40,
          "height": 82
        },
        "stepID": "2_A_placeholder",
        "nodeType": "placeholder",
        "actionAppArgs": []
      },
      {
        "id": "2-routerRoute_B",
        "position": {
          "x": 395,
          "y": 0.0
        },
        "type": "action",
        "data": {
          "label": "Route B",
          "stepNumber": null,
          "layoutDirection": "horizontal",
          "app": [],
          "customLabel": "WhatsApp"
        },
        "routerRoute": true,
        "routeLetter": "B",
        "routeIndex": 1,
        "stepID": "2-routerRoute_B",
        "nodeType": "routerRoute",
        "actionAppArgs": []
      },
      {
        "id": "5",
        "position": {
          "x": 615,
          "y": 0.0
        },
        "type": "action",
        "data": {
          "label": "Route Conditions",
          "layoutDirection": "horizontal",
          "stepNumber": 5,
          "app": {
            "key": "filter",
            "fm_app": "filter"
          },
          "eventSlug": "continue_if",
          "eventTitle": "Route Conditions",
          "customLabel": "Route Conditions"
        },
        "parentType": "routerRoute",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "filterConditions": {
            "1": [
              {
                "key": "{fluent_forms1.channel}",
                "condition": "contain_text",
                "value": "whatsapp"
              }
            ]
          }
        },
        "application": "filter",
        "action": "continue_if",
        "nodeType": "step",
        "stepID": "5",
        "filterConditions": {
          "filterConditions": {
            "1": [
              {
                "key": "{fluent_forms1.channel}",
                "condition": "contain_text",
                "value": "whatsapp"
              }
            ]
          }
        }
      },
      {
        "id": "6",
        "position": {
          "x": 790,
          "y": 0.0
        },
        "type": "action",
        "data": {
          "label": "Send WhatsApp message",
          "layoutDirection": "horizontal",
          "stepNumber": 6,
          "app": {
            "key": "wa_cloud_api",
            "fm_app": "wa_cloud_api"
          },
          "eventSlug": "send_text_message",
          "eventTitle": "Send Text Message"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "mobile_number": "{fluent_forms1.phone}",
          "messageText": "Thanks for joining, {fluent_forms1.name}!"
        },
        "application": "wa_cloud_api",
        "action": "send_text_message",
        "nodeType": "step",
        "stepID": "6"
      },
      {
        "id": "2_B_placeholder",
        "position": {
          "x": 965,
          "y": 0.0
        },
        "type": "placeholder",
        "data": {
          "label": "+",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "measured": {
          "width": 40,
          "height": 82
        },
        "stepID": "2_B_placeholder",
        "nodeType": "placeholder",
        "actionAppArgs": []
      },
      {
        "id": "2-routerRoute_C",
        "position": {
          "x": 395,
          "y": 225.0
        },
        "type": "action",
        "data": {
          "label": "Route C",
          "stepNumber": null,
          "layoutDirection": "horizontal",
          "app": [],
          "customLabel": "Email"
        },
        "routerRoute": true,
        "routeLetter": "C",
        "routeIndex": 2,
        "stepID": "2-routerRoute_C",
        "nodeType": "routerRoute",
        "actionAppArgs": []
      },
      {
        "id": "7",
        "position": {
          "x": 615,
          "y": 225.0
        },
        "type": "action",
        "data": {
          "label": "Route Conditions",
          "layoutDirection": "horizontal",
          "stepNumber": 7,
          "app": {
            "key": "filter",
            "fm_app": "filter"
          },
          "eventSlug": "continue_if",
          "eventTitle": "Route Conditions",
          "customLabel": "Route Conditions"
        },
        "parentType": "routerRoute",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "filterConditions": {
            "1": [
              {
                "key": "{fluent_forms1.email}",
                "condition": "is_not_empty",
                "value": ""
              }
            ]
          }
        },
        "application": "filter",
        "action": "continue_if",
        "nodeType": "step",
        "stepID": "7",
        "filterConditions": {
          "filterConditions": {
            "1": [
              {
                "key": "{fluent_forms1.email}",
                "condition": "is_not_empty",
                "value": ""
              }
            ]
          }
        }
      },
      {
        "id": "8",
        "position": {
          "x": 790,
          "y": 225.0
        },
        "type": "action",
        "data": {
          "label": "Send Email",
          "layoutDirection": "horizontal",
          "stepNumber": 8,
          "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": "{fluent_forms1.email}",
          "email_subject": "Thanks for joining!",
          "email_body": "You'll hear from us soon, {fluent_forms1.name}."
        },
        "application": "email",
        "action": "send_email",
        "nodeType": "step",
        "stepID": "8"
      },
      {
        "id": "2_C_placeholder",
        "position": {
          "x": 965,
          "y": 225.0
        },
        "type": "placeholder",
        "data": {
          "label": "+",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "measured": {
          "width": 40,
          "height": 82
        },
        "stepID": "2_C_placeholder",
        "nodeType": "placeholder",
        "actionAppArgs": []
      }
    ],
    "edges": [
      {
        "id": "e-1-2",
        "source": "1",
        "target": "2",
        "type": "step",
        "data": []
      },
      {
        "id": "e-2-2-routerSwitch",
        "source": "2",
        "target": "2-routerSwitch",
        "type": "router",
        "data": []
      },
      {
        "id": "e-2-routerSwitch-2-routerRoute_A",
        "source": "2-routerSwitch",
        "target": "2-routerRoute_A",
        "type": "router",
        "data": []
      },
      {
        "id": "e-2-routerRoute_A-3",
        "source": "2-routerRoute_A",
        "target": "3",
        "type": "router",
        "data": []
      },
      {
        "id": "e-3-4",
        "source": "3",
        "target": "4",
        "type": "step",
        "data": []
      },
      {
        "id": "e-4-2_A_placeholder",
        "source": "4",
        "target": "2_A_placeholder",
        "type": "placeholder",
        "data": []
      },
      {
        "id": "e-2-routerSwitch-2-routerRoute_B",
        "source": "2-routerSwitch",
        "target": "2-routerRoute_B",
        "type": "router",
        "data": []
      },
      {
        "id": "e-2-routerRoute_B-5",
        "source": "2-routerRoute_B",
        "target": "5",
        "type": "router",
        "data": []
      },
      {
        "id": "e-5-6",
        "source": "5",
        "target": "6",
        "type": "step",
        "data": []
      },
      {
        "id": "e-6-2_B_placeholder",
        "source": "6",
        "target": "2_B_placeholder",
        "type": "placeholder",
        "data": []
      },
      {
        "id": "e-2-routerSwitch-2-routerRoute_C",
        "source": "2-routerSwitch",
        "target": "2-routerRoute_C",
        "type": "router",
        "data": []
      },
      {
        "id": "e-2-routerRoute_C-7",
        "source": "2-routerRoute_C",
        "target": "7",
        "type": "router",
        "data": []
      },
      {
        "id": "e-7-8",
        "source": "7",
        "target": "8",
        "type": "step",
        "data": []
      },
      {
        "id": "e-8-2_C_placeholder",
        "source": "8",
        "target": "2_C_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "Deliver campaign signups to the channel they prefer",
    "folder": "all",
    "description": "A campaign form captures a preferred channel; a Router delivers the follow-up by that channel — Telegram, WhatsApp or email. Uses a Router.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}