See llms.txt for all machine-readable content.

Back to Templates

Verify and filter signed Systeme.io webhooks with HMAC and n8n Crypto

Quick overview

This workflow receives Systeme.io webhook events in n8n, verifies the HMAC signature and request freshness, filters for accepted events and optional tag names, returns an appropriate HTTP response, and prevents duplicate processing by skipping previously seen message IDs.

How it works

  1. Receives a POST webhook request from Systeme.io with the raw request body enabled.
  2. Normalizes the raw body to match Systeme.io’s signing format, parses the JSON payload, and extracts signature and event metadata from the request headers.
  3. Computes SHA-256 HMAC signatures over both the normalized body and the raw body using an n8n Crypto credential.
  4. Validates the signature in constant time, enforces timestamp age limits and message ID presence, and optionally ignores events or tags that are not in the configured allowlists.
  5. Responds to Systeme.io with 200 (ok) for accepted events, 200 (ignored) for valid but unwanted events, or 401 (rejected) for invalid deliveries.
  6. For accepted deliveries, drops repeat webhook message IDs seen in previous executions and passes only first-time verified items to the next steps.

Setup

  1. In Systeme.io, create a webhook subscription that points to this workflow’s production webhook URL and uses the same signing secret as the workflow.
  2. In n8n, create/select a Crypto credential containing the webhook secret and attach it to both HMAC computation steps.
  3. Update the webhook path to a long random string and publish the workflow.
  4. Adjust the filtering and freshness settings (accepted event names, optional required tag names, and max age in days) to match the events you want to process.
  5. Add your own processing steps after the “Your next steps here” node to handle verified contacts and event payloads.

Requirements

  • A Systeme.io account with access to Settings > Webhooks
  • An n8n instance whose production webhook URL is reachable from the internet
  • An n8n Crypto credential holding the same secret as the Systeme.io webhook

Customization

  • Set required_tag_names to process only specific tags, for example Buyers, VIP
  • Raise History Size in Skip Repeat Deliveries if you receive more than 10,000 deliveries