{
  "elementsLearnedData": [],
  "elementsTestData": [],
  "flow": {
    "id": "D5DB0FC2-C213-48A6-9971-52F917C1BBF7",
    "name": "FMCSA: new carrier packet checked before BILL"
  },
  "flowVersion": {
    "clientMetadata": {
      "viewport": {
        "x": -31.778140293637847,
        "y": 13.898858075040785,
        "zoom": 0.65
      },
      "autoSave": false,
      "descriptions": {
        "flow": "Reads a new carrier's setup packet from an Outlook inbox and checks it at FMCSA: the W-9 legal name against FMCSA's legal or DBA name, the MC number against the USDOT number, and whether the carrier is allowed to operate. A match goes to AP in Slack and is added to BILL only after AP approves; a mismatch is flagged to AP as possible fraud and no vendor is created.",
        "initialData": "",
        "initialDataFields": {}
      }
    },
    "description": "Reads a new carrier's setup packet from an Outlook inbox, checks the legal name, MC and USDOT numbers against FMCSA, flags a mismatch to AP as possible fraud, and adds the carrier to BILL only after AP approves in Slack.",
    "elements": [
      {
        "clientMetadata": {
          "elementId": "ai-agent",
          "isFirstElement": false,
          "blockDefinitionId": "ai-agent",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the document Result"
          },
          "tools": {},
          "position": {
            "x": 410,
            "y": 40
          }
        },
        "flowElementId": "471CDD37-78AB-4D70-A5B2-4D8B513BD992",
        "groupId": "5D8EF662-C6D5-433B-B81E-87ED1DD745C9",
        "id": "305E2900-FDE5-4141-A475-424ADAD9CC53",
        "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": [
            {
              "mimeType": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "File",
                    "subPathSegments": [
                      {
                        "key": "mimeType",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "62A09545-09CB-424F-89BA-2E7EAC979F8C"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": "STRING"
              },
              "url": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "File",
                    "subPathSegments": [
                      {
                        "key": "url",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "62A09545-09CB-424F-89BA-2E7EAC979F8C"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": "STRING"
              }
            }
          ],
          "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": "Document reading",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "systemPrompt": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "You read one file from a carrier setup packet that a trucking company sent to a freight broker's AP team. The file may be a W-9, a certificate of insurance, an MC authority letter or FMCSA operating authority, or something else such as a carrier agreement, bank letter or notice of assignment. One PDF can hold several of these, so read every page. Reply with JSON only, with these fields, using empty text for anything the file does not show:\ndocumentType: w9, insurance, authority, combined (when the file holds more than one of those three), or other\nlegalName: the carrier's legal name (line 1 of a W-9)\ndbaName: the business or DBA name (line 2 of a W-9)\nmcNumber: the MC docket number, digits only\ndotNumber: the USDOT number, digits only\ntin: the taxpayer identification number on the W-9, digits only\ntinType: EIN or SSN\ntaxClassification: the W-9 box checked, as individual, c_corporation, s_corporation, partnership, trust_estate, llc_c, llc_s, llc_p or other\nw9Signed: true if the W-9 is signed and dated, otherwise false\naddressLine1, city, state (two letters), zip: the carrier's address from the W-9\ncontactEmail, contactPhone: the carrier's billing or dispatch contact\ninsuranceExpires: the earliest auto liability or cargo policy expiry date on the certificate of insurance, as YYYY-MM-DD"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "tools": [],
          "type": "AI_AGENT",
          "userPrompt": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "File: "
              },
              {
                "id": "ELEMENT_RESULT",
                "label": "File",
                "subPathSegments": [
                  {
                    "key": "name",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "62A09545-09CB-424F-89BA-2E7EAC979F8C"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nEmail from "
              },
              {
                "id": "RESULT",
                "label": "Packet email",
                "subPathSegments": [
                  {
                    "key": "from",
                    "optional": false
                  },
                  {
                    "key": "emailAddress",
                    "optional": false
                  },
                  {
                    "key": "address",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7284D1E2-0BDA-4965-A32C-748A5199D1AC"
              },
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "\nSubject: "
              },
              {
                "id": "RESULT",
                "label": "Packet email",
                "subPathSegments": [
                  {
                    "key": "subject",
                    "optional": false
                  }
                ],
                "type": "TRIGGER_DATA",
                "value": "7284D1E2-0BDA-4965-A32C-748A5199D1AC"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          }
        },
        "name": "Read the document",
        "nextElementIds": [
          "F6F6871F-4449-443B-A757-3A340C86A9D5"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Looks a carrier up by its MC (docket) number, the way a broker checks a carrier before booking. Returns the first matching carrier flattened to one level, with the same fields and true or false flags as Get Carrier by DOT Number, and every match in carriers. found is false, and carriers empty, when FMCSA has no carrier on that docket.",
          "elementId": "EXTENSION:::SHARED:::default:::fmcsa:::getCarrierByDocketNumber",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Look up the MC number at FMCSA Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::fmcsa:::getCarrierByDocketNumber",
          "legacyElementId": null,
          "methodName": "getCarrierByDocketNumber",
          "position": {
            "x": 532,
            "y": 210
          }
        },
        "flowElementId": "E7183090-8A6F-4D89-926D-68DE4FE069E2",
        "groupId": null,
        "id": "CE0CB8DF-60AD-4A45-8934-F9B6F08129D4",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "docketNumber",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Packet",
                    "subPathSegments": [
                      {
                        "key": "mcNumber",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DD1FDDF1-3B5F-4E84-82E6-FAB32318A308"
                  }
                ],
                "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": "getCarrierByDocketNumber",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "MC record",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "fmcsa",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Look up the MC number at FMCSA",
        "nextElementIds": [
          "634BE33E-36FE-4879-863C-6321B63964BE"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Compare the packet with FMCSA Result"
          },
          "position": {
            "x": 537,
            "y": 649
          }
        },
        "flowElementId": "D7A0724B-01D7-4A69-8F5C-58C9F58F3871",
        "groupId": null,
        "id": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "packet",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Packet",
                    "subPathSegments": null,
                    "type": "ELEMENT_LINK",
                    "value": "DD1FDDF1-3B5F-4E84-82E6-FAB32318A308"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "mcRecord",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "MC record",
                    "subPathSegments": null,
                    "type": "ELEMENT_LINK",
                    "value": "CE0CB8DF-60AD-4A45-8934-F9B6F08129D4"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "dotRecord",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "USDOT record",
                    "subPathSegments": null,
                    "type": "ELEMENT_LINK",
                    "value": "634BE33E-36FE-4879-863C-6321B63964BE"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "vendors",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "BILL vendors",
                    "subPathSegments": [
                      {
                        "key": "results",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "D45F27C1-44A8-4341-80E5-02B0DFD02DDE"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "subject",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Packet email",
                    "subPathSegments": [
                      {
                        "key": "subject",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7284D1E2-0BDA-4965-A32C-748A5199D1AC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "answerLink",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Answer link",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Answer link"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "executionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "EXECUTION_ID",
                    "label": null,
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.executionId",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "executionId",
                        "optional": false
                      }
                    ]
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const p = packet || {};\nconst mcR = mcRecord || {};\nconst dotR = dotRecord || {};\nconst norm = s => String(s || '').toUpperCase().replace(/&/g, ' AND ').replace(/[^A-Z0-9 ]/g, ' ')\n  .replace(/\\b(LLC|L L C|INC|INCORPORATED|CORP|CORPORATION|CO|COMPANY|LTD|LP|LLP|PLLC|THE)\\b/g, ' ')\n  .replace(/\\s+/g, ' ').trim();\nconst money = n => '$' + Number(n || 0).toLocaleString('en-US');\nconst ids = 'MC ' + p.mcNumber + ', USDOT ' + p.dotNumber;\nconst head = p.legalName || 'Unknown carrier';\n\nconst mismatches = [];\nif (!mcR.found) mismatches.push('FMCSA has no carrier on MC ' + p.mcNumber + '.');\nif (!dotR.found) mismatches.push('FMCSA has no carrier with USDOT ' + p.dotNumber + '.');\nif (mcR.found && String(mcR.dotNumber) !== String(p.dotNumber)) {\n  mismatches.push('MC ' + p.mcNumber + ' is registered to USDOT ' + mcR.dotNumber + ' (' + mcR.legalName + '), not to USDOT ' + p.dotNumber + '.');\n}\nconst fm = dotR.found ? dotR : (mcR.found ? mcR : null);\nif (fm) {\n  const names = [fm.legalName, fm.dbaName].map(norm).filter(Boolean);\n  if (!p.legalName) mismatches.push('No legal name was found on the W-9.');\n  else if (!names.includes(norm(p.legalName))) {\n    mismatches.push('The W-9 says ' + p.legalName + (p.dbaName ? ' (DBA ' + p.dbaName + ')' : '') + '. FMCSA has ' + fm.legalName + (fm.dbaName ? ' (DBA ' + fm.dbaName + ')' : '') + '.');\n  }\n}\nconst identityOk = mismatches.length === 0;\nconst notAllowed = !!fm && fm.isAllowedToOperate !== true;\nconst matches = identityOk && !notAllowed;\n\nconst warnings = [];\nif (fm) {\n  if (fm.hasActiveCommonAuthority !== true && fm.hasActiveContractAuthority !== true) warnings.push('FMCSA shows no active common or contract authority.');\n  if (fm.isBipdInsuranceRequired === true && Number(fm.bipdInsuranceOnFileUsd || 0) < Number(fm.bipdRequiredAmountUsd || 0)) {\n    warnings.push('Liability insurance on file at FMCSA is ' + money(fm.bipdInsuranceOnFileUsd) + ', below the ' + money(fm.bipdRequiredAmountUsd) + ' required.');\n  }\n  if (fm.oosDate) warnings.push('FMCSA shows an out-of-service date of ' + fm.oosDate + '.');\n}\nif (!p.w9Signed) warnings.push('The W-9 is not signed.');\nif (p.insuranceExpires) {\n  const days = (Date.parse(p.insuranceExpires) - Date.now()) / 86400000;\n  if (!isNaN(days) && days < 0) warnings.push('The certificate of insurance expired on ' + p.insuranceExpires + '.');\n  else if (!isNaN(days) && days < 30) warnings.push('The certificate of insurance expires on ' + p.insuranceExpires + '.');\n}\nif (Array.isArray(p.missing) && p.missing.length) warnings.push('Not in the packet: ' + p.missing.join(', ') + '.');\n\nconst list = Array.isArray(vendors) ? vendors.filter(v => v && !v.archived) : [];\nconst key = norm(p.legalName);\nconst existing = key ? (list.find(v => norm(v.name) === key) || null) : null;\nconst similar = list.filter(v => v !== existing).slice(0, 5).map(v => v.name);\n\nconst fmLine = fm\n  ? 'FMCSA has ' + fm.legalName + (fm.dbaName ? ' (DBA ' + fm.dbaName + ')' : '') + ', USDOT ' + fm.dotNumber + ', '\n    + [fm.phyStreet, fm.phyCity, fm.phyState, fm.phyZipcode].filter(Boolean).join(', ')\n    + '. Allowed to operate: ' + (fm.isAllowedToOperate === true ? 'yes' : 'no')\n    + '. Liability insurance on file: ' + money(fm.bipdInsuranceOnFileUsd) + '.'\n  : 'FMCSA has no record for either number.';\nconst bullet = a => a.map(s => '- ' + s).join('\\n');\nconst common = [\n  fmLine,\n  warnings.length ? '*Also check:*\\n' + bullet(warnings) : 'Nothing else to flag.',\n  similar.length ? 'Similar vendors already in BILL: ' + similar.join(', ') : null,\n  'From: ' + (p.sender || 'unknown') + (subject ? ', subject: ' + subject : ''),\n  p.fileLinks || null,\n].filter(Boolean);\n\nconst link = x => answerLink + '?execution=' + encodeURIComponent(executionId) + '&decision=' + x;\nlet text, blocks;\nif (matches) {\n  text = 'Carrier setup packet from ' + head + ' matches FMCSA. Add it to BILL?';\n  blocks = [\n    { type: 'section', text: { type: 'mrkdwn', text: ['*Carrier setup packet: ' + head + ', ' + ids + '*', 'The W-9 legal name, MC number and USDOT number match FMCSA.'].concat(common).join('\\n') } },\n    { type: 'actions', elements: [\n      { type: 'button', style: 'primary', text: { type: 'plain_text', text: 'Approve and add to BILL' }, url: link('approve') },\n      { type: 'button', text: { type: 'plain_text', text: 'Don\\'t set it up' }, url: link('reject') },\n    ] },\n  ];\n} else {\n  const title = identityOk\n    ? '*Not set up: ' + head + ', ' + ids + ' is not allowed to operate at FMCSA*'\n    : '*Possible fraud: the setup packet for ' + head + ', ' + ids + ' does not match FMCSA*';\n  const reasons = identityOk ? ['FMCSA does not show the carrier as allowed to operate.'] : mismatches.concat(notAllowed ? ['FMCSA does not show the carrier as allowed to operate.'] : []);\n  text = identityOk\n    ? head + ' is not allowed to operate at FMCSA. No vendor was created.'\n    : 'Possible fraud: the setup packet from ' + head + ' does not match FMCSA. No vendor was created.';\n  blocks = [\n    { type: 'section', text: { type: 'mrkdwn', text: [title, bullet(reasons)].concat(common, [\n      'No vendor was created in BILL.' + (identityOk ? '' : ' If you go ahead with this carrier, call it first on a number you look up yourself, such as the one on its FMCSA registration, not one from this email.'),\n    ]).join('\\n') } },\n  ];\n}\nconst existingText = existing\n  ? head + ' (' + ids + ') sent a setup packet and is already a vendor in BILL as ' + existing.name + '. Nothing was changed in BILL. '\n    + (identityOk ? 'The packet matches FMCSA.' : 'The packet does not match FMCSA:\\n' + bullet(mismatches))\n    + '\\nIf the remit-to or bank details changed, confirm them with the carrier by phone before you change the vendor.\\n' + common.join('\\n')\n  : '';\n\nconst useFm = !p.addressLine1 && fm;\nconst corp = ['c_corporation', 's_corporation', 'llc_c', 'llc_s'].includes(p.taxClassification);\nreturn {\n  alreadyVendor: !!existing,\n  matches,\n  mismatches,\n  warnings,\n  text,\n  blocks,\n  existingText,\n  carrierLabel: head + ', ' + ids,\n  vendorName: p.legalName || (fm ? fm.legalName : ''),\n  addressLine1: useFm ? (fm.phyStreet || '') : (p.addressLine1 || ''),\n  city: useFm ? (fm.phyCity || '') : (p.city || ''),\n  state: useFm ? (fm.phyState || '') : (p.state || ''),\n  zip: useFm ? (fm.phyZipcode || '') : (p.zip || ''),\n  email: p.contactEmail || '',\n  phone: p.contactPhone || '',\n  taxId: p.tin && p.tin.length === 9 ? p.tin : '',\n  taxIdType: p.tinType === 'SSN' ? 'SSN' : 'EIN',\n  track1099: corp ? 'off' : 'on',\n};\n"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Check",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Compare the packet with FMCSA",
        "nextElementIds": [
          "A86947A3-7B2E-447A-9CBC-09AA62C73396"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "external-callback",
          "isFirstElement": false,
          "blockDefinitionId": "external-callback",
          "position": {
            "x": 961,
            "y": 949
          }
        },
        "flowElementId": "0E086454-310A-4AC7-B6DC-6CA2F1C0DDD6",
        "groupId": null,
        "id": "83EDBCA6-B3C7-4B59-83C1-BFA8CB207CD4",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": null,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "resultAlias": "AP decision",
          "slaConditions": [],
          "storeResult": true,
          "type": "CALLBACK"
        },
        "name": "Wait for AP's answer",
        "nextElementIds": [
          "33398B79-138F-4B12-B2D8-7B07D432C328"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 946,
            "y": 649
          }
        },
        "flowElementId": "62779192-1ADB-47E8-A3C2-28DF50C89357",
        "groupId": null,
        "id": "A86947A3-7B2E-447A-9CBC-09AA62C73396",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "1b2401f4-65f7-4806-8fd0-d2c9a83608ad",
                "nestedOperation": null,
                "operation": "isTrue",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Check",
                      "subPathSegments": [
                        {
                          "key": "alreadyVendor",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "BOOLEAN",
                "values": []
              }
            ],
            "grouping": [
              "1b2401f4-65f7-4806-8fd0-d2c9a83608ad"
            ]
          },
          "elseComponent": {
            "componentId": "09E84356-B5D3-41F4-BC6D-2D61BA8658CF",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "inbill",
          "storeResult": false,
          "thenComponent": {
            "componentId": "0FC75805-F556-43AB-8F98-C2A3452DFECF",
            "componentType": "ELEMENT"
          }
        },
        "name": "Already a vendor in BILL?",
        "nextElementIds": [
          "09E84356-B5D3-41F4-BC6D-2D61BA8658CF",
          "0FC75805-F556-43AB-8F98-C2A3452DFECF"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Ask AP to approve the carrier Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 1298,
            "y": 940
          }
        },
        "flowElementId": "C98F7FBD-C22F-4372-9479-5E2412203ACD",
        "groupId": null,
        "id": "3DB75848-239C-496C-9657-BBD8871B7B8A",
        "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": "Check",
                    "subPathSegments": [
                      {
                        "key": "text",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendAsBot",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botIcon",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "replyBroadcast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "imageURL",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "blocks",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "blocks",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "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": "Approval request",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Ask AP to approve the carrier",
        "nextElementIds": [
          "83EDBCA6-B3C7-4B59-83C1-BFA8CB207CD4"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 580,
            "y": 949
          }
        },
        "flowElementId": "DB112806-CECB-45F7-BC7C-BA56E6E2C296",
        "groupId": null,
        "id": "33398B79-138F-4B12-B2D8-7B07D432C328",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "214a0f3f-de27-4957-b13b-1b3d097cac99",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "AP decision",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": "83EDBCA6-B3C7-4B59-83C1-BFA8CB207CD4"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "approve"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "214a0f3f-de27-4957-b13b-1b3d097cac99"
            ]
          },
          "elseComponent": {
            "componentId": "78EF7A22-24E1-45CF-9633-2C536D7E85A5",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "approved",
          "storeResult": false,
          "thenComponent": {
            "componentId": "D227EF73-3DDB-4EE4-B841-4775B9C1AD8C",
            "componentType": "ELEMENT"
          }
        },
        "name": "AP approved?",
        "nextElementIds": [
          "D227EF73-3DDB-4EE4-B841-4775B9C1AD8C",
          "78EF7A22-24E1-45CF-9633-2C536D7E85A5"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Tell AP the numbers are missing Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 540,
            "y": 340
          }
        },
        "flowElementId": "93F6E131-5566-4468-91BA-3B864FBF52F5",
        "groupId": null,
        "id": "61E6243F-325F-41AB-84FE-263847637679",
        "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": "Packet",
                    "subPathSegments": [
                      {
                        "key": "missingNumbersText",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DD1FDDF1-3B5F-4E84-82E6-FAB32318A308"
                  }
                ],
                "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": "COMPLEX_LIST",
              "value": []
            }
          ],
          "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": "Missing numbers note",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Tell AP the numbers are missing",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Add it to the packet Result"
          },
          "position": {
            "x": 710,
            "y": 40
          }
        },
        "flowElementId": "01BDB6F2-5C3B-44E8-8AD0-78ED6FA767E8",
        "groupId": "5D8EF662-C6D5-433B-B81E-87ED1DD745C9",
        "id": "F6F6871F-4449-443B-A757-3A340C86A9D5",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "docs",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - Packet documents",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.Packet documents",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "Packet documents",
                        "optional": false
                      }
                    ]
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "doc",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Document reading",
                    "subPathSegments": [
                      {
                        "key": "output",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "305E2900-FDE5-4141-A475-424ADAD9CC53"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "fileName",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "File",
                    "subPathSegments": [
                      {
                        "key": "name",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "62A09545-09CB-424F-89BA-2E7EAC979F8C"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const list = Array.isArray(docs) ? docs : [];\nlet r = doc;\nif (typeof r === 'string') {\n  try { r = JSON.parse(r.replace(/^\\s*```(?:json)?/i, '').replace(/```\\s*$/, '').trim()); } catch (e) { r = {}; }\n}\nif (!r || typeof r !== 'object') r = {};\nreturn { docs: list.concat([Object.assign({}, r, { fileName: fileName || '' })]) };\n"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Packet so far",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Add it to the packet",
        "nextElementIds": [
          "10FA63BB-02D7-4F91-B7A0-33726D24DE4F"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Confirm the vendor in BILL Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 150,
            "y": 1110
          }
        },
        "flowElementId": "339285B7-9040-4854-BA95-F3C7E3989588",
        "groupId": null,
        "id": "32CC1549-F053-444E-8B42-A04F907E19F2",
        "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": "AP approved "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "carrierLabel",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ". It is now a vendor in BILL with the W-9 name, address, TIN and 1099 setting (vendor ID "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "New vendor",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "D227EF73-3DDB-4EE4-B841-4775B9C1AD8C"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ")."
                  }
                ],
                "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": "COMPLEX_LIST",
              "value": []
            }
          ],
          "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": "Vendor confirmation",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Confirm the vendor in BILL",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 927,
            "y": 219
          }
        },
        "flowElementId": "E548C121-85EF-4724-A3B6-0A73D0798A9D",
        "groupId": null,
        "id": "8D730574-A268-4E62-8B67-CCB130AE7AD1",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "fddc36d6-0260-41a6-99ea-b26536210bcd",
                "nestedOperation": null,
                "operation": "isTrue",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Packet",
                      "subPathSegments": [
                        {
                          "key": "hasNumbers",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "DD1FDDF1-3B5F-4E84-82E6-FAB32318A308"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "BOOLEAN",
                "values": []
              }
            ],
            "grouping": [
              "fddc36d6-0260-41a6-99ea-b26536210bcd"
            ]
          },
          "elseComponent": {
            "componentId": "61E6243F-325F-41AB-84FE-263847637679",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "hasnum",
          "storeResult": false,
          "thenComponent": {
            "componentId": "CE0CB8DF-60AD-4A45-8934-F9B6F08129D4",
            "componentType": "ELEMENT"
          }
        },
        "name": "MC and USDOT on the packet?",
        "nextElementIds": [
          "CE0CB8DF-60AD-4A45-8934-F9B6F08129D4",
          "61E6243F-325F-41AB-84FE-263847637679"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 1313,
            "y": 649
          }
        },
        "flowElementId": "820C181E-66D9-41C1-B7EB-94BEEAAEBA57",
        "groupId": null,
        "id": "09E84356-B5D3-41F4-BC6D-2D61BA8658CF",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "03af822f-55aa-4e90-9681-9650d4054b77",
                "nestedOperation": null,
                "operation": "isTrue",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Check",
                      "subPathSegments": [
                        {
                          "key": "matches",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "BOOLEAN",
                "values": []
              }
            ],
            "grouping": [
              "03af822f-55aa-4e90-9681-9650d4054b77"
            ]
          },
          "elseComponent": {
            "componentId": "74E81753-8ADE-4017-9669-861163AD110D",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "matches",
          "storeResult": false,
          "thenComponent": {
            "componentId": "3DB75848-239C-496C-9657-BBD8871B7B8A",
            "componentType": "ELEMENT"
          }
        },
        "name": "Packet matches FMCSA?",
        "nextElementIds": [
          "3DB75848-239C-496C-9657-BBD8871B7B8A",
          "74E81753-8ADE-4017-9669-861163AD110D"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "notes": "Creates a new vendor in BILL.com for accounts payable. Vendors represent the people or companies you pay for goods and services.",
          "elementId": "EXTENSION:::SHARED:::default:::billcom:::createVendor",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Add the carrier to BILL Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::billcom:::createVendor",
          "legacyElementId": "JS###v1###BillComService###createVendor",
          "methodName": "createVendor",
          "position": {
            "x": 164,
            "y": 940
          }
        },
        "flowElementId": "4428C295-D9AD-4993-91C6-3B8ADE443C33",
        "groupId": null,
        "id": "D227EF73-3DDB-4EE4-B841-4775B9C1AD8C",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "name",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "vendorName",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "companyName",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "vendorName",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "email",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "email",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "phone",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "phone",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "addressLine1",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "addressLine1",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "city",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "city",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "stateOrProvince",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "state",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "zipOrPostalCode",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "zip",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "country",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "US"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "taxId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "taxId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "taxIdType",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "taxIdType",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "track1099",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "track1099",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "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": "createVendor",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "New vendor",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "billcom",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Add the carrier to BILL",
        "nextElementIds": [
          "32CC1549-F053-444E-8B42-A04F907E19F2"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Downloads the file attachments of an email message into FlowRunner file storage and returns a link to each saved file. Choose one attachment, or leave it empty to save every file attachment. Attached Outlook items (emails, events, contacts) and links to cloud files have no file to save and are listed as skipped. A stored file with the same name is replaced.",
          "elementId": "EXTENSION:::SHARED:::default:::outlook:::saveAttachment",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Save the packet files Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::outlook:::saveAttachment",
          "legacyElementId": "JS###v1###OutlookService###saveAttachment",
          "methodName": "saveAttachment",
          "position": {
            "x": 578,
            "y": 40
          }
        },
        "flowElementId": "980A906A-BC13-43A0-966F-B78D1D512EFC",
        "groupId": null,
        "id": "82FA52A5-14B5-4188-BF7D-0E4EAE8EC4C2",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "messageId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Packet email",
                    "subPathSegments": [
                      {
                        "key": "id",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7284D1E2-0BDA-4965-A32C-748A5199D1AC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "attachmentId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "includeInline",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Save the packet files', Error: OAuth Connection is required",
            "valid": false
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "saveAttachment",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Packet files",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "outlook",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Save the packet files",
        "nextElementIds": [
          "018160C4-E758-4FB0-BB4C-A8FFB5D478FF"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "data-bucket",
          "isFirstElement": false,
          "blockDefinitionId": "data-bucket",
          "fieldKeys": {
            "Packet documents": "cda43478-b100-44fd-9d50-d75dc94e462d"
          },
          "position": {
            "x": 963,
            "y": 49
          }
        },
        "flowElementId": "42F87177-25AC-42C0-B140-6E70C1DDFAB2",
        "groupId": null,
        "id": "018160C4-E758-4FB0-BB4C-A8FFB5D478FF",
        "metaInfo": {
          "bucketName": "Default",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "fields": [
            {
              "name": "Packet documents",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "EMPTY_LIST",
                    "label": null,
                    "type": "KEYWORD",
                    "value": "arrays.create()"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "start",
          "storeResult": true
        },
        "name": "Start the packet",
        "nextElementIds": [],
        "nextGroupIds": [
          "5D8EF662-C6D5-433B-B81E-87ED1DD745C9"
        ],
        "type": "DATA_BUCKET"
      },
      {
        "clientMetadata": {
          "elementId": "data-bucket",
          "isFirstElement": false,
          "blockDefinitionId": "data-bucket",
          "fieldKeys": {
            "Packet documents": "c083e514-f83a-4553-b071-6a78e51f7bf1"
          },
          "position": {
            "x": 1010,
            "y": 40
          }
        },
        "flowElementId": "56CF0541-D3EB-4E29-94E2-EEBEECE64F9C",
        "groupId": "5D8EF662-C6D5-433B-B81E-87ED1DD745C9",
        "id": "10FA63BB-02D7-4F91-B7A0-33726D24DE4F",
        "metaInfo": {
          "bucketName": "Default",
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "fields": [
            {
              "name": "Packet documents",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Packet so far",
                    "subPathSegments": [
                      {
                        "key": "docs",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "F6F6871F-4449-443B-A757-3A340C86A9D5"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "keep",
          "storeResult": true
        },
        "name": "Keep what was read",
        "nextElementIds": [],
        "nextGroupIds": [],
        "type": "DATA_BUCKET"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Confirm nothing was created Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 142,
            "y": 810
          }
        },
        "flowElementId": "6020ABA6-F081-430F-AB89-E8AC895657AF",
        "groupId": null,
        "id": "78EF7A22-24E1-45CF-9633-2C536D7E85A5",
        "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": "Check",
                    "subPathSegments": [
                      {
                        "key": "carrierLabel",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " was not set up. Nothing was created in BILL."
                  }
                ],
                "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": "COMPLEX_LIST",
              "value": []
            }
          ],
          "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": "Not created note",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Confirm nothing was created",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Tell AP it's already in BILL Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 1310,
            "y": 510
          }
        },
        "flowElementId": "89CAC2F2-F88D-4654-84AE-5B7572DCE40D",
        "groupId": null,
        "id": "0FC75805-F556-43AB-8F98-C2A3452DFECF",
        "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": "Check",
                    "subPathSegments": [
                      {
                        "key": "existingText",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "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": "COMPLEX_LIST",
              "value": []
            }
          ],
          "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": "Already in BILL note",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Tell AP it's already in BILL",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Put the packet together Result"
          },
          "position": {
            "x": 1317,
            "y": 219
          }
        },
        "flowElementId": "FC6F837B-8D66-4AC1-A55F-708318E54EBF",
        "groupId": null,
        "id": "DD1FDDF1-3B5F-4E84-82E6-FAB32318A308",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "docs",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "EXECUTION_CONTEXT_DATA_BUCKET_VARIABLE",
                    "label": "Default - Packet documents",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.dataBuckets.Default.Packet documents",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "dataBuckets",
                        "optional": false
                      },
                      {
                        "key": "Default",
                        "optional": false
                      },
                      {
                        "key": "Packet documents",
                        "optional": false
                      }
                    ]
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "from",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Packet email",
                    "subPathSegments": [
                      {
                        "key": "from",
                        "optional": false
                      },
                      {
                        "key": "emailAddress",
                        "optional": false
                      },
                      {
                        "key": "address",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7284D1E2-0BDA-4965-A32C-748A5199D1AC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "subject",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Packet email",
                    "subPathSegments": [
                      {
                        "key": "subject",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7284D1E2-0BDA-4965-A32C-748A5199D1AC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "webLink",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Packet email",
                    "subPathSegments": [
                      {
                        "key": "webLink",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "7284D1E2-0BDA-4965-A32C-748A5199D1AC"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const list = Array.isArray(docs) ? docs : [];\nconst typeOf = d => String(d.documentType || '').toLowerCase();\nconst filled = v => v !== undefined && v !== null && String(v).trim() !== '';\nconst pick = (field, prefer) => {\n  const first = list.filter(d => prefer.includes(typeOf(d)));\n  for (const d of first.concat(list)) if (filled(d[field])) return String(d[field]).trim();\n  return '';\n};\nconst digits = s => String(s || '').replace(/\\D/g, '');\nconst has = t => list.some(d => typeOf(d) === t || typeOf(d) === 'combined');\nconst W9 = ['w9', 'combined'];\nconst AUTH = ['authority', 'combined'];\nconst COI = ['insurance', 'combined'];\nconst mc = digits(pick('mcNumber', AUTH));\nconst dot = digits(pick('dotNumber', AUTH));\nconst w9Doc = list.find(d => W9.includes(typeOf(d)));\nconst missing = [];\nif (!has('w9')) missing.push('W-9');\nif (!has('insurance')) missing.push('certificate of insurance');\nif (!has('authority')) missing.push('MC authority');\nconst legalName = pick('legalName', W9);\nconst sender = from || '';\nconst fileLinks = webLink ? '<' + webLink + '|Open the packet email in Outlook>' : '';\nconst lacking = !mc && !dot ? 'no MC or USDOT number' : (!mc ? 'no MC number' : 'no USDOT number');\nconst missingNumbersText = 'The carrier setup packet from ' + (legalName || sender || 'an unknown sender') + ' has ' + lacking\n  + ', so it was not checked at FMCSA and nothing was created in BILL. Ask the carrier for its MC authority and USDOT number.'\n  + '\\nFrom: ' + sender + (subject ? ', subject: ' + subject : '')\n  + (fileLinks ? '\\n' + fileLinks : '');\nreturn {\n  legalName,\n  dbaName: pick('dbaName', W9),\n  mcNumber: mc ? Number(mc) : null,\n  dotNumber: dot ? Number(dot) : null,\n  hasNumbers: mc.length > 0 && dot.length > 0,\n  tin: digits(pick('tin', W9)),\n  tinType: pick('tinType', W9).toUpperCase() === 'SSN' ? 'SSN' : 'EIN',\n  taxClassification: pick('taxClassification', W9).toLowerCase(),\n  w9Signed: !!w9Doc && (w9Doc.w9Signed === true || String(w9Doc.w9Signed).toLowerCase() === 'true'),\n  addressLine1: pick('addressLine1', W9),\n  city: pick('city', W9),\n  state: pick('state', W9),\n  zip: pick('zip', W9),\n  contactEmail: pick('contactEmail', []),\n  contactPhone: pick('contactPhone', []),\n  insuranceExpires: pick('insuranceExpires', COI),\n  missing,\n  fileLinks,\n  sender,\n  missingNumbersText,\n};\n"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Packet",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Put the packet together",
        "nextElementIds": [
          "8D730574-A268-4E62-8B67-CCB130AE7AD1"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Retrieves a paginated list of vendors from BILL.com. Returns vendors with their basic details including name, email, and status.",
          "elementId": "EXTENSION:::SHARED:::default:::billcom:::listVendors",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Look for the carrier in BILL Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::billcom:::listVendors",
          "legacyElementId": "JS###v1###BillComService###listVendors",
          "methodName": "listVendors",
          "position": {
            "x": 151,
            "y": 640
          }
        },
        "flowElementId": "A735FACF-87AF-4EA1-82CC-61C6D1A06C79",
        "groupId": null,
        "id": "D45F27C1-44A8-4341-80E5-02B0DFD02DDE",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "maxResults",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "NUMBER",
                    "label": null,
                    "type": "INPUT",
                    "value": 20
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "name",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Packet",
                    "subPathSegments": [
                      {
                        "key": "legalName",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DD1FDDF1-3B5F-4E84-82E6-FAB32318A308"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "nameMatch",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "fuzzy"
                  }
                ],
                "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": "listVendors",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "BILL vendors",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "billcom",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Look for the carrier in BILL",
        "nextElementIds": [
          "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Fires once for each new email that arrives in a mail folder (the Inbox unless another folder is chosen), optionally only for emails from a sender, with a subject, with attachments or still unread.",
          "elementId": "EXTENSION:::SHARED:::default:::outlook:::onNewEmail",
          "isFirstElement": true,
          "blockDefinitionId": "EXTENSION:::SHARED:::default:::outlook:::onNewEmail",
          "newElementId": "EXTENSION:::SHARED:::default:::outlook:::onNewEmail",
          "legacyElementId": "JS###v1###OutlookService###onNewEmail",
          "methodName": "onNewEmail",
          "position": {
            "x": 159,
            "y": 40
          }
        },
        "flowElementId": "1D7D1594-875F-4E13-9E54-F32949322754",
        "groupId": null,
        "id": "7284D1E2-0BDA-4965-A32C-748A5199D1AC",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": "Block: 'New setup packet email', Error: OAuth Connection is required",
            "valid": false
          },
          "condition": null,
          "connectionId": null,
          "dynamicData": [],
          "eventName": "onNewEmail",
          "frequency": {
            "repeat": {
              "every": 300
            },
            "schedule": "custom"
          },
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Packet email",
          "serviceId": "outlook",
          "slaConditions": [],
          "staticData": {
            "subjectContains": "setup",
            "hasAttachmentsOnly": true,
            "bodyFormat": "text"
          },
          "storeResult": true,
          "subtype": "POLLING",
          "type": "CUSTOM"
        },
        "name": "New setup packet email",
        "nextElementIds": [
          "82FA52A5-14B5-4188-BF7D-0E4EAE8EC4C2"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Looks a carrier up by USDOT number. Returns FMCSA's carrier record flattened to one level: legal and DBA name, physical address, allowedToOperate (Y/N), common, contract and broker authority status (A active, I inactive, N none), BIPD insurance required and on file (amounts in thousands of dollars), bond and cargo insurance, out-of-service date, safety rating and inspection and crash totals. Adds isAllowedToOperate, hasActiveCommonAuthority, hasActiveContractAuthority, hasActiveBrokerAuthority and isBipdInsuranceRequired as true or false (null when FMCSA leaves the field out), and the BIPD amounts in dollars. found is false, with no other carrier fields, when FMCSA has no carrier with that number.",
          "elementId": "EXTENSION:::SHARED:::default:::fmcsa:::getCarrierByDotNumber",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Look up the USDOT number at FMCSA Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::fmcsa:::getCarrierByDotNumber",
          "legacyElementId": null,
          "methodName": "getCarrierByDotNumber",
          "position": {
            "x": 110,
            "y": 210
          }
        },
        "flowElementId": "B03AE732-FDDF-45A4-8F70-37DD92312567",
        "groupId": null,
        "id": "634BE33E-36FE-4879-863C-6321B63964BE",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "dotNumber",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Packet",
                    "subPathSegments": [
                      {
                        "key": "dotNumber",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DD1FDDF1-3B5F-4E84-82E6-FAB32318A308"
                  }
                ],
                "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": "getCarrierByDotNumber",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "USDOT record",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "fmcsa",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Look up the USDOT number at FMCSA",
        "nextElementIds": [
          "D45F27C1-44A8-4341-80E5-02B0DFD02DDE"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Sends messages to Slack channels with optional Block Kit rich layouts. Supports plain text with Slack formatting, or advanced Block Kit JSON for buttons, menus, and interactive elements. Returns the message timestamp and channel ID for later updates or tracking.",
          "elementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Flag possible fraud to AP Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 1659,
            "y": 640
          }
        },
        "flowElementId": "C44F2BC8-AAA9-4CEB-9872-AEE12FEF8C77",
        "groupId": null,
        "id": "74E81753-8ADE-4017-9669-861163AD110D",
        "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": "Check",
                    "subPathSegments": [
                      {
                        "key": "text",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendAsBot",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botIcon",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "replyBroadcast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "imageURL",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "blocks",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Check",
                    "subPathSegments": [
                      {
                        "key": "blocks",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "DAA2EDC7-9E69-4DA1-ADCE-2B6C009CE665"
                  }
                ],
                "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": "Fraud flag",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Flag the mismatch to AP",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": true,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Take the next file Result"
          },
          "position": {
            "x": 110,
            "y": 40
          }
        },
        "flowElementId": "58E70794-0C03-41A3-B74B-6F082E47FD1E",
        "groupId": "5D8EF662-C6D5-433B-B81E-87ED1DD745C9",
        "id": "62A09545-09CB-424F-89BA-2E7EAC979F8C",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "item",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "LIST_ITERATOR_CURRENT_ELEMENT",
                    "label": null,
                    "subPathSegments": null,
                    "type": "LIST_ITERATOR_CURRENT_ELEMENT",
                    "value": "5D8EF662-C6D5-433B-B81E-87ED1DD745C9"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const f = item || {};\nreturn { url: String(f.url || ''), mimeType: String(f.contentType || 'application/pdf'), name: String(f.name || f.filename || '') };\n"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "File",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Take the next file",
        "nextElementIds": [
          "305E2900-FDE5-4141-A475-424ADAD9CC53"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      }
    ],
    "firstElementId": "7284D1E2-0BDA-4965-A32C-748A5199D1AC",
    "groups": [
      {
        "clientMetadata": {
          "elementId": "list-iterator",
          "isFirstElement": false,
          "blockDefinitionId": "list-iterator",
          "viewport": {
            "x": -70,
            "y": 0,
            "zoom": 1
          },
          "position": {
            "x": 1326,
            "y": 49
          }
        },
        "flowElementId": "C886DBB9-D8C7-45D0-B9AD-DD903063067A",
        "groupId": null,
        "id": "5D8EF662-C6D5-433B-B81E-87ED1DD745C9",
        "loopType": "LIST_ITERATOR",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "enabled": true,
          "firstElementId": "62A09545-09CB-424F-89BA-2E7EAC979F8C",
          "list": {
            "expression": [
              {
                "id": "ELEMENT_RESULT",
                "label": "Packet files",
                "subPathSegments": [
                  {
                    "key": "files",
                    "optional": false
                  }
                ],
                "type": "ELEMENT_LINK",
                "value": "82FA52A5-14B5-4188-BF7D-0E4EAE8EC4C2"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "onFailElemId": null,
          "resultAlias": "loop",
          "storeResult": true
        },
        "name": "Read each document",
        "nextElementIds": [
          "DD1FDDF1-3B5F-4E84-82E6-FAB32318A308"
        ],
        "nextGroupIds": [],
        "type": "LOOP"
      }
    ],
    "id": "FB2C0E12-1751-4EBB-B332-C9A350B5F794",
    "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": "Your Anthropic API key, used to read the packet documents.",
          "error": null,
          "name": "Anthropic key",
          "type": "API_KEY",
          "value": null
        },
        {
          "description": "The URL of the block Wait for AP's answer. The Slack buttons open it.",
          "error": null,
          "name": "Answer link",
          "type": "STRING",
          "value": ""
        }
      ],
      "initialData": null,
      "initialDataDefaultValues": {},
      "ownerFlowVersionId": null,
      "schedule": null,
      "sharedMemory": {
        "anchor": {
          "missingAnchorPolicy": null,
          "path": null,
          "type": "FLOW_MEMORY"
        },
        "expirationInSec": null
      },
      "wasLive": false
    }
  },
  "slaCalendars": [],
  "slaGoals": [],
  "subFlows": [],
  "exportDate": "2026-11-29T02:51:44.427Z"
}
