GTMHook · n8n Workflow Integration
Drop-in n8n buying-signal workflow (Trigify replacement).
Import our ready-to-run n8n workflow JSON to receive HMAC-signed buying signals from GTMHook watches, filter for intent_score >= 75, and push enriched accounts straight to Slack, HubSpot, Attio, or your outbound sequencer.
3-Step n8n Setup
- 1. Download the workflow JSON below (or fetch
GET /v1/templates/n8n) and choose Import from File inside n8n. - 2. Copy the Production Webhook URL from the
GTMHook Signal Webhooknode. - 3. Register your watch via
POST /v1/watchesand verify delivery withPOST /v1/webhooks/test.
n8n Workflow JSON Template
Programmatic endpoint: GET /v1/templates/n8n
{
"name": "GTMHook — Drop-In Trigify Replacement (Webhook -> Slack/CRM)",
"nodes": [
{
"name": "GTMHook Signal Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"parameters": {
"httpMethod": "POST",
"path": "gtmhook-signals"
}
},
{
"name": "Filter High Intent (>= 75)",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"parameters": {
"conditions": {
"number": [
{
"value1": "={{ $json.body.intent_score }}",
"operation": "largerEqual",
"value2": 75
}
]
}
}
}
],
"setup_note": "Register your n8n webhook URL via POST https://api.gtmhook.cortiva.ai/v1/watches"
}Register Your n8n Webhook via POST /v1/watches
curl -X POST https://api.gtmhook.cortiva.ai/v1/watches \
-H "Authorization: Bearer gh_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "n8n High-Intent Signal Feed",
"sources": ["greenhouse", "lever", "ashby", "reddit", "hn", "linkedin"],
"keywords": ["HubSpot", "Salesforce", "RevOps", "Trigify alternative"],
"min_intent_score": 75,
"poll_interval_minutes": 15,
"webhook_url": "https://your-n8n-host.com/webhook/gtmhook-signals",
"webhook_secret": "whsec_replace_with_your_secret"
}'Verify X-GTMHook-Signature in n8n
// n8n Code Node: verify X-GTMHook-Signature (t=<ts>,v1=<hmac_sha256_hex>)
const crypto = require("crypto");
const secret = $env.GTMHOOK_WEBHOOK_SECRET;
const header = $input.first().json.headers["x-gtmhook-signature"] || "";
const parts = Object.fromEntries(header.split(",").map((kv) => kv.split("=")));
const rawBody = JSON.stringify($input.first().json.body);
const expected = crypto
.createHmac("sha256", secret)
.update(`${parts.t}.${rawBody}`)
.digest("hex");
if (parts.v1 !== expected) {
throw new Error("Invalid X-GTMHook-Signature");
}
return $input.all();