Route measurement data from a webhook to Google Sheets, email, or custom JS
Ready for 3.0What this workflow does
This workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Workflow Configuration (Edit Fields (Set)): sets 4 fields: outputMode, googleSheetId, emailRecipient…
- Validate Required Fields (If): checks a condition and branches into true / false
- Parse and Normalize Data (Edit Fields (Set)): sets 11 fields: measurementId, timestamp, deviceId…
- Error - Invalid Payload (Stop and Error): stops the run with an error
- Send Error Response (Respond to Webhook): sends the response back to the webhook caller
- Send Success Response (Respond to Webhook): sends the response back to the webhook caller
- Route to Output Options (Switch): routes items into 4 branches
- Save to Google Sheets (Google Sheets): append or update
- Generate HTML Table (HTML): parses or builds HTML
- Convert to CSV File (Convert to File): converts data to a file
…plus 3 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Respond to Webhook
n8n-nodes-base.respondToWebhook - Switch
n8n-nodes-base.switch - Google Sheets
n8n-nodes-base.googleSheets - HTML
n8n-nodes-base.html - Convert to File
n8n-nodes-base.convertToFile - Send Email
n8n-nodes-base.emailSend - Code
n8n-nodes-base.code - Webhook
n8n-nodes-base.webhook - Stop and Error
n8n-nodes-base.stopAndError
From the author
Description This workflow helps developers and automation teams route measurement data from a webhook to multiple destinations using n8n. It is designed for measurement engines, 3D scanning systems, QA tools, and API-based platforms that send structured JSON…