AutomationFlowsGeneral › Camera Snapshot (webhook -> Capture Image)

Camera Snapshot (webhook -> Capture Image)

06 - Camera Snapshot (Webhook -> Capture Image). Uses @fhnw-rover/n8n-nodes-ros2. Webhook trigger; 3 nodes.

Webhook trigger★☆☆☆☆ complexity3 nodes@Fhnw Rover/N8N Nodes Ros2
General Trigger: Webhook Nodes: 3 Complexity: ★☆☆☆☆ Added:

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-06-snapshot",
  "name": "06 - Camera Snapshot (Webhook -> Capture Image)",
  "nodes": [
    {
      "parameters": {
        "path": "rover-snapshot",
        "httpMethod": "GET",
        "responseMode": "responseNode",
        "options": {}
      },
      "id": "snapshot-webhook",
      "name": "GET /rover-snapshot",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        -140,
        0
      ]
    },
    {
      "parameters": {
        "topicName": {
          "__rl": true,
          "mode": "id",
          "value": "/rover/camera/compressed"
        },
        "messageType": {
          "__rl": true,
          "mode": "id",
          "value": "sensor_msgs/msg/CompressedImage"
        },
        "timeoutMs": 10000,
        "dataPropertyName": "data",
        "resize": true,
        "maxWidth": 640
      },
      "id": "snapshot-capture",
      "name": "Capture From Rover Camera",
      "type": "@fhnw-rover/n8n-nodes-ros2.rosTopicCaptureImage",
      "typeVersion": 1,
      "position": [
        100,
        0
      ],
      "credentials": {
        "rosBridgeApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "respondWith": "binary",
        "responseDataSource": "set",
        "inputFieldName": "data",
        "options": {}
      },
      "id": "snapshot-respond",
      "name": "Return the Image",
      "type": "n8n-nodes-base.respondToWebhook",
      "typeVersion": 1.1,
      "position": [
        340,
        0
      ]
    }
  ],
  "connections": {
    "GET /rover-snapshot": {
      "main": [
        [
          {
            "node": "Capture From Rover Camera",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Capture From Rover Camera": {
      "main": [
        [
          {
            "node": "Return the Image",
            "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

06 - Camera Snapshot (Webhook -> Capture Image). Uses @fhnw-rover/n8n-nodes-ros2. Webhook trigger; 3 nodes.

Source: https://github.com/sacovo/n8n-nodes-ros2/blob/5c0a3f2fde70374468e4f27f89256af0a4cee400/demo/workflows/06-camera-snapshot.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

Validate Seatable Webhooks with HMAC SHA256 Authentication. Uses respondToWebhook, crypto, noOp, stickyNote. Webhook trigger; 7 nodes.

Crypto
General

TheHive. Uses theHive, signl4, manualTrigger. Webhook trigger; 7 nodes.

The Hive, Signl4
General

Respondtowebhook Stickynote. Uses respondToWebhook, stickyNote. Webhook trigger; 7 nodes.

General

Validate Seatable Webhooks with HMAC SHA256 Authentication. Uses crypto. Webhook trigger; 7 nodes.

Crypto
General

Seiton Brain — Webhook Events. Webhook trigger; 7 nodes.