Skip to content

Zapier, Make and n8n

Automation tools can call the Data API with their generic HTTP or webhook step. Use HTTP Basic auth: the key id (kid_…) is the user name and the secret (sk_…) is the password. Both are in your connection string: drivedb://kid_…:sk_…@host/dbId.

  1. Add an action: Webhooks by Zapier → Custom Request.
  2. Method: POST. URL: https://<host>/v1/db/<dbId>/insertOne.
  3. Data: the JSON body, mapping fields from earlier steps:
    {
    "collection": "clients",
    "document": { "name": "{{name}}", "email": "{{email}}", "status": "Lead" }
    }
  4. Basic Auth: kid_…|sk_… (Zapier separates user and password with |).
  5. Headers: Content-Type: application/json.

Use HTTP → Make a request: method POST, the URL above, Body type Raw, Content type JSON (application/json), the JSON body, and either an Authorization: Bearer kid_…:sk_… header or Basic credentials.

Use the HTTP Request node: method POST, the URL, Authentication → Generic → Basic Auth (user kid_…, password sk_…), Send Body → JSON.

Goal Action and body
Add a record insertOne { "collection": "…", "document": { … } }
Add or update by email updateOne { "collection": "…", "filter": { "email": "…" }, "update": { "$set": { … } }, "upsert": true }
Find records find { "collection": "…", "filter": { "status": "Lead" }, "limit": 100 }
Change a record updateOne { "collection": "…", "filter": { "_id": "…" }, "update": { "$set": { … } } }
Delete a record deleteOne { "collection": "…", "filter": { "_id": "…" } }

Use a Read only connection string for automations that only read.

Made by Faeiz Furqan