Integrations
Zapier
Capture CortexDB memory from Zapier Zaps via a Webhooks action.
Zapier talks to CortexDB through the Webhooks by Zapier action (Custom Request) — no package required. Use the REST API.
Capture step
Add a Webhooks by Zapier → Custom Request action:
- Method:
POST - URL:
https://api-v1.cortexdb.ai/v1/experience - Headers:
Authorization: Bearer <your token>,X-Cortex-Actor: user:alice,Content-Type: application/json - Data (JSON):
{
"scope": "org:acme/user:alice",
"modality": "conversation",
"content": { "kind": "text", "text": "{{message}}" },
"context": { "observed_at": "{{zap_meta_human_now}}" },
"idempotency_key": "{{id}}"
}Map the Zap's trigger fields into text and idempotency_key. The modality field is valid in the
REST body.