{
  "elementsLearnedData": [],
  "elementsTestData": [],
  "flow": {
    "id": "D5E1A44B-0FA9-40F0-B6D5-F92511F604CD",
    "name": "FundingData: seed rounds to the sales channel"
  },
  "flowVersion": {
    "clientMetadata": {
      "viewport": {
        "x": -55.65217391304347,
        "y": 5.217391304347828,
        "zoom": 0.87
      },
      "autoSave": false,
      "descriptions": {
        "flow": "Checks FundingData once a day for new AI seed rounds in Europe above the minimum amount. For each one, reads the company's funding history by its FundingData id, has an AI agent write a two-line brief, and posts it to the sales channel in Slack with the source link and a Source: FundingData credit. The territory owner clicks Add to pipeline or Pass. A yes opens the company and a deal in HubSpot; either answer is noted in the Slack thread.",
        "initialData": "",
        "initialDataFields": {}
      }
    },
    "description": "Checks FundingData once a day for new AI seed rounds in Europe, reads the company's funding history, writes a two-line brief and posts it to the sales channel in Slack credited to FundingData. The territory owner clicks Add to pipeline or Pass; a yes opens the company and a deal in HubSpot.",
    "elements": [
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the Slack card Result"
          },
          "position": {
            "x": 1390,
            "y": 49
          }
        },
        "flowElementId": "277E17B6-1E9A-4221-A581-7D265AC8B90A",
        "groupId": null,
        "id": "ED6A0BC0-EEBD-43D6-B7D7-57652682CCCC",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "company",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "company",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "country",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "country",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "stage",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "stage",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "amountUSD",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "amountUSD",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "amountNative",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "amountNative",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "currency",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "currency",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "date",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "date",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "leadInvestors",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "leadInvestors",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "investors",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "investors",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sourceUrl",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "citation",
                        "optional": false
                      },
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sourceTitle",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "citation",
                        "optional": false
                      },
                      {
                        "key": "title",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sourcePublisher",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "citation",
                        "optional": false
                      },
                      {
                        "key": "publisher",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "totalRaised",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Company history",
                    "subPathSegments": [
                      {
                        "key": "totalRaisedUSD",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "1796A759-29E3-45A0-B065-4DCEC8D16EE8"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "roundCount",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Company history",
                    "subPathSegments": [
                      {
                        "key": "roundCount",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "1796A759-29E3-45A0-B065-4DCEC8D16EE8"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "brief",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Brief",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "brief",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "133F1166-A04A-4C02-BB94-9DB101A5C277"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "whyItMatters",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Brief",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "whyItMatters",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "133F1166-A04A-4C02-BB94-9DB101A5C277"
                  }
                ],
                "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 money = (usd) => {\n  const n = Number(usd);\n  if (!n) return 'an undisclosed amount';\n  if (n >= 1e9) return '$' + (n / 1e9).toFixed(1) + 'B';\n  if (n >= 1e6) return '$' + (n / 1e6).toFixed(1) + 'M';\n  return '$' + Math.round(n / 1e3) + 'K';\n};\nconst list = (v) => Array.isArray(v) ? v.filter(Boolean).join(', ') : (typeof v === 'string' ? v : '');\nconst leads = list(leadInvestors);\nconst all = list(investors);\nconst investorLine = leads\n  ? `Led by ${leads}` + (all && all !== leads ? `, with ${all}` : '')\n  : (all ? `Investors: ${all}` : 'Investors not disclosed');\nconst native = currency && currency !== 'USD' && amountNative ? ` (${currency} ${Number(amountNative).toLocaleString('en-US')})` : '';\nconst count = Number(roundCount) || 0;\nconst history = count > 1 ? `${count} rounds on record, ${money(totalRaised)} raised in total` : 'First round on record';\nconst link = (decision) => `${answerLink}?execution=${encodeURIComponent(executionId)}&decision=${decision}`;\nconst source = sourceUrl ? `<${sourceUrl}|${sourceTitle || 'Source article'}>${sourcePublisher ? ' (' + sourcePublisher + ')' : ''}` : null;\nconst lines = [\n  `*${company}* raised ${money(amountUSD)}${native}, ${stage}, ${date}, ${country}`,\n  investorLine,\n  brief,\n  whyItMatters ? `Why it matters: ${whyItMatters}` : null,\n  `History: ${history}`,\n  source,\n  'Source: <https://fundingdata.com|FundingData>',\n].filter(Boolean);\nconst credit = `Source: FundingData${sourceUrl ? ', ' + sourceUrl : ''}`;\nreturn {\n  text: `${company} raised ${money(amountUSD)} (${stage}). Source: FundingData`,\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: 'Add to pipeline' }, url: link('add') },\n      { type: 'button', text: { type: 'plain_text', text: 'Pass' }, url: link('pass') },\n    ] },\n  ],\n  companyDescription: `${brief} ${history}. ${credit}`,\n  dealName: `${company}: ${stage} round, ${money(amountUSD)}`,\n  dealNote: `${stage} round of ${money(amountUSD)}${native} on ${date}. ${investorLine}. ${credit}`,\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Round card",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Write the Slack card",
        "nextElementIds": [
          "CA78CAF2-0904-483F-92DE-C5C4DC128326"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Gets one company's funding history by its stable company id (companyId on any round row), so two companies with the same name never mix.",
          "elementId": "EXTENSION:::SHARED:::default:::fundingdata:::getCompanyById",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the company's funding history Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::fundingdata:::getCompanyById",
          "legacyElementId": null,
          "methodName": "getCompanyById",
          "position": {
            "x": 523,
            "y": 40
          }
        },
        "flowElementId": "74EBB883-1D8D-48A4-825D-87B4A3D5E77E",
        "groupId": null,
        "id": "1796A759-29E3-45A0-B065-4DCEC8D16EE8",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "id",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "companyId",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "stages",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "fields",
              "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": "getCompanyById",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Company history",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "fundingdata",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Read the company's funding history",
        "nextElementIds": [
          "133F1166-A04A-4C02-BB94-9DB101A5C277"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "external-callback",
          "isFirstElement": false,
          "blockDefinitionId": "external-callback",
          "position": {
            "x": 929,
            "y": 349
          }
        },
        "flowElementId": "3ABE0043-90B9-4CC7-B24F-B1AFBC2EA5E5",
        "groupId": null,
        "id": "0C941902-7B1C-4A2E-9511-68BA26C20FBD",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": null,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "resultAlias": "Owner's answer",
          "slaConditions": [],
          "storeResult": true,
          "type": "CALLBACK"
        },
        "name": "Wait for the territory owner's answer",
        "nextElementIds": [
          "E31145AB-3D0D-45FA-A63B-C03B43D64E1C"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 576,
            "y": 349
          }
        },
        "flowElementId": "8D984392-642B-4850-87C0-F10E612C64DD",
        "groupId": null,
        "id": "E31145AB-3D0D-45FA-A63B-C03B43D64E1C",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "6b9155ea-898d-4ace-a36e-d9a701782221",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Owner's answer",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": "0C941902-7B1C-4A2E-9511-68BA26C20FBD"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "add"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "6b9155ea-898d-4ace-a36e-d9a701782221"
            ]
          },
          "elseComponent": {
            "componentId": "9A6A2393-D95C-4B89-9121-213D356E0DF2",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Add it",
          "storeResult": false,
          "thenComponent": {
            "componentId": "B37C8F92-12D3-4473-A205-DB5A389B5EFA",
            "componentType": "ELEMENT"
          }
        },
        "name": "Add to the pipeline?",
        "nextElementIds": [
          "B37C8F92-12D3-4473-A205-DB5A389B5EFA",
          "9A6A2393-D95C-4B89-9121-213D356E0DF2"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "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,
          "dynamicOptionLabels": {
            "channelId": {}
          },
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Confirm the account is open Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 550,
            "y": 510
          }
        },
        "flowElementId": "DA092692-E470-4993-9A50-2A33ADA52CDF",
        "groupId": null,
        "id": "AE624251-52E2-4D55-976E-255422763B73",
        "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": "Added. "
                  },
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "company",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " is now a company in HubSpot with a deal for the "
                  },
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "stage",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " round. Funding details on both records are credited to FundingData."
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Round post",
                    "subPathSegments": [
                      {
                        "key": "messageId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "CA78CAF2-0904-483F-92DE-C5C4DC128326"
                  }
                ],
                "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": "Added note",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Confirm the account is open",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Fires once for each new funding round that matches the filters. Each poll reads every matching round dated within the lookback window, and every row read counts towards your monthly records, so narrow the filters. On the Free plan a key allows 100 requests a day.",
          "elementId": "EXTENSION:::SHARED:::default:::fundingdata:::onNewRound",
          "isFirstElement": true,
          "blockDefinitionId": "EXTENSION:::SHARED:::default:::fundingdata:::onNewRound",
          "newElementId": "EXTENSION:::SHARED:::default:::fundingdata:::onNewRound",
          "legacyElementId": null,
          "methodName": "onNewRound",
          "position": {
            "x": 138,
            "y": 40
          }
        },
        "flowElementId": "06F810F7-D666-4832-B21A-18D744CE7960",
        "groupId": null,
        "id": "7A43295C-F93B-4903-A9B5-91D6BC4E8627",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": null,
          "connectionId": null,
          "dynamicData": [],
          "eventName": "onNewRound",
          "frequency": {
            "repeat": {
              "every": 1
            },
            "schedule": "daily"
          },
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "New round",
          "serviceId": "fundingdata",
          "slaConditions": [],
          "staticData": {
            "lookbackDays": 3,
            "sector": "AI",
            "stage": "Seed",
            "geo": "Europe",
            "minAmountUSD": 1000000
          },
          "storeResult": true,
          "subtype": "POLLING",
          "type": "CUSTOM"
        },
        "name": "New AI seed round in Europe",
        "nextElementIds": [
          "1796A759-29E3-45A0-B065-4DCEC8D16EE8"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "ai-agent",
          "isFirstElement": false,
          "blockDefinitionId": "ai-agent",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the two-line brief Result"
          },
          "tools": {},
          "position": {
            "x": 975,
            "y": 49
          }
        },
        "flowElementId": "06A07D68-9DF9-4573-AE71-1B21392929B1",
        "groupId": null,
        "id": "133F1166-A04A-4C02-BB94-9DB101A5C277",
        "metaInfo": {
          "aiApiKey": null,
          "aiModel": "claude-sonnet-5",
          "aiProvider": "ANTHROPIC",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "dynamicAiApiKey": {
            "expression": [
              {
                "id": "PLACEHOLDER_DATA",
                "label": "Anthropic key",
                "subPathSegments": null,
                "type": "EXECUTION_CONTEXT_STATIC_DATA",
                "value": "Anthropic key"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "files": [],
          "forceParsedOutput": true,
          "langSmithSettings": {
            "enabled": false,
            "apiKey": null,
            "projectName": null,
            "label": "FlowRunner AI-Agent",
            "accountCluster": "US"
          },
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "messagesHistoryEnabled": false,
          "messagesHistoryLimit": 15,
          "onFailElemId": null,
          "resultAlias": "Brief",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "systemPrompt": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "You write two-line briefs on startup funding rounds for a B2B sales team. Use only the facts given; never invent names, amounts or dates. Reply with JSON only, with these fields:\nbrief: one sentence saying who raised how much, at what stage, from which investors, and what the company does if its description is given\nwhyItMatters: one sentence on why this round matters to our team, judged against what we sell\nKeep each sentence under 30 words. Plain English, no exclamation marks, no hype."
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "tools": [],
          "type": "AI_AGENT",
          "userPrompt": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "What we sell: "
              },
              {
                "id": "PLACEHOLDER_DATA",
                "label": "What we sell",
                "subPathSegments": null,
                "type": "EXECUTION_CONTEXT_STATIC_DATA",
                "value": "What we sell"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\n\nThe round:\nCompany: "
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "company",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": " ("
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "country",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": ")\nStage: "
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "stage",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nAmount in USD: "
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "amountUSD",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nAmount as announced: "
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "amountNative",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": " "
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "currency",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nDate: "
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "date",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nLead investors: "
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "leadInvestors",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nAll investors: "
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "investors",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nSource article: "
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "citation",
                    "optional": false
                  },
                  {
                    "key": "title",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": " ("
              },
              {
                "id": "RESULT",
                "label": "New round",
                "subPathSegments": [
                  {
                    "key": "citation",
                    "optional": false
                  },
                  {
                    "key": "publisher",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": ")\n\nThe company's history from FundingData:\nTotal raised in USD: "
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Company history",
                "subPathSegments": [
                  {
                    "key": "totalRaisedUSD",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "1796A759-29E3-45A0-B065-4DCEC8D16EE8"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nNumber of rounds: "
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Company history",
                "subPathSegments": [
                  {
                    "key": "roundCount",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "1796A759-29E3-45A0-B065-4DCEC8D16EE8"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nFirst round: "
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Company history",
                "subPathSegments": [
                  {
                    "key": "firstDate",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "1796A759-29E3-45A0-B065-4DCEC8D16EE8"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nFounders: "
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Company history",
                "subPathSegments": [
                  {
                    "key": "founders",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "1796A759-29E3-45A0-B065-4DCEC8D16EE8"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nInvestors over time: "
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Company history",
                "subPathSegments": [
                  {
                    "key": "investors",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "1796A759-29E3-45A0-B065-4DCEC8D16EE8"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nDescription: "
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Company history",
                "subPathSegments": [
                  {
                    "key": "profile",
                    "optional": false
                  },
                  {
                    "key": "description",
                    "optional": false
                  },
                  {
                    "key": "text",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "1796A759-29E3-45A0-B065-4DCEC8D16EE8"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          }
        },
        "name": "Write the two-line brief",
        "nextElementIds": [
          "ED6A0BC0-EEBD-43D6-B7D7-57652682CCCC"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Creates a new company record in your HubSpot account with the specified properties. Company records help organize and track business relationships, with properties for company details like name, domain, industry, and size.",
          "elementId": "EXTENSION:::SHARED:::default:::hubspot:::createCompany",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Open the account in HubSpot Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::hubspot:::createCompany",
          "legacyElementId": "JS###v1###HubSpotService###createCompany",
          "methodName": "createCompany",
          "position": {
            "x": 136,
            "y": 340
          }
        },
        "flowElementId": "C002D25D-D955-458D-8B9B-71BE8740675C",
        "groupId": null,
        "id": "B37C8F92-12D3-4473-A205-DB5A389B5EFA",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "properties",
              "type": "COMPLEX_LIST",
              "value": [
                {
                  "type": "OBJECT",
                  "value": [
                    {
                      "name": "name",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "TEXT",
                            "label": null,
                            "type": "INPUT",
                            "value": "name"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    },
                    {
                      "name": "value",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "RESULT",
                            "label": "New round",
                            "subPathSegments": [
                              {
                                "key": "company",
                                "optional": false
                              }
                            ],
                            "type": "TRIGGER_DATA",
                            "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    }
                  ]
                },
                {
                  "type": "OBJECT",
                  "value": [
                    {
                      "name": "name",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "TEXT",
                            "label": null,
                            "type": "INPUT",
                            "value": "country"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    },
                    {
                      "name": "value",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "RESULT",
                            "label": "New round",
                            "subPathSegments": [
                              {
                                "key": "country",
                                "optional": false
                              }
                            ],
                            "type": "TRIGGER_DATA",
                            "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    }
                  ]
                },
                {
                  "type": "OBJECT",
                  "value": [
                    {
                      "name": "name",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "TEXT",
                            "label": null,
                            "type": "INPUT",
                            "value": "description"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    },
                    {
                      "name": "value",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "ELEMENT_RESULT",
                            "label": "Round card",
                            "subPathSegments": [
                              {
                                "key": "companyDescription",
                                "optional": false
                              }
                            ],
                            "type": "ELEMENT_LINK",
                            "value": "ED6A0BC0-EEBD-43D6-B7D7-57652682CCCC"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    }
                  ]
                }
              ]
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Open the account in HubSpot', Error: OAuth Connection is required",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "createCompany",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "HubSpot company",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "hubspot",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Open the account in HubSpot",
        "nextElementIds": [
          "3CFEEC7C-E51E-46E9-8397-ABFA22615FF0"
        ],
        "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,
          "dynamicOptionLabels": {
            "channelId": {}
          },
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Post the round to the sales channel Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 1340,
            "y": 340
          }
        },
        "flowElementId": "12CE1A12-AA38-4E4F-BBDF-D62A249CA357",
        "groupId": null,
        "id": "CA78CAF2-0904-483F-92DE-C5C4DC128326",
        "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": "Round card",
                    "subPathSegments": [
                      {
                        "key": "text",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "ED6A0BC0-EEBD-43D6-B7D7-57652682CCCC"
                  }
                ],
                "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": "Round card",
                    "subPathSegments": [
                      {
                        "key": "blocks",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "ED6A0BC0-EEBD-43D6-B7D7-57652682CCCC"
                  }
                ],
                "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": "Round post",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Post the round to the sales channel",
        "nextElementIds": [
          "0C941902-7B1C-4A2E-9511-68BA26C20FBD"
        ],
        "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,
          "dynamicOptionLabels": {
            "channelId": {}
          },
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Note the pass Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 167,
            "y": 210
          }
        },
        "flowElementId": "3F56D046-DB68-4AC5-82BB-4C2869220ACA",
        "groupId": null,
        "id": "9A6A2393-D95C-4B89-9121-213D356E0DF2",
        "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": "Passed. "
                  },
                  {
                    "id": "RESULT",
                    "label": "New round",
                    "subPathSegments": [
                      {
                        "key": "company",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " was not added to the pipeline."
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Round post",
                    "subPathSegments": [
                      {
                        "key": "messageId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "CA78CAF2-0904-483F-92DE-C5C4DC128326"
                  }
                ],
                "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": "Pass note",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Note the pass",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Creates a new deal record in your HubSpot account with the specified properties. Deals represent sales opportunities and can be associated with contacts and companies to track the sales pipeline effectively.",
          "elementId": "EXTENSION:::SHARED:::default:::hubspot:::createDeal",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Add the deal with the round attached Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::hubspot:::createDeal",
          "legacyElementId": "JS###v1###HubSpotService###createDeal",
          "methodName": "createDeal",
          "position": {
            "x": 110,
            "y": 510
          }
        },
        "flowElementId": "41C98779-C3E6-410F-AD8C-BF9E4DF0FF99",
        "groupId": null,
        "id": "3CFEEC7C-E51E-46E9-8397-ABFA22615FF0",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "properties",
              "type": "COMPLEX_LIST",
              "value": [
                {
                  "type": "OBJECT",
                  "value": [
                    {
                      "name": "name",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "TEXT",
                            "label": null,
                            "type": "INPUT",
                            "value": "dealname"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    },
                    {
                      "name": "value",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "ELEMENT_RESULT",
                            "label": "Round card",
                            "subPathSegments": [
                              {
                                "key": "dealName",
                                "optional": false
                              }
                            ],
                            "type": "ELEMENT_LINK",
                            "value": "ED6A0BC0-EEBD-43D6-B7D7-57652682CCCC"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    }
                  ]
                },
                {
                  "type": "OBJECT",
                  "value": [
                    {
                      "name": "name",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "TEXT",
                            "label": null,
                            "type": "INPUT",
                            "value": "amount"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    },
                    {
                      "name": "value",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "RESULT",
                            "label": "New round",
                            "subPathSegments": [
                              {
                                "key": "amountUSD",
                                "optional": false
                              }
                            ],
                            "type": "TRIGGER_DATA",
                            "value": "7A43295C-F93B-4903-A9B5-91D6BC4E8627"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    }
                  ]
                },
                {
                  "type": "OBJECT",
                  "value": [
                    {
                      "name": "name",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "TEXT",
                            "label": null,
                            "type": "INPUT",
                            "value": "pipeline"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    },
                    {
                      "name": "value",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "TEXT",
                            "label": null,
                            "type": "INPUT",
                            "value": "default"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    }
                  ]
                },
                {
                  "type": "OBJECT",
                  "value": [
                    {
                      "name": "name",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "TEXT",
                            "label": null,
                            "type": "INPUT",
                            "value": "dealstage"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    },
                    {
                      "name": "value",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "TEXT",
                            "label": null,
                            "type": "INPUT",
                            "value": "appointmentscheduled"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    }
                  ]
                },
                {
                  "type": "OBJECT",
                  "value": [
                    {
                      "name": "name",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "TEXT",
                            "label": null,
                            "type": "INPUT",
                            "value": "description"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    },
                    {
                      "name": "value",
                      "type": "SIMPLE",
                      "value": {
                        "expression": [
                          {
                            "id": "ELEMENT_RESULT",
                            "label": "Round card",
                            "subPathSegments": [
                              {
                                "key": "dealNote",
                                "optional": false
                              }
                            ],
                            "type": "ELEMENT_LINK",
                            "value": "ED6A0BC0-EEBD-43D6-B7D7-57652682CCCC"
                          }
                        ],
                        "mode": "EXPRESSION",
                        "parseJsonString": false,
                        "resultType": null
                      }
                    }
                  ]
                }
              ]
            },
            {
              "name": "associatedCompanyIds",
              "type": "SIMPLE_LIST",
              "value": [
                {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "HubSpot company",
                      "subPathSegments": [
                        {
                          "key": "companyId",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "B37C8F92-12D3-4473-A205-DB5A389B5EFA"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                }
              ]
            },
            {
              "name": "associatedVids",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Add the deal with the round attached', Error: OAuth Connection is required",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "createDeal",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "HubSpot deal",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "hubspot",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Add the deal with the round attached",
        "nextElementIds": [
          "AE624251-52E2-4D55-976E-255422763B73"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      }
    ],
    "firstElementId": "7A43295C-F93B-4903-A9B5-91D6BC4E8627",
    "groups": [],
    "id": "645CB1F8-435A-4B32-924D-0418DA4CE7FA",
    "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 Anthropic key the brief-writing agent uses.",
          "error": null,
          "name": "Anthropic key",
          "type": "API_KEY",
          "value": null
        },
        {
          "description": "The URL of the block Wait for the territory owner's answer. The Slack buttons open it.",
          "error": null,
          "name": "Answer link",
          "type": "STRING",
          "value": ""
        },
        {
          "description": "One or two sentences on what your team sells and who buys it, so the brief can say why a round matters to you.",
          "error": null,
          "name": "What we sell",
          "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:35:15.998Z"
}
