Nightly cleanup — Schedule

A schedule trigger set to every night at 02:00 (cron). Deploy it to a host and it fires on the clock; Test simulates one firing so you can build the flow now.

What’s inside

2 nodes — every type links to its full reference page.

StepNodeType
02:00 nightly Schedule input.schedule
Cleanup Console utility.console

Import it

  1. Studio → Import — paste the JSON below (or the URL /docs/templates/nightly-cleanup-schedule.json).
  2. Or ask the AI Copilot with the JSON pasted after the phrase:
    import this workflow json into a new workflow named "Nightly cleanup — Schedule"
  3. Any credentials the nodes need are ${credential.…} references — add them once in Admin → Credentials and the template picks them up. Nothing secret ships in a template.
The workflow document (flowdrome.workflow.v1, 2 node types)
{
  "schemaVersion": "flowdrome.workflow.v1",
  "id": "",
  "name": "Nightly cleanup — Schedule",
  "version": "0",
  "status": "draft",
  "nodes": [
    {
      "id": "clock",
      "type": "input.schedule",
      "label": "02:00 nightly",
      "category": "trigger",
      "config": {
        "mode": "cron",
        "cron": "0 2 * * *",
        "intervalSeconds": 60,
        "timezone": "UTC"
      },
      "position": {
        "x": 0,
        "y": 0
      }
    },
    {
      "id": "out",
      "type": "utility.console",
      "label": "Cleanup",
      "category": "utility",
      "config": {
        "message": "cleanup pass started"
      },
      "position": {
        "x": 530,
        "y": 0
      }
    }
  ],
  "edges": [
    {
      "id": "e0",
      "sourceNodeId": "clock",
      "sourcePort": "output",
      "targetNodeId": "out",
      "targetPort": "input"
    }
  ],
  "triggers": [
    {
      "id": "t0",
      "nodeId": "clock"
    }
  ],
  "meta": {
    "snippets": [],
    "source": "template-gallery",
    "description": "A schedule trigger set to every night at 02:00 (cron). Deploy it to a host and it fires on the clock; Test simulates one firing so you can build the flow now."
  }
}

Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: nightly-cleanup-schedule.json.