AutomationFlowsGeneral › Send the Rover Somewhere (form -> Action)

Send the Rover Somewhere (form -> Action)

03 - Send the Rover Somewhere (Form -> Action). Uses formTrigger, @fhnw-rover/n8n-nodes-ros2, form. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesForm Trigger@Fhnw Rover/N8N Nodes Ros2Form
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ Added:

This workflow follows the Form → Form Trigger recipe pattern — see all workflows that pair these two integrations.

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 →

Download .json
{
  "id": "demo-03-drive",
  "name": "03 - Send the Rover Somewhere (Form -> Action)",
  "nodes": [
    {
      "parameters": {
        "path": "drive-rover",
        "formTitle": "Send the Rover Somewhere",
        "formDescription": "Pick a place on the map and the rover will drive there. Watch it move on the live view.",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Destination",
              "fieldType": "dropdown",
              "fieldOptions": {
                "values": [
                  {
                    "option": "lake"
                  },
                  {
                    "option": "tree"
                  },
                  {
                    "option": "house"
                  },
                  {
                    "option": "mountain"
                  },
                  {
                    "option": "dock"
                  },
                  {
                    "option": "center"
                  }
                ]
              },
              "requiredField": true
            }
          ]
        },
        "responseMode": "lastNode",
        "options": {}
      },
      "id": "drive-form",
      "name": "Destination Form",
      "type": "n8n-nodes-base.formTrigger",
      "typeVersion": 2.2,
      "position": [
        -140,
        0
      ]
    },
    {
      "parameters": {
        "operation": "sendGoalAndWait",
        "serverName": {
          "__rl": true,
          "mode": "id",
          "value": "/rover/patrol"
        },
        "actionType": {
          "__rl": true,
          "mode": "id",
          "value": "rover_interfaces/action/Patrol"
        },
        "goalInputMode": "raw",
        "goalJson": "={{ JSON.stringify({ waypoint_names: [$json.Destination], loops: 1, dock_when_done: false }) }}",
        "includeFeedback": true,
        "timeoutMs": 180000
      },
      "id": "drive-action",
      "name": "Drive There",
      "type": "@fhnw-rover/n8n-nodes-ros2.rosAction",
      "typeVersion": 1,
      "position": [
        100,
        0
      ],
      "credentials": {
        "rosBridgeApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "operation": "completion",
        "respondWith": "text",
        "completionTitle": "={{ $json.result?.success ? 'The rover made it' : 'The rover did not get there' }}",
        "completionMessage": "={{ $json.result?.message || $json.error || 'The rover did not accept the goal.' }}\n\nDistance driven: {{ ($json.result?.distance_traveled ?? 0).toFixed(2) }} m\nTook: {{ ($json.result?.duration_seconds ?? 0).toFixed(1) }} s\nFeedback messages received: {{ ($json.feedback || []).length }}",
        "options": {}
      },
      "id": "drive-result",
      "name": "Show Result",
      "type": "n8n-nodes-base.form",
      "typeVersion": 1,
      "position": [
        340,
        0
      ]
    }
  ],
  "connections": {
    "Destination Form": {
      "main": [
        [
          {
            "node": "Drive There",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Drive There": {
      "main": [
        [
          {
            "node": "Show Result",
            "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.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

03 - Send the Rover Somewhere (Form -> Action). Uses formTrigger, @fhnw-rover/n8n-nodes-ros2, form. Event-driven trigger; 3 nodes.

Source: https://github.com/sacovo/n8n-nodes-ros2/blob/5c0a3f2fde70374468e4f27f89256af0a4cee400/demo/workflows/03-drive-form.json — original creator credit. Request a take-down →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

Forms. Uses formTrigger, form. Event-driven trigger; 6 nodes.

Form Trigger, Form
General

Simple OpenAI Image Generator. Uses convertToFile, formTrigger, httpRequest, form. Event-driven trigger; 5 nodes.

Form Trigger, HTTP Request, Form
General

DigialOceanUpload. Uses formTrigger, s3, form. Event-driven trigger; 3 nodes.

Form Trigger, S3, Form
General

This workflow provides a streamlined process for uploading files to Digital Ocean Spaces, making them publicly accessible. The process happens in three main steps: User submits the form with file, in

Form Trigger, S3, Form
General

This interactive tutorial teaches you how to build in n8n from scratch, using a live walkthrough with real-time examples. Rather than static documentation, this guided workflow explains key n8n concep

Form Trigger, Form