{
  "format": "chatigram-workflow",
  "version": 1,
  "metadata": {
    "sourceName": "Review overdue requests every morning",
    "importHelp": {
      "note": "Setup required. Select a database/table, add due-date or status filters, and choose the timezone. Review the selected columns before activation. Placeholder endpoints use example.invalid and cannot call a real business service. Keep the workflow disabled until you finish the setup and review its effects."
    }
  },
  "workflow": {
    "instruction": null,
    "multiLanguageSupport": null,
    "properties": [],
    "trigger": {
      "$tag": "Trigger",
      "type": "CRON",
      "data": {
        "cronExpression": "0 0 9 * * ?",
        "timezone": "UTC",
        "mode": "advanced"
      }
    },
    "nodes": [
      {
        "$tag": "Node",
        "id": "d0c00000-0000-4000-8000-000000000001",
        "name": "requests",
        "parentId": null,
        "branchIndex": 0,
        "type": "DATABASE_FIND_ROWS",
        "data": {
          "databaseId": null,
          "tableId": null,
          "columns": [],
          "combinator": "AND",
          "filters": [],
          "sorts": [],
          "limit": 20
        }
      },
      {
        "$tag": "Node",
        "id": "d0c00000-0000-4000-8000-000000000002",
        "name": "matchingRequests",
        "parentId": "d0c00000-0000-4000-8000-000000000001",
        "branchIndex": 0,
        "type": "SET_VARIABLE",
        "data": {
          "variableValue": [
            {
              "$tag": "Variable",
              "name": "requests.rowsJson"
            }
          ]
        }
      },
      {
        "$tag": "Node",
        "id": "d0c00000-0000-4000-8000-000000000003",
        "name": "nothingDue",
        "parentId": "d0c00000-0000-4000-8000-000000000001",
        "branchIndex": 1,
        "type": "SET_VARIABLE",
        "data": {
          "variableValue": [
            {
              "$tag": "Constant",
              "value": "No matching requests were found."
            }
          ]
        }
      }
    ],
    "gotos": []
  }
}
