Connections
Zapier, Make & n8n
The automation contract for Zapier, Make and n8n: one JSON shape for alerts, conversations and logs, with a JSON Schema at https://api.channlize.com/api/in/schema.json.
One preset for every automation tool. Your zap, scenario or workflow sends a small JSON body; type decides whether it becomes a Slack alert, a conversation or a log.
Setup
Your automation POSTs a small JSON shape to the URL. Each event becomes a Slack alert, a conversation or a log entry. In Channlize, Connections → New connection → Zapier, Make & n8n. The setup screen shows the connection URL (the Webhook URL) above these steps, with the secret fields and buttons at the step that needs them.
- Generate the connection secret (at least 24 characters; Generate makes a random one). It is sent as
Authorization: Bearer …(orX-Channlize-Secret). The URL alone is never accepted. - Add a step that sends to Channlize. The setup screen has ready-made templates for each tool, filled in with your URL and secret:
- Zapier: add a Webhooks by Zapier action, action event POST. (Prefer raw JSON? Use the Custom Request action event.)
- Make: download the blueprint and use ⋯ → Import Blueprint in your scenario. It adds an HTTP → Make a request module pointed at your URL.
- n8n: paste the workflow on a canvas, or Workflows → ⋯ → Import from File. It is a Webhook trigger and an HTTP Request node; swap the trigger for any app trigger.
- curl: a ready-to-run example.
Every request carries the secret, by default as Authorization: Bearer <connection secret>, with Content-Type: application/json.
First event: the screen shows Waiting for the first event… until one arrives. Run your automation's test step, or the curl example. A new event shows under the connection's events as Seen, not configured, with the action from its type: switch it on there. Then click Done to keep the connection. Cancel deletes the draft and its URL.
Authentication
Any one of, checked in this order:
| Header | Value |
|---|---|
X-Channlize-Signature | sha256=<hex HMAC-SHA256 of the raw body>, keyed with the secret |
X-Channlize-Secret | the secret |
Authorization | Bearer <secret> |
The URL alone is not enough: without one of these you get 401.
The contract
{
"type": "alert",
"event": "typeform.submission",
"title": "New demo request",
"message": "Ada from Analytical Engines wants a demo.",
"fields": { "Company size": "50-200", "Plan": "Pro" },
"url": "https://admin.typeform.com/form/abc/results",
"customer": { "email": "ada@example.com", "name": "Ada Lovelace" },
"priority": "high",
"tags": ["lead", "demo"],
"idempotencyKey": "typeform-resp-8f2c"
}| Field | Required | Rules |
|---|---|---|
type | yes | alert, conversation or log (case-insensitive) |
event | yes | Up to 150 characters, ^[A-Za-z0-9][A-Za-z0-9._:/-]*$, e.g. airtable.record_created |
message | yes | 1 to 10,000 characters |
title | no | Up to 300 characters. Conversation subject (else event). |
fields | no | Object, up to 50 keys (100 characters each); values string (up to 2,000), number, boolean or null |
url | no | http(s) link, up to 2,000 characters |
customer | no | { email, name?, phone? }; email is required when customer is sent |
priority | no | low, normal, high or urgent |
tags | no | Up to 20 tags of 50 characters, as an array or a comma-separated string |
channel | no | Slack channel ID (C… or G…) to post to |
idempotencyKey | no | Up to 200 characters |
Empty strings and null count as absent. A conversation uses customer.email to find or create the contact; its body is message, then one key: value line per field, then url.
JSON Schema
The contract is published as JSON Schema (draft 2020-12) at:
https://api.channlize.com/api/in/schema.jsonUse it to validate payloads in your workflow, or point an AI assistant at it to build the step for you.
Responses
| Status | Body |
|---|---|
| 200 | { "ok": true, "requestId", "event", "action", "status": "processed" | "ignored", "conversationId"?, "message"? } |
| 200 | { "ok": true, "duplicate": true, … , "message": "Already received: this repeat was dropped (same idempotencyKey, Idempotency-Key header or body)." } |
| 202 | { "ok": true, "status": "queued", … }: a temporary error, retried automatically. |
| 400 | { "ok": false, "error": "INVALID_PAYLOAD", "message", "issues": [{ "path", "message" }], "schema": "…/api/in/schema.json" } |
| 401 | Missing or wrong credentials. |
| 422 | { "ok": false, "error": "PROCESSING_FAILED", … }: a permanent failure; fix the payload and resend. |
| 503 | { "ok": false, "error": "SERVICE_UNAVAILABLE", "message": "Try again in a minute." } |
The first delivery of a new event is answered status: "ignored" because it starts disabled.
Deduplication
idempotencyKey, else the Idempotency-Key header, else a hash of the body over a 10-minute window. Most tools retry failed steps, so set idempotencyKey from the trigger's record ID.
Two-way replies
Not available: replies stay in Slack and the dashboard.