Block 1 - Respond 200 OK
- Type / Role
- n8n-nodes-base.respondToWebhook - respondToWebhook
- Config choices
- Version 1.4
This workflow is provided as-is. Please review and test before using in production.
Use cases Ensure that the calls to the workflow's webhook are (a) originating from the correct GitHub repository and (b) haven't been tampered with. How it works When a secret is provided in a GitH...
n8n-nodes-base.respondtowebhook, n8n-nodes-base.webhook, n8n-nodes-base.crypto, n8n-nodes-base.if, n8n-nodes-base.stickynote, n8n-nodes-base.github, n8n-nodes-base.stopanderror
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yves Tkaczyk.
Original n8n.io sourcex-hub-signature-256 header is added to the webhook.Compute HMAC256 computes the HMAC256 signature similarly to how it was computed by GitHub.Validate HMAC256 tests for the equality of the computed value and the value provided by the header.Stop and Error step is optional and can be removed. Removing it means that the workflow completes successfully while still returning 401 to GitHub. This means that you will not be able to easily track malicious or incorrect calls to your webhook from n8n.Secret field in the Compute HMAC256 node with the same value as the secret stored in the Secret field in the GitHub webhook definition.Secret key. Key can be of any length and should be generated with a key or password generator.Developers or DevOps engineers who want to ensure secure webhook communication between GitHub and n8n.
The secret is stored in plain text in the workflow. You should take this into consideration if the workflow is committed to source control or shared in any other way.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Secure GitHub webhooks with HMAC256 signature validation |
|---|---|
| Complexity | intermediate |
| Nodes | 11 |
| Categories | DevOps |
| Author | Yves Tkaczyk |
| Published | 24 Sept 2025 |
Use the JSON export at /data/workflows/8906/8906.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Use cases Ensure that the calls to the workflow's webhook are (a) originating from the correct GitHub repository and (b) haven't been tampered with. How it works When a secret is provided in a GitH...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps use case.