Push experiences into CortexDB from Make.com (formerly Integromat) scenarios.
Make.com Integration
Use the HTTP module in a Make.com scenario to capture experiences into CortexDB. Output of the previous module maps directly to envelope fields.
Configure
Add an HTTP → Make a request module:
| Field | Value |
|---|---|
| URL | https://api-v1.cortexdb.ai/v1/experience |
| Method | POST |
| Headers | Authorization: Bearer YOUR_TOKEN, X-Cortex-Actor: service:make, Content-Type: application/json |
| Body type | Raw → JSON |
Body:
{
"scope": "org:acme/source:make",
"modality": "imported",
"content": {
"kind": "text",
"text": "{{1.text}}"
},
"context": {
"observed_at": "{{formatDate(now; YYYY-MM-DDTHH:mm:ssZ)}}",
"labels": ["make.com", "{{1.app}}"]
},
"idempotency_key": "make-{{executionId}}-{{1.id}}"
}
executionId + the source event's id produces a stable idempotency key — retries write once.
Recall context later in the scenario
Add a second HTTP → Make a request module when a later step needs memory context:
| Field | Value |
|---|---|
| URL | https://api-v1.cortexdb.ai/v1/recall |
| Method | POST |
| Headers | Authorization: Bearer YOUR_TOKEN, X-Cortex-Actor: service:make, Content-Type: application/json |
| Body type | Raw → JSON |
Body:
{
"scope": "org:acme/source:make",
"view": "holistic",
"query": "{{2.question}}",
"include": ["facts", "beliefs", "episodes"],
"budgets": { "max_tokens": 2000 }
}
Use the returned context_block in email, ticket, or agent-action modules.