{
  "elementsLearnedData": [],
  "elementsTestData": [],
  "flow": {
    "id": "D3E2F9B6-B349-4684-B5A3-3281D42EAB7D",
    "name": "Verdo: spend sign-off with the precedent"
  },
  "flowVersion": {
    "clientMetadata": {
      "viewport": {
        "x": -44.66190214403518,
        "y": -198.59263331500824,
        "zoom": 0.77
      },
      "autoSave": false,
      "descriptions": {
        "flow": "When a purchase request lands in the requests sheet, finds how the team decided similar spend before, proposes the decision in Verdo with a spend tag, posts the link and the precedent to Slack, and writes the outcome back to the sheet once a person decides.",
        "initialData": "",
        "initialDataFields": {}
      }
    },
    "description": "When a purchase request lands in the requests sheet, finds how the team decided similar spend before, proposes the decision in Verdo with a spend tag, posts the link and the precedent to Slack, and writes the outcome back to the sheet once a person decides.",
    "elements": [
      {
        "clientMetadata": {
          "notes": "Fires when the approver rejects a decision in the workspace. Uses one of the workspace's webhook subscriptions.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionRejected",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-trigger",
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionRejected",
          "legacyElementId": null,
          "methodName": "onDecisionRejected",
          "position": {
            "x": 110,
            "y": 40
          }
        },
        "flowElementId": "52D1A3A6-C962-4344-A367-BD6E8A445AFC",
        "groupId": "66F4DCF2-10C8-4F51-920F-ED196FAB5A65",
        "id": "5D33A8AA-5288-4547-A459-C8F03F98C971",
        "metaInfo": {
          "callbackUrl": null,
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "83c98383-2882-4823-b560-14271737e85d",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Rejected event",
                      "subPathSegments": [
                        {
                          "key": "decision_id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "6660172E-9C3D-427D-969B-C72C3C82FB17"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "1313b990-41ac-4cc9-9a54-f03b0ab392ee",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Rejected event",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        },
                        {
                          "key": "id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "6660172E-9C3D-427D-969B-C72C3C82FB17"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "83c98383-2882-4823-b560-14271737e85d",
              "OR",
              "1313b990-41ac-4cc9-9a54-f03b0ab392ee"
            ]
          },
          "connectionId": null,
          "eventName": "onDecisionRejected",
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Rejected event",
          "scope": "SINGLE_APP",
          "serviceId": "verdo",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "REALTIME",
          "type": "CUSTOM"
        },
        "name": "Decision rejected",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Fires when a person decides a decision in the workspace, at its deadline or when it is closed early. Uses one of the workspace's webhook subscriptions.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionSettled",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-trigger",
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionSettled",
          "legacyElementId": null,
          "methodName": "onDecisionSettled",
          "position": {
            "x": 110,
            "y": 220
          }
        },
        "flowElementId": "4AA306D4-F331-428B-A05B-8BBB028CDA56",
        "groupId": "66F4DCF2-10C8-4F51-920F-ED196FAB5A65",
        "id": "B35809AD-481D-4FF6-BF7A-DB5D972B1A19",
        "metaInfo": {
          "callbackUrl": null,
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "3e2e2826-7c64-45f9-9246-cf107e64bfa7",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Settled event",
                      "subPathSegments": [
                        {
                          "key": "decision_id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "6660172E-9C3D-427D-969B-C72C3C82FB17"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "d1ece02d-5673-425c-989f-27ff70e732fc",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Settled event",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        },
                        {
                          "key": "id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "6660172E-9C3D-427D-969B-C72C3C82FB17"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "3e2e2826-7c64-45f9-9246-cf107e64bfa7",
              "OR",
              "d1ece02d-5673-425c-989f-27ff70e732fc"
            ]
          },
          "connectionId": null,
          "eventName": "onDecisionSettled",
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Settled event",
          "scope": "SINGLE_APP",
          "serviceId": "verdo",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "REALTIME",
          "type": "CUSTOM"
        },
        "name": "Decision settled",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Monitors Google Sheets for new rows and triggers AI workflows when data is added. Perfect for automated processing of form submissions, real-time data analysis, or immediate response to user input in collaborative spreadsheets. Polling interval can be customized (minimum 30 seconds).",
          "elementId": "EXTENSION:::SHARED:::default:::google-sheets:::onNewRow",
          "isFirstElement": true,
          "blockDefinitionId": "EXTENSION:::SHARED:::default:::google-sheets:::onNewRow",
          "newElementId": "EXTENSION:::SHARED:::default:::google-sheets:::onNewRow",
          "legacyElementId": "JS###v1###GoogleSheets###onNewRow",
          "methodName": "onNewRow",
          "position": {
            "x": 137,
            "y": 310
          }
        },
        "flowElementId": "14F667C7-8829-4B30-BFFB-4329DEC88A88",
        "groupId": null,
        "id": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": "Block: 'New purchase request', Error: Document is required",
            "valid": false
          },
          "condition": null,
          "connectionId": null,
          "dynamicData": [],
          "eventName": "onNewRow",
          "frequency": {
            "repeat": {
              "every": 300
            },
            "schedule": "custom"
          },
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Request row",
          "serviceId": "google-sheets",
          "slaConditions": [],
          "staticData": {
            "sheetId": 0
          },
          "storeResult": true,
          "subtype": "POLLING",
          "type": "CUSTOM"
        },
        "name": "New purchase request",
        "nextElementIds": [
          "B771DF4C-1F83-4FFA-831C-72619370376E"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Proposes a decision with 2 to 10 options. It invites nobody: the decision opens in the Verdo dashboard, and a tag that matches a workspace routing rule assigns its approver. Returns the decision id and its dashboard link to send to the person who decides. Needs a full-access key.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::proposeDecision",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Propose the decision in Verdo Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::proposeDecision",
          "legacyElementId": null,
          "methodName": "proposeDecision",
          "position": {
            "x": 876,
            "y": 480
          }
        },
        "flowElementId": "E751BE46-E989-4C46-A10C-661A9E0B22B9",
        "groupId": null,
        "id": "6660172E-9C3D-427D-969B-C72C3C82FB17",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "title",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Request reading",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "question",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "7B7ABF06-0B65-4411-8180-8B7B38A25168"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "options",
              "type": "SIMPLE_LIST",
              "value": [
                {
                  "expression": [
                    {
                      "id": "TEXT",
                      "label": null,
                      "type": "INPUT",
                      "value": "Approve as quoted"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                {
                  "expression": [
                    {
                      "id": "TEXT",
                      "label": null,
                      "type": "INPUT",
                      "value": "Approve the smaller tier"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                {
                  "expression": [
                    {
                      "id": "TEXT",
                      "label": null,
                      "type": "INPUT",
                      "value": "Decline"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                }
              ]
            },
            {
              "name": "method",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "single_choice"
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "deadlineHours",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 48
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "authorityMode",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "anonymous",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "tags",
              "type": "SIMPLE_LIST",
              "value": [
                {
                  "expression": [
                    {
                      "id": "TEXT",
                      "label": null,
                      "type": "INPUT",
                      "value": "spend"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                }
              ]
            },
            {
              "name": "idempotencyKey",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "spend-request-row-"
                  },
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "rowNumber",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sourceAgent",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "FlowRunner spend sign-off"
                  }
                ],
                "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": "proposeDecision",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Proposed decision",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "verdo",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Propose the decision in Verdo",
        "nextElementIds": [
          "E2D1F918-02F6-4539-8DB0-D3D50394307B"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Updates existing data in Google Sheets for AI agents to modify records, correct information, or maintain data accuracy in automated workflows. Perfect for updating user profiles, adjusting scores, or maintaining dynamic data that changes over time.",
          "elementId": "EXTENSION:::SHARED:::default:::google-sheets:::updateRow",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the outcome to the sheet Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::google-sheets:::updateRow",
          "legacyElementId": "JS###v1###GoogleSheets###updateRow",
          "methodName": "updateRow",
          "position": {
            "x": 872,
            "y": 820
          }
        },
        "flowElementId": "9F8FD738-881F-41F7-BAD1-A27CB81C808C",
        "groupId": null,
        "id": "5A191982-3B11-4C34-B5B9-26D358B71352",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "documentId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sheetId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 0
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "rowNumber",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "rowNumber",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "rowData",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "{\"Status\": \""
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": null,
                    "subPathSegments": [
                      {
                        "key": "rowStatus",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "88C16A43-215F-4D75-9A23-9AAC50C5258A"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\", \"Outcome\": \""
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": null,
                    "subPathSegments": [
                      {
                        "key": "outcome",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "88C16A43-215F-4D75-9A23-9AAC50C5258A"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\", \"Decided at\": \""
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": null,
                    "subPathSegments": [
                      {
                        "key": "decidedAt",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "88C16A43-215F-4D75-9A23-9AAC50C5258A"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\"}"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": true,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Write the outcome to the sheet', Error: Document is required",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "updateRow",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Row updated",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "google-sheets",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Write the outcome to the sheet",
        "nextElementIds": [
          "026909DB-BF7E-438C-8D07-1BF2FE94DFD7"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Searches past decided decisions whose title matches, newest first. The results are records for reference, never approval to act again (execution_authorized is always false).",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::searchPastDecisions",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Find past decisions on this vendor Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::searchPastDecisions",
          "legacyElementId": null,
          "methodName": "searchPastDecisions",
          "position": {
            "x": 479,
            "y": 310
          }
        },
        "flowElementId": "2C07C768-48DF-4034-B4CD-BB74412E4073",
        "groupId": null,
        "id": "B771DF4C-1F83-4FFA-831C-72619370376E",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "query",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "Vendor",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "limit",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 10
                  }
                ],
                "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": "searchPastDecisions",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Past decisions",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "verdo",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Find past decisions on this vendor",
        "nextElementIds": [
          "7B7ABF06-0B65-4411-8180-8B7B38A25168"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Fires when a decision closes without reaching a result. A decision that is extended can stall again, and fires again. Checks the newest 25 events on each poll.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionStalled",
          "isFirstElement": false,
          "blockDefinitionId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionStalled",
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::onDecisionStalled",
          "legacyElementId": null,
          "methodName": "onDecisionStalled",
          "position": {
            "x": 110,
            "y": 580
          }
        },
        "flowElementId": "C75043CB-8C88-4866-886B-AF9AEE0FF8C4",
        "groupId": "66F4DCF2-10C8-4F51-920F-ED196FAB5A65",
        "id": "C8583879-E770-44C0-8826-E59A3EF4541A",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "718e5763-876a-44a8-996c-3c101e401a99",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Stalled event",
                      "subPathSegments": [
                        {
                          "key": "decision_id",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": null
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "id",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "6660172E-9C3D-427D-969B-C72C3C82FB17"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "718e5763-876a-44a8-996c-3c101e401a99"
            ]
          },
          "connectionId": null,
          "dynamicData": [],
          "eventName": "onDecisionStalled",
          "frequency": {
            "repeat": {
              "every": 900
            },
            "schedule": "custom"
          },
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Stalled event",
          "serviceId": "verdo",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "POLLING",
          "type": "CUSTOM"
        },
        "name": "Decision stalled",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Updates existing data in Google Sheets for AI agents to modify records, correct information, or maintain data accuracy in automated workflows. Perfect for updating user profiles, adjusting scores, or maintaining dynamic data that changes over time.",
          "elementId": "EXTENSION:::SHARED:::default:::google-sheets:::updateRow",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Mark the row waiting on Verdo Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::google-sheets:::updateRow",
          "legacyElementId": "JS###v1###GoogleSheets###updateRow",
          "methodName": "updateRow",
          "position": {
            "x": 110,
            "y": 650
          }
        },
        "flowElementId": "31339040-AECA-4AA4-B5B8-A2C54CCDE43D",
        "groupId": null,
        "id": "02B6E436-768E-45C1-89D6-31FDB5440354",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "documentId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sheetId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 0
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "rowNumber",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "rowNumber",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "rowData",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "{\"Status\": \"Waiting on Verdo\", \"Decision link\": \""
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Proposed decision",
                    "subPathSegments": [
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "6660172E-9C3D-427D-969B-C72C3C82FB17"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "\"}"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": true,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Mark the row waiting on Verdo', Error: Document is required",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "updateRow",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Row waiting",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "google-sheets",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Mark the row waiting on Verdo",
        "nextElementIds": [],
        "nextGroupIds": [
          "66F4DCF2-10C8-4F51-920F-ED196FAB5A65"
        ],
        "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": "Flag the changed request Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 1614,
            "y": 650
          }
        },
        "flowElementId": "B7A9A717-3FB3-4BBD-AF53-178FB61F504B",
        "groupId": null,
        "id": "E93CB320-F97A-4C2C-ACF5-5182053DE223",
        "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": "The decision in Verdo no longer matches what this flow asked for: it was edited after it was proposed, so its answer is not applied to the sheet. Check it here: "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Decision",
                    "subPathSegments": [
                      {
                        "key": "decision",
                        "optional": false
                      },
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "2D28CF19-7C8B-4336-9FE8-2BBB32D235C7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Finance post",
                    "subPathSegments": [
                      {
                        "key": "messageId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "75DA845C-2A13-4463-A4EE-C6BA12F9096E"
                  }
                ],
                "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": "Mismatch post",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Flag the changed request",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 1270,
            "y": 319
          }
        },
        "flowElementId": "71D78956-1C7F-493E-A8A3-F1D1156B42E8",
        "groupId": null,
        "id": "C39198C2-D014-4A24-9145-C00593F5A5FE",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "37cece83-24a4-46c5-a08d-8c47df88e747",
                "nestedOperation": null,
                "operation": "isNotEmpty",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Request reading",
                      "subPathSegments": [
                        {
                          "key": "output",
                          "optional": false
                        },
                        {
                          "key": "precedentId",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "7B7ABF06-0B65-4411-8180-8B7B38A25168"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": []
              }
            ],
            "grouping": [
              "37cece83-24a4-46c5-a08d-8c47df88e747"
            ]
          },
          "elseComponent": {
            "componentId": "6660172E-9C3D-427D-969B-C72C3C82FB17",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "cond1",
          "storeResult": false,
          "thenComponent": {
            "componentId": "84D8B131-311A-4234-B3C8-C236935F1930",
            "componentType": "ELEMENT"
          }
        },
        "name": "Similar decision found?",
        "nextElementIds": [
          "84D8B131-311A-4234-B3C8-C236935F1930",
          "6660172E-9C3D-427D-969B-C72C3C82FB17"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 1258,
            "y": 659
          }
        },
        "flowElementId": "32BD89A0-B5CE-4384-8110-CE378F9C479F",
        "groupId": null,
        "id": "388CAF38-587B-42EA-92AB-CB13AE738C17",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "eb0de67e-e922-4fd6-80da-f790e588e15a",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Decision",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        },
                        {
                          "key": "request_fingerprint",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "2D28CF19-7C8B-4336-9FE8-2BBB32D235C7"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "ELEMENT_RESULT",
                        "label": "Proposed decision",
                        "subPathSegments": [
                          {
                            "key": "request_fingerprint",
                            "optional": false
                          }
                        ],
                        "type": "ELEMENT_LINK",
                        "value": "6660172E-9C3D-427D-969B-C72C3C82FB17"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "eb0de67e-e922-4fd6-80da-f790e588e15a"
            ]
          },
          "elseComponent": {
            "componentId": "E93CB320-F97A-4C2C-ACF5-5182053DE223",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "cond2",
          "storeResult": false,
          "thenComponent": {
            "componentId": "88C16A43-215F-4D75-9A23-9AAC50C5258A",
            "componentType": "ELEMENT"
          }
        },
        "name": "Answer is for this request?",
        "nextElementIds": [
          "88C16A43-215F-4D75-9A23-9AAC50C5258A",
          "E93CB320-F97A-4C2C-ACF5-5182053DE223"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the finance post Result"
          },
          "position": {
            "x": 520,
            "y": 489
          }
        },
        "flowElementId": "ED6E7B93-A4AF-4186-B6F8-68767FF434B7",
        "groupId": null,
        "id": "E2D1F918-02F6-4539-8DB0-D3D50394307B",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "question",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Request reading",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "question",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "7B7ABF06-0B65-4411-8180-8B7B38A25168"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "vendor",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "Vendor",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "item",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "Item",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "amount",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "Amount",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "smallerTier",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "Smaller tier",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "term",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "Term",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "requester",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "Requester",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "link",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Proposed decision",
                    "subPathSegments": [
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "6660172E-9C3D-427D-969B-C72C3C82FB17"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "precedent",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Precedent",
                    "subPathSegments": [
                      {
                        "key": "precedent",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "84D8B131-311A-4234-B3C8-C236935F1930"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "why",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Request reading",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "whyClosest",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "7B7ABF06-0B65-4411-8180-8B7B38A25168"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const lines = [\n  `*Spend sign-off: ${question}*`,\n  `${vendor}: ${item}`,\n  `Amount: ${amount}${term ? `, ${term}` : ''}. Requested by ${requester}.`,\n  smallerTier ? `Smaller tier: ${smallerTier}` : null,\n  `Vote in Verdo: <${link}|Open the decision>. It closes in 48 hours.`,\n].filter(line => line !== null);\nconst p = precedent && typeof precedent === 'object' && precedent.title ? precedent : null;\nif (p) {\n  const date = p.settled_at ? String(p.settled_at).slice(0, 10) : 'an earlier date';\n  const votes = Array.isArray(p.vote_counts) ? p.vote_counts.map(v => `${v.option} ${v.votes}`).join(', ') : '';\n  lines.push('', `*How the team decided this before:* ${p.title}`);\n  lines.push(`Outcome: ${p.winner || 'no result'} on ${date}${p.owner_name ? `, owner ${p.owner_name}` : ''}${p.authority_mode ? `, decided by ${p.authority_mode}` : ''}.`);\n  if (votes) lines.push(`Votes: ${votes}`);\n  if (p.rationale) lines.push(`Rationale: ${p.rationale}`);\n  if (why) lines.push(`Why this one: ${why}`);\n  lines.push('The past decision is for reference. This request gets its own vote.');\n} else {\n  lines.push('', 'No past decision on this vendor in the Verdo decision log.');\n}\nreturn { text: lines.join('\\n') };"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Finance text",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Write the finance post",
        "nextElementIds": [
          "75DA845C-2A13-4463-A4EE-C6BA12F9096E"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Gets one past decision's record: outcome, date, owner, how it was decided, votes per option, the rationale when it is approved for sharing, and related decisions. A record for reference, never approval to act again.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::getPastDecision",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Open the closest past decision Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::getPastDecision",
          "legacyElementId": null,
          "methodName": "getPastDecision",
          "position": {
            "x": 1244,
            "y": 480
          }
        },
        "flowElementId": "9BBA2BFC-D041-4691-B98D-919A1ADC80C7",
        "groupId": null,
        "id": "84D8B131-311A-4234-B3C8-C236935F1930",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "decisionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Request reading",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      },
                      {
                        "key": "precedentId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "7B7ABF06-0B65-4411-8180-8B7B38A25168"
                  }
                ],
                "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": "getPastDecision",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Precedent",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "verdo",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Open the closest past decision",
        "nextElementIds": [
          "6660172E-9C3D-427D-969B-C72C3C82FB17"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Gets a decision: its status, the outcome once a person has decided, votes per option, owner, dashboard link and request fingerprint. Compare the fingerprint with the one Propose Decision returned to check the answer is for exactly what was asked.",
          "elementId": "EXTENSION:::SHARED:::default:::verdo:::getDecision",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the decision in Verdo Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::verdo:::getDecision",
          "legacyElementId": null,
          "methodName": "getDecision",
          "position": {
            "x": 887,
            "y": 650
          }
        },
        "flowElementId": "EE367AB3-ABE8-4941-95B7-423C0667CB04",
        "groupId": null,
        "id": "2D28CF19-7C8B-4336-9FE8-2BBB32D235C7",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "decisionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Proposed decision",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "6660172E-9C3D-427D-969B-C72C3C82FB17"
                  }
                ],
                "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": "getDecision",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Decision",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "verdo",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Read the decision in Verdo",
        "nextElementIds": [
          "388CAF38-587B-42EA-92AB-CB13AE738C17"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the result Result"
          },
          "position": {
            "x": 1279,
            "y": 829
          }
        },
        "flowElementId": "144AF5F6-2AEE-411A-A0A8-F98BF19C7D38",
        "groupId": null,
        "id": "88C16A43-215F-4D75-9A23-9AAC50C5258A",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "status",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Decision",
                    "subPathSegments": [
                      {
                        "key": "decision",
                        "optional": false
                      },
                      {
                        "key": "status",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "2D28CF19-7C8B-4336-9FE8-2BBB32D235C7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "outcome",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Decision",
                    "subPathSegments": [
                      {
                        "key": "decision",
                        "optional": false
                      },
                      {
                        "key": "outcome",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "2D28CF19-7C8B-4336-9FE8-2BBB32D235C7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "votes",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Decision",
                    "subPathSegments": [
                      {
                        "key": "decision",
                        "optional": false
                      },
                      {
                        "key": "vote_breakdown",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "2D28CF19-7C8B-4336-9FE8-2BBB32D235C7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "decidedAt",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Decision",
                    "subPathSegments": [
                      {
                        "key": "decision",
                        "optional": false
                      },
                      {
                        "key": "decided_at",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "2D28CF19-7C8B-4336-9FE8-2BBB32D235C7"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "requester",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Request row",
                    "subPathSegments": [
                      {
                        "key": "data",
                        "optional": false
                      },
                      {
                        "key": "Requester",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const tally = Array.isArray(votes) ? votes.map(v => `${v.option} ${v.votes}`).join(', ') : '';\nlet rowStatus;\nlet message;\nif (status === 'decided' || status === 'implemented') {\n  rowStatus = outcome === 'Decline' ? 'Declined' : 'Approved';\n  message = `Decided in Verdo: *${outcome}*${tally ? ` (${tally})` : ''}. ${requester}, your request is updated in the sheet.`;\n} else if (status === 'rejected') {\n  rowStatus = 'Declined';\n  message = `The approver rejected this request in Verdo. ${requester}, the row is marked Declined.`;\n} else {\n  rowStatus = 'No decision';\n  message = `The vote closed without a result${tally ? ` (${tally})` : ''}. The row is marked No decision. Propose it again in Verdo if it still matters.`;\n}\nreturn { rowStatus, outcome: outcome || '', decidedAt: decidedAt || '', message };"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Result",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Write the result",
        "nextElementIds": [
          "5A191982-3B11-4C34-B5B9-26D358B71352"
        ],
        "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 request to finance Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 122,
            "y": 480
          }
        },
        "flowElementId": "41E81C79-C6B0-4AD3-B305-471453D50AB8",
        "groupId": null,
        "id": "75DA845C-2A13-4463-A4EE-C6BA12F9096E",
        "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": "Finance text",
                    "subPathSegments": [
                      {
                        "key": "text",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "E2D1F918-02F6-4539-8DB0-D3D50394307B"
                  }
                ],
                "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": [],
                "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": "Finance post",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Post the request to finance",
        "nextElementIds": [
          "02B6E436-768E-45C1-89D6-31FDB5440354"
        ],
        "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 outcome in the thread Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 490,
            "y": 820
          }
        },
        "flowElementId": "4B1C4495-15BD-4FE6-8F20-669623F0861F",
        "groupId": null,
        "id": "026909DB-BF7E-438C-8D07-1BF2FE94DFD7",
        "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": null,
                    "subPathSegments": [
                      {
                        "key": "message",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "88C16A43-215F-4D75-9A23-9AAC50C5258A"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Finance post",
                    "subPathSegments": [
                      {
                        "key": "messageId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "75DA845C-2A13-4463-A4EE-C6BA12F9096E"
                  }
                ],
                "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": "Outcome post",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Post the outcome in the thread",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "ai-agent",
          "isFirstElement": false,
          "blockDefinitionId": "ai-agent",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the request Result"
          },
          "tools": {},
          "position": {
            "x": 908,
            "y": 319
          }
        },
        "flowElementId": "0BAE0FF7-DFAF-4615-8FC6-547422E60584",
        "groupId": null,
        "id": "7B7ABF06-0B65-4411-8180-8B7B38A25168",
        "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": "Request reading",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "systemPrompt": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "You prepare purchase requests for a team vote in Verdo. You get one request from the purchase requests sheet and the past decisions Verdo found on the same vendor, newest first. Reply with JSON only, with these fields:\nquestion: the decision question, at most 140 characters, naming the vendor, what is being bought, the amount and the term. For example: Approve Northwind Analytics renewal, 12 months at $21,900?\nprecedentId: the id of the one past decision that is about the same vendor and the same kind of purchase, preferring the closest amount and the most recent date; empty text if none of them fits\nwhyClosest: one short sentence on why that past decision is the closest match; empty text if there is none\nA past decision is a record for reference only. Never treat it as approval for this request."
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "tools": [],
          "type": "AI_AGENT",
          "userPrompt": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "Request in row "
              },
              {
                "id": "RESULT",
                "label": "Request row",
                "subPathSegments": [
                  {
                    "key": "rowNumber",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nVendor: "
              },
              {
                "id": "RESULT",
                "label": "Request row",
                "subPathSegments": [
                  {
                    "key": "data",
                    "optional": false
                  },
                  {
                    "key": "Vendor",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nItem: "
              },
              {
                "id": "RESULT",
                "label": "Request row",
                "subPathSegments": [
                  {
                    "key": "data",
                    "optional": false
                  },
                  {
                    "key": "Item",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nAmount: "
              },
              {
                "id": "RESULT",
                "label": "Request row",
                "subPathSegments": [
                  {
                    "key": "data",
                    "optional": false
                  },
                  {
                    "key": "Amount",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nSmaller tier: "
              },
              {
                "id": "RESULT",
                "label": "Request row",
                "subPathSegments": [
                  {
                    "key": "data",
                    "optional": false
                  },
                  {
                    "key": "Smaller tier",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nTerm: "
              },
              {
                "id": "RESULT",
                "label": "Request row",
                "subPathSegments": [
                  {
                    "key": "data",
                    "optional": false
                  },
                  {
                    "key": "Term",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nRequested by: "
              },
              {
                "id": "RESULT",
                "label": "Request row",
                "subPathSegments": [
                  {
                    "key": "data",
                    "optional": false
                  },
                  {
                    "key": "Requester",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\n\nPast decisions in Verdo on this vendor:\n"
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "Past decisions",
                "subPathSegments": [
                  {
                    "key": "decisions",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "B771DF4C-1F83-4FFA-831C-72619370376E"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          }
        },
        "name": "Read the request",
        "nextElementIds": [
          "C39198C2-D014-4A24-9145-C00593F5A5FE"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      }
    ],
    "firstElementId": "A94F3A52-CECE-4E46-BDE0-9C825FC9DEAC",
    "groups": [
      {
        "clientMetadata": {
          "elementId": "triggers-group",
          "isFirstElement": false,
          "blockDefinitionId": "triggers-group",
          "viewport": {
            "x": 0,
            "y": 0,
            "zoom": 0.8
          },
          "position": {
            "x": 519,
            "y": 659
          }
        },
        "flowElementId": "319F541D-4EFC-40B2-9BAA-4938F8853B37",
        "groupId": null,
        "id": "66F4DCF2-10C8-4F51-920F-ED196FAB5A65",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "occurWithin": null,
          "occurrenceTimeUnit": null,
          "onFailElemId": null,
          "resultAlias": "Verdo answer",
          "storeResult": true,
          "transitionMode": "ONE_OCCUR"
        },
        "name": "Until a person decides",
        "nextElementIds": [
          "2D28CF19-7C8B-4336-9FE8-2BBB32D235C7"
        ],
        "nextGroupIds": [],
        "type": "TRIGGERS"
      }
    ],
    "id": "0ADEF535-3531-40E9-896B-D0412B6C1DC0",
    "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 AI agent uses.",
          "error": null,
          "name": "Anthropic key",
          "type": "API_KEY",
          "value": null
        }
      ],
      "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-02T01:44:05.426Z"
}
