π€ Notify new Zivvy CRM leads in Slack with HMAC signature verification
β‘ 4 views Β· π€ CRM & Sales Operations
Description
Quick overview
This workflow receives Zivvy CRM lead creation webhooks, verifies the HMAC signature, fetches lead details from the Zivvy API, and posts a formatted notification to Slack via an incoming webhook.
How it works
- Receives a POST webhook from Zivvy at
/zivvy/crm-leadsand captures the raw request body. - Verifies the
X-Zivvy-SignatureHMAC (sha256) using the raw body and yourZIVVY_WEBHOOK_SECRET. - Stops with an error if the signature is invalid.
- Checks that the event is
leads.createdand ignores any other events. - Fetches the full lead record from the Zivvy API (
GET /v1/leads/:id) using the lead identifier from the webhook payload. - Formats key lead fields into a Slack-friendly message.
- Sends the message to Slack using your Slack Incoming Webhook URL.
Setup
- Create an n8n variable named
ZIVVY_WEBHOOK_SECRETwith your Zivvy webhook signing secret. - Add an HTTP Header Auth credential for Zivvy API access (header
Authorization: Bearer zk_live_...) and select it for the Zivvy API request. - Create an n8n variable named
SLACK_WEBHOOK_URLpointing to your Slack Incoming Webhook URL. - Copy the workflowβs Production webhook URL and configure it in Zivvy as a webhook subscribed to
leads.created(orleads.*).
Requirements
- Zivvy Account
π Nodes Used
HTTP Request, Webhook, Stop and Error
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File