Skip to main content

n8n Webhook

n8n is an open-source workflow automation tool that lets you connect various apps and services to automate tasks and data flows. It offers a visual interface for creating complex workflows with ease, without needing extensive coding knowledge. For IoT use cases, n8n can be used to integrate device data with cloud services, automate real-time monitoring, and trigger actions based on sensor data. This example demonstrates accepting a JSON data payload, then delivering it to n8n via the Webhook data destination. It relies on n8n's native Webhook node. This example should work with both the hosted service as well as the self-hosted version.

Reminder

Make sure to replace the url with the correct test or production n8n Webhook URL for your workflow.

filter:
path: "*"
content_type: application/json
steps:
- name: step0
destination:
type: webhook
version: v1
parameters:
url: https://golioth.app.n8n.cloud/webhook-test/82240d88-dc02-4345-97a9-491cc186e17b