The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "demo-01-patrol",
"name": "01 - Landmark Tour (Schedule -> Action)",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 3
}
]
}
},
"id": "patrol-schedule",
"name": "Every 3 Minutes",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
-360,
0
]
},
{
"parameters": {
"topicName": {
"__rl": true,
"mode": "id",
"value": "/rover/status"
},
"messageType": {
"__rl": true,
"mode": "id",
"value": "rover_interfaces/msg/RoverStatus"
},
"timeoutMs": 10000,
"conditions": {},
"options": {}
},
"id": "patrol-status",
"name": "Read Rover Status",
"type": "@fhnw-rover/n8n-nodes-ros2.rosTopicNextMessage",
"typeVersion": 1,
"position": [
-160,
0
],
"credentials": {
"rosBridgeApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "loose",
"version": 2
},
"conditions": [
{
"id": "rover-idle",
"leftValue": "={{ $json.message.state }}",
"rightValue": "IDLE",
"operator": {
"type": "string",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "patrol-if-idle",
"name": "Only If Rover Is Idle",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
40,
0
],
"notes": "Skips the scheduled tour when someone is already driving the rover through the form, so ambience never interrupts a visitor."
},
{
"parameters": {
"serviceName": {
"__rl": true,
"mode": "id",
"value": "/rover/set_led"
},
"serviceType": {
"__rl": true,
"mode": "id",
"value": "rover_interfaces/srv/SetLed"
},
"requestInputMode": "raw",
"requestJson": "{\n \"color\": \"blue\",\n \"blink\": false\n}"
},
"id": "patrol-led",
"name": "LED Blue (On Tour)",
"type": "@fhnw-rover/n8n-nodes-ros2.rosServiceCall",
"typeVersion": 1,
"position": [
260,
-80
],
"credentials": {
"rosBridgeApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"operation": "sendGoalAndWait",
"serverName": {
"__rl": true,
"mode": "id",
"value": "/rover/patrol"
},
"actionType": {
"__rl": true,
"mode": "id",
"value": "rover_interfaces/action/Patrol"
},
"goalInputMode": "raw",
"goalJson": "{\n \"waypoint_names\": [\"lake\", \"tree\", \"house\", \"mountain\"],\n \"loops\": 1,\n \"dock_when_done\": false\n}",
"includeFeedback": true,
"timeoutMs": 300000
},
"id": "patrol-action",
"name": "Tour the Landmarks",
"type": "@fhnw-rover/n8n-nodes-ros2.rosAction",
"typeVersion": 1,
"position": [
460,
-80
],
"credentials": {
"rosBridgeApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "loose",
"version": 2
},
"conditions": [
{
"id": "tour-succeeded",
"leftValue": "={{ $json.succeeded }}",
"rightValue": true,
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "patrol-if-done",
"name": "Only If Tour Finished",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
660,
-80
],
"notes": "If the tour was preempted (the battery watchdog docking the rover, or a visitor taking over), leave the LED alone instead of overwriting their colour with green."
},
{
"parameters": {
"serviceName": {
"__rl": true,
"mode": "id",
"value": "/rover/set_led"
},
"serviceType": {
"__rl": true,
"mode": "id",
"value": "rover_interfaces/srv/SetLed"
},
"requestInputMode": "raw",
"requestJson": "{\n \"color\": \"green\",\n \"blink\": false\n}"
},
"id": "patrol-led-done",
"name": "LED Green (Done)",
"type": "@fhnw-rover/n8n-nodes-ros2.rosServiceCall",
"typeVersion": 1,
"position": [
860,
-80
],
"credentials": {
"rosBridgeApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Every 3 Minutes": {
"main": [
[
{
"node": "Read Rover Status",
"type": "main",
"index": 0
}
]
]
},
"Read Rover Status": {
"main": [
[
{
"node": "Only If Rover Is Idle",
"type": "main",
"index": 0
}
]
]
},
"Only If Rover Is Idle": {
"main": [
[
{
"node": "LED Blue (On Tour)",
"type": "main",
"index": 0
}
],
[]
]
},
"LED Blue (On Tour)": {
"main": [
[
{
"node": "Tour the Landmarks",
"type": "main",
"index": 0
}
]
]
},
"Tour the Landmarks": {
"main": [
[
{
"node": "Only If Tour Finished",
"type": "main",
"index": 0
}
]
]
},
"Only If Tour Finished": {
"main": [
[
{
"node": "LED Green (Done)",
"type": "main",
"index": 0
}
],
[]
]
}
},
"active": true,
"settings": {
"executionOrder": "v1"
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
rosBridgeApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
01 - Landmark Tour (Schedule -> Action). Uses @fhnw-rover/n8n-nodes-ros2. Scheduled trigger; 7 nodes.
Source: https://github.com/sacovo/n8n-nodes-ros2/blob/5c0a3f2fde70374468e4f27f89256af0a4cee400/demo/workflows/01-patrol-mission.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This template is an interactive playground designed to help you master the most useful keyboard shortcuts in n8n and supercharge your building speed. Forget boring lists—this workflow gives you hands-
Workflow 2469. Uses moveBinaryData, googleDrive, itemLists, n8n. Scheduled trigger; 33 nodes.
Perfect for content publishing with organic scheduling patterns, social media automation, API systems that need to avoid rate limiting, or any automation requiring randomised timing control across mul
Complete backup solution that saves both workflows and credentials to local/server disk with optional FTP upload for off-site redundancy.
todoist automate. Uses todoist, executionData. Scheduled trigger; 27 nodes.