{
  "elementsLearnedData": [],
  "elementsTestData": [],
  "flow": {
    "id": "321C5A8A-FD0D-421D-96D9-91F418E8A4C6",
    "name": "DocuSign: unsigned rate con resent and escalated"
  },
  "flowVersion": {
    "clientMetadata": {
      "viewport": {
        "x": -46.858432036097014,
        "y": 8.415115623237451,
        "zoom": 0.79
      },
      "autoSave": false,
      "descriptions": {
        "flow": "When a rate con goes out in DocuSign, waits two hours. If the carrier still hasn't signed, resends it, finds the load in McLeod and asks the dispatcher in Slack whether to keep waiting or void the rate con.",
        "initialData": "",
        "initialDataFields": {}
      }
    },
    "description": "When a rate con goes out in DocuSign, waits two hours. If the carrier still hasn't signed, resends it, finds the load in McLeod and asks the dispatcher in Slack whether to keep waiting or void the rate con.",
    "elements": [
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Read the load number Result"
          },
          "position": {
            "x": 482,
            "y": 49
          }
        },
        "flowElementId": "03F157E1-4233-4D6B-8689-08C7AB3DB62F",
        "groupId": null,
        "id": "13EBD27A-04A6-4F10-995F-0418AB751A5E",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "subject",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Sent envelope",
                    "subPathSegments": [
                      {
                        "key": "emailSubject",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "28298901-A5FC-4193-81CF-2FD46D9DBCBD"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "recipients",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Sent envelope",
                    "subPathSegments": [
                      {
                        "key": "recipients",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "28298901-A5FC-4193-81CF-2FD46D9DBCBD"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sentAt",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Sent envelope",
                    "subPathSegments": [
                      {
                        "key": "sentDateTime",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "28298901-A5FC-4193-81CF-2FD46D9DBCBD"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const s = String(subject || '');\nconst isRateCon = /rate\\s*con(firmation)?/i.test(s);\nconst m = s.match(/(?:load|order)\\s*(?:#|no\\.?|number)?\\s*:?\\s*([A-Z0-9][A-Z0-9-]{2,})/i);\nconst signer = (Array.isArray(recipients) ? recipients : [])[0] || {};\nreturn {\n  isRateCon: isRateCon && !!m,\n  loadNumber: m ? m[1] : '',\n  signerName: signer.name || 'the carrier',\n  signerEmail: signer.email || '',\n  sentAt: sentAt ? String(sentAt).slice(0, 16).replace('T', ' ') + ' UTC' : '',\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Rate con",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Read the load number",
        "nextElementIds": [
          "B212AE33-C419-47C2-B3EC-12C2068691F6"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 834,
            "y": 49
          }
        },
        "flowElementId": "1E3FB3FD-465B-41AF-94B2-C1933E04CE77",
        "groupId": null,
        "id": "B212AE33-C419-47C2-B3EC-12C2068691F6",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "444288d3-592d-448e-b1dd-14884511ba8c",
                "nestedOperation": null,
                "operation": "isTrue",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Rate con",
                      "subPathSegments": [
                        {
                          "key": "isRateCon",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "13EBD27A-04A6-4F10-995F-0418AB751A5E"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "BOOLEAN",
                "values": []
              }
            ],
            "grouping": [
              "444288d3-592d-448e-b1dd-14884511ba8c"
            ]
          },
          "elseComponent": null,
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Rate con check",
          "storeResult": false,
          "thenComponent": {
            "componentId": "D302D193-B7F1-408C-A99D-4BF162D11924",
            "componentType": "ELEMENT"
          }
        },
        "name": "Rate con for a load?",
        "nextElementIds": [
          "D302D193-B7F1-408C-A99D-4BF162D11924"
        ],
        "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": "Confirm the rate con stays open Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 1524,
            "y": 380
          }
        },
        "flowElementId": "10BEF5E2-0F00-4574-BDB3-8A9CB2A15574",
        "groupId": null,
        "id": "FD4D0027-CD58-4D01-98A9-7C8A3F91A1B2",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "channelId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ""
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "messageText",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "The rate con for load "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Rate con",
                    "subPathSegments": [
                      {
                        "key": "loadNumber",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13EBD27A-04A6-4F10-995F-0418AB751A5E"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " stays open in DocuSign for "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Rate con",
                    "subPathSegments": [
                      {
                        "key": "signerName",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13EBD27A-04A6-4F10-995F-0418AB751A5E"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " to sign."
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question to dispatcher",
                    "subPathSegments": [
                      {
                        "key": "messageId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "EE7D9151-5695-447F-AAB6-F731AC0F4833"
                  }
                ],
                "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": "Wait confirmation",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Confirm the rate con stays open",
        "nextElementIds": [],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Triggered when an envelope is sent to recipients for signing. Use this to track envelope delivery or trigger follow-up actions when documents are dispatched.",
          "elementId": "EXTENSION:::SHARED:::default:::docusign:::onEnvelopeSent",
          "isFirstElement": true,
          "blockDefinitionId": "api-service-trigger",
          "newElementId": "EXTENSION:::SHARED:::default:::docusign:::onEnvelopeSent",
          "legacyElementId": "JS###v1###DocuSignService###onEnvelopeSent",
          "methodName": "onEnvelopeSent",
          "position": {
            "x": 124,
            "y": 40
          }
        },
        "flowElementId": "9C1D7DBD-3BAB-460B-9029-17832CBC288B",
        "groupId": null,
        "id": "28298901-A5FC-4193-81CF-2FD46D9DBCBD",
        "metaInfo": {
          "callbackUrl": null,
          "clientValidationState": {
            "errorMessage": "Block: 'Rate con sent for signature', Error: OAuth Connection is required",
            "valid": false
          },
          "condition": null,
          "connectionId": null,
          "eventName": "onEnvelopeSent",
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Sent envelope",
          "scope": "SINGLE_APP",
          "serviceId": "docusign",
          "slaConditions": [],
          "staticData": {},
          "storeResult": true,
          "subtype": "REALTIME",
          "type": "CUSTOM"
        },
        "name": "Rate con sent for signature",
        "nextElementIds": [
          "13EBD27A-04A6-4F10-995F-0418AB751A5E"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "clientMetadata": {
          "notes": "Retrieves the current status and details of a DocuSign envelope including sent date, status changes, and recipient information. Use this to check if an envelope has been signed, delivered, or declined.",
          "elementId": "EXTENSION:::SHARED:::default:::docusign:::getEnvelopeStatus",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Check the envelope Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::docusign:::getEnvelopeStatus",
          "legacyElementId": "JS###v1###DocuSignService###getEnvelopeStatus",
          "methodName": "getEnvelopeStatus",
          "position": {
            "x": 1200,
            "y": 210
          }
        },
        "flowElementId": "B84EF04B-FA7F-4F8D-BAFE-090890B0A094",
        "groupId": null,
        "id": "6B021E99-89E1-4B36-B759-2A86D31100A8",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "envelopeId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Sent envelope",
                    "subPathSegments": [
                      {
                        "key": "envelopeId",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "28298901-A5FC-4193-81CF-2FD46D9DBCBD"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Check the envelope', 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": "getEnvelopeStatus",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Envelope status",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "docusign",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Check the envelope",
        "nextElementIds": [
          "191C0EDF-86F4-4A77-BA9A-0B5A8D4DAF7D"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 834,
            "y": 219
          }
        },
        "flowElementId": "02DEC4D9-2880-4757-A8A6-C5E4C3C2FAB5",
        "groupId": null,
        "id": "191C0EDF-86F4-4A77-BA9A-0B5A8D4DAF7D",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "fe0c0cc4-60b3-4afa-a83f-0355b985f7b3",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Envelope status",
                      "subPathSegments": [
                        {
                          "key": "status",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "6B021E99-89E1-4B36-B759-2A86D31100A8"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "sent"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              },
              {
                "id": "465bc923-08c9-49ce-89c2-f9768a15ba22",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "ELEMENT_RESULT",
                      "label": "Envelope status",
                      "subPathSegments": [
                        {
                          "key": "status",
                          "optional": false
                        }
                      ],
                      "type": "ELEMENT_LINK",
                      "value": "6B021E99-89E1-4B36-B759-2A86D31100A8"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "delivered"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "fe0c0cc4-60b3-4afa-a83f-0355b985f7b3",
              "OR",
              "465bc923-08c9-49ce-89c2-f9768a15ba22"
            ]
          },
          "elseComponent": null,
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Unsigned check",
          "storeResult": false,
          "thenComponent": {
            "componentId": "ABA87916-3D47-4319-9E6B-326EF8F56246",
            "componentType": "ELEMENT"
          }
        },
        "name": "Still unsigned?",
        "nextElementIds": [
          "ABA87916-3D47-4319-9E6B-326EF8F56246"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "elementId": "wait",
          "isFirstElement": false,
          "blockDefinitionId": "wait",
          "mode": "SIMPLE",
          "position": {
            "x": 1175,
            "y": 49
          }
        },
        "flowElementId": "6E47DDB2-1E8D-4742-86A2-821AC81220A4",
        "groupId": null,
        "id": "D302D193-B7F1-408C-A99D-4BF162D11924",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "delay": {
            "expression": [
              {
                "id": "NUMBER",
                "label": null,
                "type": "INPUT",
                "value": 7200
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": "DOUBLE"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "wait",
          "storeResult": true
        },
        "name": "Give the carrier time to sign",
        "nextElementIds": [
          "6B021E99-89E1-4B36-B759-2A86D31100A8"
        ],
        "nextGroupIds": [],
        "type": "WAIT"
      },
      {
        "clientMetadata": {
          "elementId": "external-callback",
          "isFirstElement": false,
          "blockDefinitionId": "external-callback",
          "position": {
            "x": 793,
            "y": 389
          }
        },
        "flowElementId": "3AE56F54-9E30-46CA-8BC9-27A988B63B29",
        "groupId": null,
        "id": "F9E4E7DE-A828-4F39-9A22-B0997922FA9C",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": null,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": null
          },
          "onFailElemId": null,
          "resultAlias": "Dispatcher decision",
          "slaConditions": [],
          "storeResult": true,
          "type": "CALLBACK"
        },
        "name": "Wait for the dispatcher's answer",
        "nextElementIds": [
          "4D4A9BA0-3744-4A2A-9CB7-0C8BF025F53B"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "TRIGGER"
      },
      {
        "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 void Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 834,
            "y": 550
          }
        },
        "flowElementId": "7D661C51-FB3A-44CD-9C9D-963B74724A0B",
        "groupId": null,
        "id": "807DE42C-8FAA-4FCE-9061-0229D8EE372B",
        "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": "Voided. The rate con for load "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Rate con",
                    "subPathSegments": [
                      {
                        "key": "loadNumber",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13EBD27A-04A6-4F10-995F-0418AB751A5E"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " is canceled in DocuSign and the carrier sees the reason. Cover the load again in McLeod."
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question to dispatcher",
                    "subPathSegments": [
                      {
                        "key": "messageId",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "EE7D9151-5695-447F-AAB6-F731AC0F4833"
                  }
                ],
                "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": "Void confirmation",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Confirm the void",
        "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": "Ask the dispatcher Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::slack:::sendMessageToChannel",
          "legacyElementId": "JS###v1###Slack###sendMessageToChannel",
          "methodName": "sendMessageToChannel",
          "position": {
            "x": 488,
            "y": 380
          }
        },
        "flowElementId": "38A8D80F-2C07-4B07-B5C4-930BBA92ABA3",
        "groupId": null,
        "id": "EE7D9151-5695-447F-AAB6-F731AC0F4833",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "channelId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": ""
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "messageText",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question card",
                    "subPathSegments": [
                      {
                        "key": "text",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "F855DE31-FD4E-4824-AE44-882D471C15FE"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "threadId",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sendAsBot",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botName",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "botIcon",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "replyBroadcast",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "K_FALSE",
                    "label": null,
                    "type": "KEYWORD",
                    "value": false
                  }
                ],
                "mode": "BASIC",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "imageURL",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "blocks",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Question card",
                    "subPathSegments": [
                      {
                        "key": "blocks",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "F855DE31-FD4E-4824-AE44-882D471C15FE"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "sendMessageToChannel",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Question to dispatcher",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "slack",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Ask the dispatcher",
        "nextElementIds": [
          "F9E4E7DE-A828-4F39-9A22-B0997922FA9C"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "elementId": "condition",
          "isFirstElement": false,
          "blockDefinitionId": "condition",
          "position": {
            "x": 1200,
            "y": 389
          }
        },
        "flowElementId": "91E632F9-4412-4F96-8620-49761515B1AD",
        "groupId": null,
        "id": "4D4A9BA0-3744-4A2A-9CB7-0C8BF025F53B",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "condition": {
            "conditionParts": [
              {
                "id": "814fc919-1f37-423a-a3aa-ad4d6d5962c1",
                "nestedOperation": null,
                "operation": "equal",
                "property": {
                  "expression": [
                    {
                      "id": "RESULT",
                      "label": "Dispatcher decision",
                      "subPathSegments": [
                        {
                          "key": "decision",
                          "optional": false
                        }
                      ],
                      "type": "TRIGGER_DATA",
                      "value": "F9E4E7DE-A828-4F39-9A22-B0997922FA9C"
                    }
                  ],
                  "mode": "EXPRESSION",
                  "parseJsonString": false,
                  "resultType": null
                },
                "propertyType": "STRING",
                "values": [
                  {
                    "expression": [
                      {
                        "id": "TEXT",
                        "label": null,
                        "type": "INPUT",
                        "value": "void"
                      }
                    ],
                    "mode": "EXPRESSION",
                    "parseJsonString": false,
                    "resultType": null
                  }
                ]
              }
            ],
            "grouping": [
              "814fc919-1f37-423a-a3aa-ad4d6d5962c1"
            ]
          },
          "elseComponent": {
            "componentId": "FD4D0027-CD58-4D01-98A9-7C8A3F91A1B2",
            "componentType": "ELEMENT"
          },
          "logging": null,
          "onFailElemId": null,
          "resultAlias": "Void check",
          "storeResult": false,
          "thenComponent": {
            "componentId": "16A5B04F-A310-46C7-9CA3-5249C8A8B0E9",
            "componentType": "ELEMENT"
          }
        },
        "name": "Void it?",
        "nextElementIds": [
          "FD4D0027-CD58-4D01-98A9-7C8A3F91A1B2",
          "16A5B04F-A310-46C7-9CA3-5249C8A8B0E9"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "preferredDateFormats": []
        },
        "type": "CONDITION"
      },
      {
        "clientMetadata": {
          "elementId": "custom-cloud-code",
          "isFirstElement": false,
          "blockDefinitionId": "custom-cloud-code",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Write the question for dispatch Result"
          },
          "position": {
            "x": 110,
            "y": 389
          }
        },
        "flowElementId": "AED5AB9E-B630-4DB8-AC06-C31F8C064B22",
        "groupId": null,
        "id": "F855DE31-FD4E-4824-AE44-882D471C15FE",
        "metaInfo": {
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "codeArguments": [
            {
              "name": "loadNumber",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Rate con",
                    "subPathSegments": [
                      {
                        "key": "loadNumber",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13EBD27A-04A6-4F10-995F-0418AB751A5E"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "signerName",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Rate con",
                    "subPathSegments": [
                      {
                        "key": "signerName",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13EBD27A-04A6-4F10-995F-0418AB751A5E"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "signerEmail",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Rate con",
                    "subPathSegments": [
                      {
                        "key": "signerEmail",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13EBD27A-04A6-4F10-995F-0418AB751A5E"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "sentAt",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Rate con",
                    "subPathSegments": [
                      {
                        "key": "sentAt",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13EBD27A-04A6-4F10-995F-0418AB751A5E"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "found",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "McLeod load",
                    "subPathSegments": [
                      {
                        "key": "found",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "7BB8C2DC-6ACA-4477-A776-2EE3F3EC6932"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "loadData",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "McLeod load",
                    "subPathSegments": [
                      {
                        "key": "load",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "7BB8C2DC-6ACA-4477-A776-2EE3F3EC6932"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "answerLink",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "PLACEHOLDER_DATA",
                    "label": "Answer link",
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_STATIC_DATA",
                    "value": "Answer link"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "executionId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "EXECUTION_ID",
                    "label": null,
                    "subPathSegments": null,
                    "type": "EXECUTION_CONTEXT_PATH",
                    "value": "executionContext.executionId",
                    "valueSegments": [
                      {
                        "key": "executionContext",
                        "optional": false
                      },
                      {
                        "key": "executionId",
                        "optional": false
                      }
                    ]
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "codeBody": {
            "expression": [
              {
                "id": "TEXT",
                "label": null,
                "type": "INPUT",
                "value": "const link = (d) => `${answerLink}?execution=${encodeURIComponent(executionId)}&decision=${d}`;\nconst load = found && loadData ? loadData : null;\nconst stops = (load && Array.isArray(load.stops)) ? load.stops : [];\nconst first = stops[0];\nconst last = stops[stops.length - 1];\nconst place = (s) => s ? [s.city, s.state].filter(Boolean).join(', ') : '';\nconst time = (t) => t ? String(t).slice(0, 16).replace('T', ' ') : '';\nconst move = load && Array.isArray(load.movements) ? load.movements[0] : null;\nconst carrier = (move && move.carrier && move.carrier.name) || (load && load.carrier && load.carrier.name) || '';\nconst pay = load && load.carrierPay && load.carrierPay.totalPay;\nconst lines = [\n  `*Rate con for load ${loadNumber} is still unsigned*`,\n  `Sent to ${signerName}${signerEmail ? ` (${signerEmail})` : ''}${sentAt ? ` at ${sentAt}` : ''}. DocuSign has sent it again.`,\n];\nif (load) {\n  if (carrier) lines.push(`Carrier in McLeod: ${carrier}`);\n  if (first && last) lines.push(`Lane: ${place(first)} to ${place(last)}`);\n  if (first && first.scheduledArriveEarly) lines.push(`Pickup: ${time(first.scheduledArriveEarly)}${first.scheduledArriveLate ? ` to ${time(first.scheduledArriveLate)}` : ''}`);\n  if (pay != null) lines.push(`Carrier pay: $${Number(pay).toFixed(2)}`);\n} else {\n  lines.push(`No load ${loadNumber} was found in McLeod.`);\n}\nlines.push('Call the carrier, then keep waiting, or void the rate con if you are covering the load with someone else.');\nreturn {\n  text: `Rate con for load ${loadNumber} is still unsigned`,\n  blocks: [\n    { type: 'section', text: { type: 'mrkdwn', text: lines.join('\\n') } },\n    { type: 'actions', elements: [\n      { type: 'button', style: 'primary', text: { type: 'plain_text', text: 'Keep waiting' }, url: link('wait') },\n      { type: 'button', style: 'danger', text: { type: 'plain_text', text: 'Void the rate con' }, url: link('void') },\n    ] },\n  ],\n};"
              }
            ],
            "mode": "EXPRESSION",
            "parseJsonString": false,
            "resultType": null
          },
          "enabled": true,
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "onFailElemId": null,
          "resultAlias": "Question card",
          "retryPolicy": null,
          "saveToVariable": null,
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "type": "CUSTOM_CLOUD_CODE"
        },
        "name": "Write the question for dispatch",
        "nextElementIds": [
          "EE7D9151-5695-447F-AAB6-F731AC0F4833"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Resends email notifications to all pending recipients of a DocuSign envelope. Useful when recipients have not received or lost the original signing notification email.",
          "elementId": "EXTENSION:::SHARED:::default:::docusign:::resendEnvelope",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Resend the rate con Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::docusign:::resendEnvelope",
          "legacyElementId": "JS###v1###DocuSignService###resendEnvelope",
          "methodName": "resendEnvelope",
          "position": {
            "x": 488,
            "y": 210
          }
        },
        "flowElementId": "05B9A14A-3BEB-4AEC-9A9C-82D194958330",
        "groupId": null,
        "id": "ABA87916-3D47-4319-9E6B-326EF8F56246",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "envelopeId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Sent envelope",
                    "subPathSegments": [
                      {
                        "key": "envelopeId",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "28298901-A5FC-4193-81CF-2FD46D9DBCBD"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Resend the rate con', 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": "resendEnvelope",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Resent envelope",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "docusign",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Resend the rate con",
        "nextElementIds": [
          "7BB8C2DC-6ACA-4477-A776-2EE3F3EC6932"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Finds a load by its order number, PRO number, bill of lading, consignee reference or a stop reference number (McLeod order tracking search) and returns the first match in full, as Get Load does, with every match listed. Returns found: false instead of failing when nothing matches.",
          "elementId": "EXTENSION:::SHARED:::default:::mcleod-loadmaster:::findLoadByNumber",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Find the load in McLeod Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::mcleod-loadmaster:::findLoadByNumber",
          "legacyElementId": null,
          "methodName": "findLoadByNumber",
          "position": {
            "x": 135,
            "y": 210
          }
        },
        "flowElementId": "D2DCC4A2-0217-4E8E-8D3F-3052954D9B84",
        "groupId": null,
        "id": "7BB8C2DC-6ACA-4477-A776-2EE3F3EC6932",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "loadNumber",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Rate con",
                    "subPathSegments": [
                      {
                        "key": "loadNumber",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13EBD27A-04A6-4F10-995F-0418AB751A5E"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "proNumber",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "billOfLading",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "consigneeReference",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "referenceNumber",
              "type": "SIMPLE",
              "value": {
                "expression": [],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": null,
            "valid": true
          },
          "connectionId": null,
          "enabled": true,
          "hostType": "SHARED",
          "logging": {
            "input": {
              "logData": false,
              "message": null
            },
            "output": {
              "logData": false,
              "message": null
            }
          },
          "methodName": "findLoadByNumber",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "McLeod load",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "mcleod-loadmaster",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Find the load in McLeod",
        "nextElementIds": [
          "F855DE31-FD4E-4824-AE44-882D471C15FE"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      },
      {
        "clientMetadata": {
          "notes": "Voids (cancels) a sent DocuSign envelope, preventing any further signing activity. A void reason is required and will be visible to all recipients. Only envelopes with status 'sent' or 'delivered' can be voided.",
          "elementId": "EXTENSION:::SHARED:::default:::docusign:::voidEnvelope",
          "isFirstElement": false,
          "blockDefinitionId": "api-service-method",
          "setResultToVariable": false,
          "saveToVariable": {
            "dataBucket": "Default",
            "variable": "Void the rate con Result"
          },
          "newElementId": "EXTENSION:::SHARED:::default:::docusign:::voidEnvelope",
          "legacyElementId": "JS###v1###DocuSignService###voidEnvelope",
          "methodName": "voidEnvelope",
          "position": {
            "x": 1200,
            "y": 550
          }
        },
        "flowElementId": "E8D3A49E-B87A-4076-AF30-3B6A251CE1C0",
        "groupId": null,
        "id": "16A5B04F-A310-46C7-9CA3-5249C8A8B0E9",
        "metaInfo": {
          "bodyParams": [
            {
              "name": "envelopeId",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "RESULT",
                    "label": "Sent envelope",
                    "subPathSegments": [
                      {
                        "key": "envelopeId",
                        "optional": false
                      }
                    ],
                    "type": "TRIGGER_DATA",
                    "value": "28298901-A5FC-4193-81CF-2FD46D9DBCBD"
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            },
            {
              "name": "voidReason",
              "type": "SIMPLE",
              "value": {
                "expression": [
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": "This rate confirmation for load "
                  },
                  {
                    "id": "ELEMENT_RESULT",
                    "label": "Rate con",
                    "subPathSegments": [
                      {
                        "key": "loadNumber",
                        "optional": false
                      }
                    ],
                    "type": "ELEMENT_LINK",
                    "value": "13EBD27A-04A6-4F10-995F-0418AB751A5E"
                  },
                  {
                    "id": "TEXT",
                    "label": null,
                    "type": "INPUT",
                    "value": " is canceled. Please do not dispatch a truck for it."
                  }
                ],
                "mode": "EXPRESSION",
                "parseJsonString": false,
                "resultType": null
              }
            }
          ],
          "clientValidationState": {
            "errorMessage": "Block: 'Void the rate con', 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": "voidEnvelope",
          "onFailElemId": null,
          "packageId": "default",
          "resultAlias": "Voided envelope",
          "retryPolicy": null,
          "saveToVariable": null,
          "serviceId": "docusign",
          "simulationResult": null,
          "slaConditions": [],
          "storeResult": true,
          "subtype": "API_SERVICE",
          "type": "EXTENSION"
        },
        "name": "Void the rate con",
        "nextElementIds": [
          "807DE42C-8FAA-4FCE-9061-0229D8EE372B"
        ],
        "nextGroupIds": [],
        "serverFields": {
          "learningStatus": "OFF"
        },
        "type": "ACTION"
      }
    ],
    "firstElementId": "28298901-A5FC-4193-81CF-2FD46D9DBCBD",
    "groups": [],
    "id": "550A2940-BEBC-44BB-BD3B-3C51B6C4E50D",
    "metaInfo": {
      "clientValidationState": {
        "errorMessage": "Please fix problems before start. Blocks with issues have red badge in the top-right corner of a block, hover it to see what needs to be done.",
        "valid": false
      },
      "errorMessage": "Please fix problems before start. Blocks with issues have red badge in the top-right corner of a block, hover it to see what needs to be done.",
      "executionStaticData": [
        {
          "description": "The URL of the block Wait for the dispatcher'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-26T09:37:02.053Z"
}
