Objective: Run a workflow automatically on a schedule without clicking "Execute".
Schedule Trigger → Log ActionLab 6 - Scheduler.Log Action and add a field Status with value Run Automatically.Schedule Trigger → Log Action.
{
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 1
}
]
}
},
"id": "258d242d-46d3-4edc-931c-4cc9b9c439b7",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.1,
"position": [
-400,
-16
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"name": "Status",
"value": "Run Automatically",
"type": "string"
}
]
},
"options": {}
},
"id": "883dbdd9-fcb5-4e88-875f-40d37a5229d8",
"name": "Log Action",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
-176,
-16
]
},
{
"parameters": {
"content": "## Lab 6: The Scheduler\\n1. **Schedule Trigger:** Configured to run every 1 Minute.\\n2. **Test:**\\n - You cannot hit \\"Execute\\" to test the timer.\\n - You must toggle the workflow to **Active** (top right).\\n - Wait 2 minutes.\\n - Check the **Executions** tab to see the auto-runs.",
"height": 464,
"width": 748,
"color": 4
},
"id": "b32fea9c-424c-40ad-9786-a1c39a6841ec",
"name": "Instructions",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-608,
-272
]
}
],
"connections": {
"Schedule Trigger": {
"main": [
[
{
"node": "Log Action",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"instanceId": "82cc682d3f33add4f11a78e1f29750bf4ba4e425478ba4b17330f9bf15960ec6"
}
}