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:

FieldValue
URLhttps://api-v1.cortexdb.ai/v1/experience
MethodPOST
HeadersAuthorization: Bearer YOUR_TOKEN, X-Cortex-Actor: service:make, Content-Type: application/json
Body typeRaw → 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:

FieldValue
URLhttps://api-v1.cortexdb.ai/v1/recall
MethodPOST
HeadersAuthorization: Bearer YOUR_TOKEN, X-Cortex-Actor: service:make, Content-Type: application/json
Body typeRaw → 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.

See also