A reusable and production-ready n8n workflow that secures public webhooks using Bearer Token authentication and dynamic request validation. --- ✨ What It Does - Verifies Bearer Token Compares the Authorization header with a configured secret token. - Validates Required Fields Checks that all expected fields are present in the incoming request body. - Returns Standardized JSON Responses - 401 Unauthorized if token is missing or invalid - 400 Bad Request if required fields are missing -

A reusable and production-ready n8n workflow that secures public webhooks using Bearer Token authentication and dynamic request validation. --- ✨ What It Does - Verifies Bearer Token Compares the Authorization header with a configured secret token. - Validates Required Fields Checks that all expected fields are present in the incoming request body. - Returns Standardized JSON Responses - 401 Unauthorized if token is missing or invalid - 400 Bad Request if required fields are missing - 200 OK with a custom success payload --- 👤 Who It’s For - Developers exposing n8n workflows as APIs - No-code/low-code builders integrating with external forms or tools - Anyone needing simple authentication and validation on incoming webhooks --- 💡 Why Use It - 🔒 Secure: Prevents unauthorized access to your public workflows - 🧼 Clean: Centralized configuration for token and required fields - ⚙️ Flexible: Easy to extend and customize for any use case --- 🛠 Setup Instructions 1. Configure Values in the Configuration Node - Set your secret token: config.bearerToken = YOURTOKEN - Define required request fields by key: Example: ✅ Only the keys matter – values can be anything. 2. Plug in Your Business Logic Replace the "Add workflow nodes here" with your own logic. 3. Customize the Success Response Edit the Create Response node to shape your success payload. --- 🧪 Use Cases - Securing public form submissions - Creating internal API endpoints - Validating data from external services --- 📌 Use this as a base for building secure, API-style workflows in n8n. --- 👋 Hello! I'm Audun / xqus If my n8n workflows saved you time or sparked ideas, consider sending a little support my way. It helps me keep building cool stuff — and maybe grab a coffee ☕ along the way!
Download the workflow JSON file after purchase.
Open n8n → click the menu → Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.