All guides
Webhooks for Zapier, Make and n8n
Each alert, Monday report and day's figures sent as JSON to any public https address, so Zapier, Make, n8n or your own system acts on it.
What you need
- Plan
- Every plan
- Who
- An Owner or a Member of your team. A Viewer reads only.
- You need
- A Zapier, Make or n8n account, or your own server on a public https address.
Set it up
- Make a catch address: Zapier's Webhooks by Zapier › Catch Hook, Make's Webhooks › Custom webhook, or n8n's Webhook node (POST).
- Connections › Webhooks › Connect: choose Webhook, paste the address and tick what to send.
- Choose Connect and copy the signing secret — it is shown once.
- Choose Test, then build the rest of your flow on the test message.
import { createHmac, timingSafeEqual } from "node:crypto";
// rawBody: the request body exactly as it arrived, before any JSON parsing
const sent = req.headers["x-wiselens-signature"];
const ours = "sha256=" + createHmac("sha256", process.env.WISELENS_SECRET).update(rawBody).digest("hex");
const fromWiseLens = sent?.length === ours.length && timingSafeEqual(Buffer.from(sent), Buffer.from(ours));Each message carries X-WiseLens-Signature: sha256=<HMAC-SHA256 of the body with your secret>, so you can tell it is from WISE Lens.
When it works
Test says “Sent”, and your flow received event, business, title, text, url, data and sent_at.
If it does not work
- Connect refuses the address
- It must be a public https address: not localhost, not a private network.
- Your check says the signature does not match
- Sign the raw body as it arrived, before parsing it, with the secret shown when you connected.
- Messages stopped arriving
- After five failed sends in a row a channel is stopped. Remove it, make a new address and connect it again.
Need help? Write to support@aiwise.sg and say which connection.
Turn it off
Connections › Webhooks › Manage › Remove.
Questions: support@aiwise.sg