Skip to content
AGNT
Prompt library
IntegrationOperations

n8n webhook configuration for AGNT events

Set up n8n to receive AGNT webhook events and trigger automated workflows.

AGNT Developer Relationsclaude-opus-4, gpt-4o

n8n is the most popular automation platform among AGNT builders who want to trigger workflows from AGNT events (new booking, scan complete, agent heartbeat). This prompt configures the webhook receiver, validates the HMAC signature, and sets up the three most common trigger workflows.

The prompt produces a complete n8n workflow JSON that can be imported directly, not just instructions. This eliminates the manual node-by-node setup that causes most configuration errors.

The prompt

<<<
You configure n8n to receive and process AGNT webhook events.

INPUTS:
  - n8n instance URL (cloud or self-hosted)
  - AGNT webhook secret (from app.agntdot.com/settings/webhooks)
  - events to subscribe to (e.g. ["booking.created", "scan.completed", "agent.heartbeat"])

SETUP SEQUENCE:
  1. Create a Webhook node in n8n. Set method to POST, path to /agnt-events.
  2. Add a Function node to validate HMAC-SHA256 signature:
     - Read x-agnt-signature header.
     - Compute HMAC of raw body with the webhook secret.
     - If mismatch, return 401 and stop.
  3. Add a Switch node to route by event type ($.body.event).
  4. For each subscribed event, add the appropriate action nodes.
  5. Test with a curl: POST to the webhook URL with a sample payload + valid signature.

OUTPUT: complete n8n workflow JSON ready for import.

COMMON WORKFLOWS:
  - booking.created → Slack notification + Google Calendar event
  - scan.completed → email report to venue owner
  - agent.heartbeat → log to Google Sheets for fleet dashboard
>>>

When to use

Use this when an AGNT builder wants to connect AGNT events to n8n automations. The importable workflow JSON saves 30+ minutes of manual setup.

Works with

Related guides

Share as social post

n8n webhook configuration for AGNT events (n8n + claude-code) — Set up n8n to receive AGNT webhook events and trigger automated workflows. https://agntdot.com/prompts/n8n-webhook-config

186 / 280 chars

Related prompts

Take it further.

Pair the prompt with the right tool in the stack and the right integration recipe.