{
  "elementsLearnedData": [],
  "elementsTestData": [],
  "flow": {
    "id": "AB9A2372-6D8E-4295-A124-377E9FA9720E",
    "name": "subscriber.dev: broadcast with a sign-off"
  },
  "flowVersion": {
    "clientMetadata": {
      "viewport": {
        "x": -36.961519240379815,
        "y": 12.01399300349825,
        "zoom": 0.7
      },
      "autoSave": false,
      "descriptions": {
        "flow": "When a marketer adds a broadcast request to an Airtable table, finds the subscriber.dev workflow, reads its send outcomes so far and counts the audience the tag matches, then asks the marketing lead in Slack. On approval, sends the broadcast spread over the agreed hours, follows it until it finishes and writes the sent, failed, skipped and bounced counts back to the request.",
        "initialData": "",
        "initialDataFields": {}
      }
    },
    "description": "When a marketer adds a broadcast request to an Airtable table, finds the subscriber.dev workflow, reads its send outcomes so far and counts the audience the tag matches, then asks the marketing lead in Slack. On approval, sends the broadcast spread over the agreed hours, follows it until it finishes and writes the sent, failed, skipped and bounced counts back to the request.",
    "elements": [
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Confirm the send in the thread Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 968,
            "y": 680
          }
        },
        "flowElementId": "AB4C22C8-C23C-4607-BB96-C2EBFF2F68F8",
        "groupId": null,
        "id": "BD5A3407-38A8-4B95-A0B0-15A591EC2D77",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "channelId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ""
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "messageText",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "Sending "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Workflow",
                    "subPathSegments": [
                      {
                        "key": "name",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "73920765-69CC-46C4-B426-9B4C8C54E752"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " to "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Audience",
                    "subPathSegments": [
                      {
                        "key": "matchedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3A12515-3BAE-4173-B842-C143B77AEB71"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " subscribers tagged "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "tag",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " over "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "sendOverHours",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " hours. Broadcast "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast",
                    "subPathSegments": [
                      {
                        "key": "broadcastId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "962B9707-E3C6-49E9-8C30-3098DF4E771C"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " is "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast",
                    "subPathSegments": [
                      {
                        "key": "status",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "962B9707-E3C6-49E9-8C30-3098DF4E771C"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ". The counts go on the Airtable request and in this thread when it finishes."
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question to lead",
                    "subPathSegments": [
                      {
                        "key": "messageId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "9F8A668E-88E1-46F1-AF75-C35F11E1876E"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendAsBot",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botIcon",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "replyBroadcast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "imageURL",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "blocks",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "sendMessageToChannel",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Send confirmation",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Confirm the send in the thread",
        "nextElementIds": [],
        "nextGroupIds": [
          "3FC78742-75FA-4655-BEB8-060C116C0100"
        ],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Report the result in the thread Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 133,
            "y": 850
          }
        },
        "flowElementId": "982DDF8C-C61D-4210-B34B-BC94A342BB2D",
        "groupId": null,
        "id": "1B83CC9D-2C62-4322-82A4-5891AC50C625",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "channelId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ""
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "messageText",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "Broadcast "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Workflow",
                    "subPathSegments": [
                      {
                        "key": "name",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "73920765-69CC-46C4-B426-9B4C8C54E752"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " to subscribers tagged "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "tag",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " is "
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - status",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.status",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "status",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ": "
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - sent",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.sent",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "sent",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " sent, "
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - failed",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.failed",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "failed",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " failed, "
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - skipped",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.skipped",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "skipped",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " skipped, "
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - bounced",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.bounced",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "bounced",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " bounced, of "
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - matched",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.matched",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "matched",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " matched. The counts are on the Airtable request."
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question to lead",
                    "subPathSegments": [
                      {
                        "key": "messageId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "9F8A668E-88E1-46F1-AF75-C35F11E1876E"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendAsBot",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botIcon",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "replyBroadcast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "imageURL",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "blocks",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "sendMessageToChannel",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Result report",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Report the result in the thread",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the lead's answer Result"
          },
          "position": {
            "x": 582,
            "y": 519
          }
        },
        "flowElementId": "9AFE0F41-D27F-42E0-A016-D4CC40174812",
        "groupId": null,
        "id": "4194BFC8-A345-45B3-8C50-E5A83436FF35",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "decision",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Lead decision",
                    "subPathSegments": [
                      {
                        "key": "decision",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "1DD941C7-510F-4D19-A0E2-A4D702AA9DB2"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const d = String(decision || '').trim().toLowerCase();\nreturn {\n  decision: d,\n  approved: d === 'send' || d === 'send-over-plan',\n  allowOverPlan: d === 'send-over-plan',\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Answer",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Read the lead's answer",
        "nextElementIds": [
          "F7D8755A-7C29-491D-96E4-F3CCCF104F9A"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "data-bucket",
          "isFirstElement": false,
          "blockDefinitionId": "data-bucket",
          "fieldKeys": {
            "status": "fbc2f47a-ec24-4460-b901-bc2b907c77f3",
            "broadcastId": "99e9e9d0-4fa2-450c-97c6-857af18c379e",
            "matched": "4ada0448-d03c-4a23-97a2-1fe90bbb7a45",
            "sent": "5ded72e4-96a2-4c55-be54-0b341a869bcb",
            "failed": "1de869dd-6338-4083-a3d1-875fbf642396",
            "skipped": "ef35ed9d-558f-4c28-be26-357508d802da",
            "bounced": "1ad8e1fe-78a7-49cb-b9a6-2935a15d093f",
            "pending": "6e9b5da6-bd2d-4df5-90ce-a620ed9f5fb0"
          },
          "position": {
            "x": 1379,
            "y": 689
          }
        },
        "flowElementId": "26B3262C-BF92-49C8-8BDB-99331C5D0E7D",
        "groupId": null,
        "id": "E742906D-2C70-4795-B26A-ACA13738426B",
        "metaInfo": {
          "bucketName": "Default",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "fields": [
            {
              "name": "status",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast",
                    "subPathSegments": [
                      {
                        "key": "status",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "962B9707-E3C6-49E9-8C30-3098DF4E771C"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "broadcastId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast",
                    "subPathSegments": [
                      {
                        "key": "broadcastId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "962B9707-E3C6-49E9-8C30-3098DF4E771C"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "matched",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Audience",
                    "subPathSegments": [
                      {
                        "key": "matchedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3A12515-3BAE-4173-B842-C143B77AEB71"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sent",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 0
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "failed",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 0
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "skipped",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 0
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "bounced",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 0
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "pending",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Audience",
                    "subPathSegments": [
                      {
                        "key": "matchedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3A12515-3BAE-4173-B842-C143B77AEB71"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Broadcast memory",
          "storeResult": true
        },
        "name": "Remember the broadcast",
        "nextElementIds": [
          "BD5A3407-38A8-4B95-A0B0-15A591EC2D77"
        ],
        "nextGroupIds": [],
        "type": "DATA_BUCKET"
      },
      {
        "clientMetadata": {
          "elementId": "external-callback",
          "isFirstElement": false,
          "blockDefinitionId": "external-callback",
          "position": {
            "x": 110,
            "y": 519
          }
        },
        "flowElementId": "09E456AE-ABED-4E38-8B1A-CFA87359B446",
        "groupId": null,
        "id": "1DD941C7-510F-4D19-A0E2-A4D702AA9DB2",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": null,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "resultAlias": "Lead decision",
          "slaConditions": [],
          "storeResult": true,
          "type": "CALLBACK"
        },
        "name": "Wait for the marketing lead's answer",
        "nextElementIds": [
          "4194BFC8-A345-45B3-8C50-E5A83436FF35"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "data-bucket",
          "isFirstElement": false,
          "blockDefinitionId": "data-bucket",
          "fieldKeys": {
            "status": "fef712b4-b2c3-4c19-8855-a26c4c2da650",
            "broadcastId": "17b6701d-30e0-4695-ae2c-ca19666518e8",
            "matched": "fa876782-8b1b-405b-99ee-5e156b14798d",
            "sent": "5af222c7-abaf-4f17-b276-04a5904ec991",
            "failed": "e6bb6b0a-5d75-4ba9-9698-332612750fe3",
            "skipped": "4e371314-dd29-47c5-b63d-e831c92b0fdc",
            "bounced": "a0095e56-9ddf-4f89-b7b0-35d922a5cbef",
            "pending": "5194f9e9-615b-4bc5-8632-7167558bb662"
          },
          "position": {
            "x": 713,
            "y": 49
          }
        },
        "flowElementId": "157C625E-99F2-46F8-98C6-631D7980934F",
        "groupId": "3FC78742-75FA-4655-BEB8-060C116C0100",
        "id": "FC7B43CD-1D03-434C-8B40-6722341B2DD6",
        "metaInfo": {
          "bucketName": "Default",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "fields": [
            {
              "name": "status",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast check",
                    "subPathSegments": [
                      {
                        "key": "status",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "0B8345AE-3490-4D85-ABA6-D95BCEAE0EC4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "broadcastId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast",
                    "subPathSegments": [
                      {
                        "key": "broadcastId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "962B9707-E3C6-49E9-8C30-3098DF4E771C"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "matched",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast check",
                    "subPathSegments": [
                      {
                        "key": "matchedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "0B8345AE-3490-4D85-ABA6-D95BCEAE0EC4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sent",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast check",
                    "subPathSegments": [
                      {
                        "key": "sentCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "0B8345AE-3490-4D85-ABA6-D95BCEAE0EC4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "failed",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast check",
                    "subPathSegments": [
                      {
                        "key": "failedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "0B8345AE-3490-4D85-ABA6-D95BCEAE0EC4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "skipped",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast check",
                    "subPathSegments": [
                      {
                        "key": "skippedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "0B8345AE-3490-4D85-ABA6-D95BCEAE0EC4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "bounced",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast check",
                    "subPathSegments": [
                      {
                        "key": "bouncedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "0B8345AE-3490-4D85-ABA6-D95BCEAE0EC4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "pending",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast check",
                    "subPathSegments": [
                      {
                        "key": "pendingCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "0B8345AE-3490-4D85-ABA6-D95BCEAE0EC4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Latest counts",
          "storeResult": true
        },
        "name": "Remember the latest counts",
        "nextElementIds": [],
        "nextGroupIds": [],
        "type": "DATA_BUCKET"
      },
      {
        "clientMetadata": {
          "notes": "Gets a broadcast with its status, how many subscribers it matched and its send outcomes: sent, failed, skipped, pending and bounced.",
          "elementId": "EXTENSION:::SHARED:::default:::subscriber-dev:::getBroadcast",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Check the broadcast Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::subscriber-dev:::getBroadcast",
          "legacyElementId": null,
          "methodName": "getBroadcast",
          "position": {
            "x": 410,
            "y": 40
          }
        },
        "flowElementId": "9DDDE0E7-7071-4234-A7A7-979E37688170",
        "groupId": "3FC78742-75FA-4655-BEB8-060C116C0100",
        "id": "0B8345AE-3490-4D85-ABA6-D95BCEAE0EC4",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "workflowId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "publicId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "broadcastId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast",
                    "subPathSegments": [
                      {
                        "key": "broadcastId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "962B9707-E3C6-49E9-8C30-3098DF4E771C"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "getBroadcast",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Broadcast check",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "subscriber-dev",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Check the broadcast",
        "nextElementIds": [
          "FC7B43CD-1D03-434C-8B40-6722341B2DD6"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Gets a workflow with its steps and its send outcomes: sent, failed, skipped, pending and bounced counts and the success rate.",
          "elementId": "EXTENSION:::SHARED:::default:::subscriber-dev:::getWorkflow",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the workflow's send outcomes Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::subscriber-dev:::getWorkflow",
          "legacyElementId": null,
          "methodName": "getWorkflow",
          "position": {
            "x": 1342,
            "y": 210
          }
        },
        "flowElementId": "26FF27B1-6E3E-48EE-8C86-7D1582C90AC7",
        "groupId": null,
        "id": "73920765-69CC-46C4-B426-9B4C8C54E752",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "workflowId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "publicId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "getWorkflow",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Workflow",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "subscriber-dev",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Read the workflow's send outcomes",
        "nextElementIds": [
          "E3A12515-3BAE-4173-B842-C143B77AEB71"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Lists the workflows of the API key's environment, one page at a time, with their steps and edit links.",
          "elementId": "EXTENSION:::SHARED:::default:::subscriber-dev:::listWorkflows",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "List the workflows in subscriber.dev Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::subscriber-dev:::listWorkflows",
          "legacyElementId": null,
          "methodName": "listWorkflows",
          "position": {
            "x": 538,
            "y": 40
          }
        },
        "flowElementId": "AD201B42-30ED-45DD-B1C9-658550FE179D",
        "groupId": null,
        "id": "81293A8E-612E-4ABD-B305-C21D052D337A",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "type",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "limit",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 100
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "offset",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 0
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "listWorkflows",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Workflows",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "subscriber-dev",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "List the workflows in subscriber.dev",
        "nextElementIds": [
          "59D22F28-2DD4-4069-87EB-CB511BE5C782"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Match the request to a workflow Result"
          },
          "position": {
            "x": 961,
            "y": 49
          }
        },
        "flowElementId": "5D912BC4-E7B4-4FA7-8D1D-9EA8BFD88324",
        "groupId": null,
        "id": "59D22F28-2DD4-4069-87EB-CB511BE5C782",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "workflows",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Workflows",
                    "subPathSegments": [
                      {
                        "key": "workflows",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "81293A8E-612E-4ABD-B305-C21D052D337A"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "requested",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request",
                    "subPathSegments": [
                      {
                        "key": "fields",
                        "optional": false
                      },
                      {
                        "key": "Workflow",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A3CF47F9-A534-4348-AFFE-2D2F247A9BF7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "tag",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request",
                    "subPathSegments": [
                      {
                        "key": "fields",
                        "optional": false
                      },
                      {
                        "key": "Tag",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A3CF47F9-A534-4348-AFFE-2D2F247A9BF7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "hours",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request",
                    "subPathSegments": [
                      {
                        "key": "fields",
                        "optional": false
                      },
                      {
                        "key": "Hours",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A3CF47F9-A534-4348-AFFE-2D2F247A9BF7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const clean = v => String(v == null ? '' : v).trim();\nconst wanted = clean(requested).toLowerCase();\nconst list = Array.isArray(workflows) ? workflows : [];\nconst match = wanted\n  ? list.find(w => clean(w.key).toLowerCase() === wanted || clean(w.publicId).toLowerCase() === wanted)\n    || list.find(w => clean(w.name).toLowerCase() === wanted)\n  : null;\nlet sendOverHours = Number(hours);\nif (!Number.isFinite(sendOverHours) || sendOverHours <= 0) sendOverHours = 24;\nif (sendOverHours > 168) sendOverHours = 168;\nreturn {\n  found: !!match,\n  requested: clean(requested),\n  publicId: match ? match.publicId : '',\n  key: match ? match.key : '',\n  name: match ? match.name : '',\n  editUrl: match ? (match.editUrl || '') : '',\n  tag: clean(tag),\n  sendOverHours,\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Match",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Match the request to a workflow",
        "nextElementIds": [
          "D7CDEAE2-D794-4451-A08E-C822F72EAAD7"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Ask the marketing lead Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 157,
            "y": 210
          }
        },
        "flowElementId": "C0EDE2F5-6CD0-4FD1-B481-0115510589A2",
        "groupId": null,
        "id": "9F8A668E-88E1-46F1-AF75-C35F11E1876E",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "channelId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ""
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "messageText",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question card",
                    "subPathSegments": [
                      {
                        "key": "text",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "74877DC3-8856-4512-9640-48A3F26C607F"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendAsBot",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botIcon",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "replyBroadcast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "imageURL",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "blocks",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question card",
                    "subPathSegments": [
                      {
                        "key": "blocks",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "74877DC3-8856-4512-9640-48A3F26C607F"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "sendMessageToChannel",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Question to lead",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Ask the marketing lead",
        "nextElementIds": [
          "1DD941C7-510F-4D19-A0E2-A4D702AA9DB2"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Updates specific fields in an existing Airtable record while preserving other field values. Perfect for AI agents to modify data based on processed information or user interactions.",
          "elementId": "EXTENSION:::SHARED:::default:::airtable:::updateRecord",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Note the hold on the request Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::airtable:::updateRecord",
          "legacyElementId": "JS###v1###Airtable###updateRecord",
          "methodName": "updateRecord",
          "position": {
            "x": 1368,
            "y": 380
          }
        },
        "flowElementId": "82EF1177-338C-45EC-8B99-8B5C0BF12F8F",
        "groupId": null,
        "id": "5EDCAE08-DDA3-4B2C-BE8F-D4FF6EC15FBB",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "baseId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Airtable base ID",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Airtable base ID"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "tableIdOrName",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "Broadcast requests"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "recordId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A3CF47F9-A534-4348-AFFE-2D2F247A9BF7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "fields",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "{\"Status\": \"Held by the marketing lead. Nothing was sent.\", \"Matched\": \""
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Audience",
                    "subPathSegments": [
                      {
                        "key": "matchedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3A12515-3BAE-4173-B842-C143B77AEB71"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\"}"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": true,
                "resultType": null
              }
            },
            {
              "name": "typecast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_TRUE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": true
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Note the hold on the request', Error: The placeholder \"Airtable base ID\" has no value",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "updateRecord",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Hold noted",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "airtable",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Note the hold on the request",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Updates specific fields in an existing Airtable record while preserving other field values. Perfect for AI agents to modify data based on processed information or user interactions.",
          "elementId": "EXTENSION:::SHARED:::default:::airtable:::updateRecord",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Note the problem on the request Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::airtable:::updateRecord",
          "legacyElementId": "JS###v1###Airtable###updateRecord",
          "methodName": "updateRecord",
          "position": {
            "x": 1749,
            "y": 40
          }
        },
        "flowElementId": "363A0C3C-ADC2-4AAD-A46A-5BB9AA682DCC",
        "groupId": null,
        "id": "0BAD5F15-C2D9-4692-B5F6-66001515F6F2",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "baseId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Airtable base ID",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Airtable base ID"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "tableIdOrName",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "Broadcast requests"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "recordId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A3CF47F9-A534-4348-AFFE-2D2F247A9BF7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "fields",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "{\"Status\": \"Workflow not found: "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "requested",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ". Put the workflow's key, as List Workflows shows it, in the Workflow field and add the request again.\"}"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": true,
                "resultType": null
              }
            },
            {
              "name": "typecast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_TRUE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": true
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Note the problem on the request', Error: The placeholder \"Airtable base ID\" has no value",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "updateRecord",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Problem noted",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "airtable",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Note the problem on the request",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Sends a workflow to every subscriber the audience matches, all at once or spread over up to a week. Sending is asynchronous: use Get Broadcast to follow its progress. Run Preview Broadcast Audience first to check the reach.",
          "elementId": "EXTENSION:::SHARED:::default:::subscriber-dev:::sendBroadcast",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Send the broadcast Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::subscriber-dev:::sendBroadcast",
          "legacyElementId": null,
          "methodName": "sendBroadcast",
          "position": {
            "x": 1396,
            "y": 510
          }
        },
        "flowElementId": "5C632036-8D72-4F12-A3F2-C2597E432566",
        "groupId": null,
        "id": "962B9707-E3C6-49E9-8C30-3098DF4E771C",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "workflowId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "publicId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceType",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "tag"
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceTag",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "tag",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceAttribute",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceOperator",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceValue",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceFilter",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendOverHours",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "sendOverHours",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "allowOverPlan",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Answer",
                    "subPathSegments": [
                      {
                        "key": "allowOverPlan",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "4194BFC8-A345-45B3-8C50-E5A83436FF35"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "sendBroadcast",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Broadcast",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "subscriber-dev",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Send the broadcast",
        "nextElementIds": [
          "E742906D-2C70-4795-B26A-ACA13738426B"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Updates specific fields in an existing Airtable record while preserving other field values. Perfect for AI agents to modify data based on processed information or user interactions.",
          "elementId": "EXTENSION:::SHARED:::default:::airtable:::updateRecord",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Record the result on the request Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::airtable:::updateRecord",
          "legacyElementId": "JS###v1###Airtable###updateRecord",
          "methodName": "updateRecord",
          "position": {
            "x": 125,
            "y": 680
          }
        },
        "flowElementId": "4F613778-324A-4E80-8860-A5EEB12BDAA9",
        "groupId": null,
        "id": "04D7B7A7-0F25-4511-A50A-5D4FE8CDAFA6",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "baseId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Airtable base ID",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Airtable base ID"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "tableIdOrName",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "Broadcast requests"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "recordId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A3CF47F9-A534-4348-AFFE-2D2F247A9BF7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "fields",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "{\"Status\": \""
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - status",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.status",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "status",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\", \"Broadcast ID\": \""
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Broadcast",
                    "subPathSegments": [
                      {
                        "key": "broadcastId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "962B9707-E3C6-49E9-8C30-3098DF4E771C"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\", \"Matched\": \""
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - matched",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.matched",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "matched",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\", \"Sent\": \""
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - sent",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.sent",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "sent",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\", \"Failed\": \""
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - failed",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.failed",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "failed",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\", \"Skipped\": \""
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - skipped",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.skipped",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "skipped",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\", \"Bounced\": \""
                  },
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - bounced",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.bounced",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "bounced",
                        "optional": false
                      }
                    ]
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\"}"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": true,
                "resultType": null
              }
            },
            {
              "name": "typecast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_TRUE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": true
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Record the result on the request', Error: The placeholder \"Airtable base ID\" has no value",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "updateRecord",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Result recorded",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "airtable",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Record the result on the request",
        "nextElementIds": [
          "1B83CC9D-2C62-4322-82A4-5891AC50C625"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "wait",
          "isFirstElement": true,
          "blockDefinitionId": "wait",
          "mode": "SIMPLE",
          "position": {
            "x": 110,
            "y": 49
          }
        },
        "flowElementId": "BD0ED005-2D13-4946-9960-4714EB7EC6DA",
        "groupId": "3FC78742-75FA-4655-BEB8-060C116C0100",
        "id": "7CCCDE17-C3A6-4034-B8EA-AD8B16848EA3",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "delay": {
            "expression": [
              {
                "id": "NUMBER",
                "label": null,
                "type": "INPUT",
                "value": 1800
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": "DOUBLE"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Half hour",
          "storeResult": true
        },
        "name": "Wait 30 minutes",
        "nextElementIds": [
          "0B8345AE-3490-4D85-ABA6-D95BCEAE0EC4"
        ],
        "nextGroupIds": [],
        "type": "WAIT"
      },
      {
        "clientMetadata": {
          "notes": "Counts how many subscribers an audience matches right now, without creating or sending anything. Use it to check a broadcast's reach before sending it.",
          "elementId": "EXTENSION:::SHARED:::default:::subscriber-dev:::previewBroadcastAudience",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Count the audience Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::subscriber-dev:::previewBroadcastAudience",
          "legacyElementId": null,
          "methodName": "previewBroadcastAudience",
          "position": {
            "x": 1002,
            "y": 210
          }
        },
        "flowElementId": "AC1C2721-A2D9-4BD2-B1B7-6EAC6A2BAB19",
        "groupId": null,
        "id": "E3A12515-3BAE-4173-B842-C143B77AEB71",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "workflowId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "publicId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceType",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "tag"
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceTag",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "tag",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceAttribute",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceOperator",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceValue",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "audienceFilter",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "previewBroadcastAudience",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Audience",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "subscriber-dev",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Count the audience",
        "nextElementIds": [
          "74877DC3-8856-4512-9640-48A3F26C607F"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 1002,
            "y": 519
          }
        },
        "flowElementId": "DA37BA64-E788-4D01-8078-22C90243F4B7",
        "groupId": null,
        "id": "F7D8755A-7C29-491D-96E4-F3CCCF104F9A",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "204327f5-8cdf-4703-beaf-f2186ba090db",
                "nestedOperation": null,
                "operation": "isTrue",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Answer",
                      "subPathSegments": [
                        {
                          "key": "approved",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "4194BFC8-A345-45B3-8C50-E5A83436FF35"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "BOOLEAN",
                "values": []
              }
            ],
            "grouping": [
              "204327f5-8cdf-4703-beaf-f2186ba090db"
            ]
          },
          "elseComponent": {
            "componentId": "5EDCAE08-DDA3-4B2C-BE8F-D4FF6EC15FBB",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Approved",
          "storeResult": false,
          "thenComponent": {
            "componentId": "962B9707-E3C6-49E9-8C30-3098DF4E771C",
            "componentType": "ELEMENT"
          }
        },
        "name": "Approved?",
        "nextElementIds": [
          "5EDCAE08-DDA3-4B2C-BE8F-D4FF6EC15FBB",
          "962B9707-E3C6-49E9-8C30-3098DF4E771C"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Monitors an Airtable table for newly created records using configurable polling intervals. Perfect for triggering workflows when fresh data is added. The table needs a field of type \"Created time\" (Add field, then choose Created time): Airtable sorts records only by a field, and the trigger sorts by that one, newest first. Each poll keeps reading pages of 100 while they still hold new records, up to 1,000 records per poll. Polling interval can be customized (minimum 30 seconds).",
          "elementId": "EXTENSION:::SHARED:::default:::airtable:::onNewRecord",
          "isFirstElement": true,
          "blockDefinitionId": "EXTENSION:::SHARED:::default:::airtable:::onNewRecord",
          "newElementId": "EXTENSION:::SHARED:::default:::airtable:::onNewRecord",
          "legacyElementId": "JS###v1###Airtable###onNewRecord",
          "methodName": "onNewRecord",
          "position": {
            "x": 156,
            "y": 40
          }
        },
        "flowElementId": "5C79A002-34EF-4BDB-BF1B-2C04BD6C6DE5",
        "groupId": null,
        "id": "A3CF47F9-A534-4348-AFFE-2D2F247A9BF7",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": "Block: 'New broadcast request', Error: Base ID is required",
            "valid": false
          },
          "condition": null,
          "connectionId": null,
          "dynamicData": [],
          "eventName": "onNewRecord",
          "frequency": {
            "repeat": {
              "every": 300
            },
            "schedule": "custom"
          },
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Request",
          "serviceId": "airtable",
          "slaConditions": [],
          "staticData": {
            "tableIdOrName": "Broadcast requests"
          },
          "storeResult": true,
          "subtype": "POLLING",
          "type": "CUSTOM"
        },
        "name": "New broadcast request",
        "nextElementIds": [
          "81293A8E-612E-4ABD-B305-C21D052D337A"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the question for the marketing lead Result"
          },
          "position": {
            "x": 521,
            "y": 219
          }
        },
        "flowElementId": "932AB5D5-E557-43EF-9BA4-F632CD7427F8",
        "groupId": null,
        "id": "74877DC3-8856-4512-9640-48A3F26C607F",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "workflowName",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Workflow",
                    "subPathSegments": [
                      {
                        "key": "name",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "73920765-69CC-46C4-B426-9B4C8C54E752"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "editUrl",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Workflow",
                    "subPathSegments": [
                      {
                        "key": "editUrl",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "73920765-69CC-46C4-B426-9B4C8C54E752"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sentCount",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Workflow",
                    "subPathSegments": [
                      {
                        "key": "sentCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "73920765-69CC-46C4-B426-9B4C8C54E752"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "bouncedCount",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Workflow",
                    "subPathSegments": [
                      {
                        "key": "bouncedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "73920765-69CC-46C4-B426-9B4C8C54E752"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "failedCount",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Workflow",
                    "subPathSegments": [
                      {
                        "key": "failedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "73920765-69CC-46C4-B426-9B4C8C54E752"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "successRate",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Workflow",
                    "subPathSegments": [
                      {
                        "key": "successRate",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "73920765-69CC-46C4-B426-9B4C8C54E752"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "matchedCount",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Audience",
                    "subPathSegments": [
                      {
                        "key": "matchedCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E3A12515-3BAE-4173-B842-C143B77AEB71"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "tag",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "tag",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "hours",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Match",
                    "subPathSegments": [
                      {
                        "key": "sendOverHours",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "answerLink",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Answer link",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Answer link"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "executionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "EXECUTION_ID",
                    "label": null,
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.executionId",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "executionId",
                        "optional": false
                      }
                    ]
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const link = (decision) => `${answerLink}?execution=${encodeURIComponent(executionId)}&decision=${decision}`;\nconst n = v => Number(v) || 0;\nconst rate = successRate === '' || successRate == null ? null : Math.round(Number(successRate) * 100);\nconst lines = [\n  `*Broadcast request: ${workflowName} to subscribers tagged ${tag}*`,\n  `Audience right now: *${n(matchedCount)}* opted-in subscribers match the tag.`,\n  `This workflow so far: ${n(sentCount)} sent, ${n(bouncedCount)} bounced, ${n(failedCount)} failed` + (rate === null ? '.' : ` (${rate}% success).`),\n  editUrl ? `<${editUrl}|Open the workflow in subscriber.dev>` : null,\n  `This sends real email through your own provider, spread over ${hours} hours. Allow Over Plan stays off unless you choose Send even if over plan; on subscriber.dev cloud that moves the workspace up one plan after 3 days.`,\n].filter(Boolean);\nreturn {\n  text: `Broadcast request: ${workflowName} to ${n(matchedCount)} subscribers tagged ${tag}, over ${hours} hours. Send or hold?`,\n  blocks: [\n    { type: 'section', text: { type: 'mrkdwn', text: lines.join('\\n') } },\n    { type: 'actions', elements: [\n      { type: 'button', style: 'primary', text: { type: 'plain_text', text: `Send over ${hours} hours` }, url: link('send') },\n      { type: 'button', text: { type: 'plain_text', text: 'Send even if over plan' }, url: link('send-over-plan') },\n      { type: 'button', style: 'danger', text: { type: 'plain_text', text: 'Hold' }, url: link('hold') },\n    ] },\n  ],\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Question card",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Write the question for the marketing lead",
        "nextElementIds": [
          "9F8A668E-88E1-46F1-AF75-C35F11E1876E"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 1396,
            "y": 49
          }
        },
        "flowElementId": "81CB7C72-0287-4E54-B14A-AF81216392E9",
        "groupId": null,
        "id": "D7CDEAE2-D794-4451-A08E-C822F72EAAD7",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "0a38df02-efd8-4f42-b5d0-2721c5f30c81",
                "nestedOperation": null,
                "operation": "isTrue",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Match",
                      "subPathSegments": [
                        {
                          "key": "found",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "59D22F28-2DD4-4069-87EB-CB511BE5C782"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "BOOLEAN",
                "values": []
              }
            ],
            "grouping": [
              "0a38df02-efd8-4f42-b5d0-2721c5f30c81"
            ]
          },
          "elseComponent": {
            "componentId": "0BAD5F15-C2D9-4692-B5F6-66001515F6F2",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Workflow found",
          "storeResult": false,
          "thenComponent": {
            "componentId": "73920765-69CC-46C4-B426-9B4C8C54E752",
            "componentType": "ELEMENT"
          }
        },
        "name": "Workflow found?",
        "nextElementIds": [
          "0BAD5F15-C2D9-4692-B5F6-66001515F6F2",
          "73920765-69CC-46C4-B426-9B4C8C54E752"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      }
    ],
    "firstElementId": "A3CF47F9-A534-4348-AFFE-2D2F247A9BF7",
    "groups": [
      {
        "clientMetadata": {
          "elementId": "repeat",
          "isFirstElement": false,
          "blockDefinitionId": "repeat",
          "viewport": {
            "x": -70,
            "y": 0,
            "zoom": 1
          },
          "position": {
            "x": 577,
            "y": 689
          }
        },
        "flowElementId": "904B966C-A68B-45AB-95BE-844677D45BF3",
        "groupId": null,
        "id": "3FC78742-75FA-4655-BEB8-060C116C0100",
        "loopType": "REPEAT",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "f801751d-8dc5-497c-861e-b075a6671b18",
                "nestedOperation": null,
                "operation": "notEqual",
                "property": {
                  "expression": [
                    {
                      "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                      "label": "Default - status",
                      "subPathSegments": null,
                      "type": "EXECUTION_CONTEXT_PATH",
                      "value": "executionContext.dataBuckets.Default.status",
                      "valueSegments": [
                        {
                          "key": "executionContext",
                          "optional": false
                        },
                        {
                          "key": "dataBuckets",
                          "optional": false
                        },
                        {
                          "key": "Default",
                          "optional": false
                        },
                        {
                          "key": "status",
                          "optional": false
                        }
                      ]
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "completed"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "8798ee21-fa67-4ed1-b587-5bd30b746d82",
                "nestedOperation": null,
                "operation": "notEqual",
                "property": {
                  "expression": [
                    {
                      "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                      "label": "Default - status",
                      "subPathSegments": null,
                      "type": "EXECUTION_CONTEXT_PATH",
                      "value": "executionContext.dataBuckets.Default.status",
                      "valueSegments": [
                        {
                          "key": "executionContext",
                          "optional": false
                        },
                        {
                          "key": "dataBuckets",
                          "optional": false
                        },
                        {
                          "key": "Default",
                          "optional": false
                        },
                        {
                          "key": "status",
                          "optional": false
                        }
                      ]
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "cancelled"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "d445cb99-0a67-42d1-8543-b29624f0a9ba",
                "nestedOperation": null,
                "operation": "notEqual",
                "property": {
                  "expression": [
                    {
                      "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                      "label": "Default - status",
                      "subPathSegments": null,
                      "type": "EXECUTION_CONTEXT_PATH",
                      "value": "executionContext.dataBuckets.Default.status",
                      "valueSegments": [
                        {
                          "key": "executionContext",
                          "optional": false
                        },
                        {
                          "key": "dataBuckets",
                          "optional": false
                        },
                        {
                          "key": "Default",
                          "optional": false
                        },
                        {
                          "key": "status",
                          "optional": false
                        }
                      ]
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "canceled"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "6ff19084-e8d1-426c-8d0a-4228ac2b60bf",
                "nestedOperation": null,
                "operation": "notEqual",
                "property": {
                  "expression": [
                    {
                      "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                      "label": "Default - status",
                      "subPathSegments": null,
                      "type": "EXECUTION_CONTEXT_PATH",
                      "value": "executionContext.dataBuckets.Default.status",
                      "valueSegments": [
                        {
                          "key": "executionContext",
                          "optional": false
                        },
                        {
                          "key": "dataBuckets",
                          "optional": false
                        },
                        {
                          "key": "Default",
                          "optional": false
                        },
                        {
                          "key": "status",
                          "optional": false
                        }
                      ]
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "failed"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "f801751d-8dc5-497c-861e-b075a6671b18",
              "AND",
              "8798ee21-fa67-4ed1-b587-5bd30b746d82",
              "AND",
              "d445cb99-0a67-42d1-8543-b29624f0a9ba",
              "AND",
              "6ff19084-e8d1-426c-8d0a-4228ac2b60bf"
            ]
          },
          "enabled": true,
          "firstElementId": "7CCCDE17-C3A6-4034-B8EA-AD8B16848EA3",
          "maxIterations": 350,
          "onFailElemId": null,
          "resultAlias": "Follow loop",
          "storeResult": true
        },
        "name": "Until the send is finished",
        "nextElementIds": [
          "04D7B7A7-0F25-4511-A50A-5D4FE8CDAFA6"
        ],
        "nextGroupIds": [],
        "type": "LOOP"
      }
    ],
    "id": "F95B5DA2-3899-4EFE-8635-12F6DDFA1D08",
    "metaInfo": {
      "clientValidationState": {
        "errorMessage": "Please fix problems before start. Blocks with issues have red badge in the top-right corner of a block, hover it to see what needs to be done.",
        "valid": false
      },
      "errorMessage": "Please fix problems before start. Blocks with issues have red badge in the top-right corner of a block, hover it to see what needs to be done.",
      "executionStaticData": [
        {
          "description": "The URL of the block Wait for the marketing lead's answer. The Slack buttons open it.",
          "error": null,
          "name": "Answer link",
          "type": "STRING",
          "value": ""
        },
        {
          "description": "The ID of the Airtable base that holds the Broadcast requests table. It starts with app.",
          "error": null,
          "name": "Airtable base ID",
          "type": "STRING",
          "value": ""
        }
      ],
      "initialData": null,
      "initialDataDefaultValues": {},
      "ownerFlowVersionId": null,
      "schedule": null,
      "sharedMemory": {
        "anchor": {
          "missingAnchorPolicy": null,
          "path": null,
          "type": "FLOW_MEMORY"
        },
        "expirationInSec": null
      },
      "wasLive": false
    }
  },
  "slaCalendars": [],
  "slaGoals": [],
  "subFlows": [],
  "exportDate": "2026-12-02T08:37:03.047Z"
}
