Make

The Speak To Your Database app for Make asks your questions from any scenario and passes the answer to the next module: an email, a spreadsheet row, a Slack message, a CRM note.

Install the STYD app in Make

  1. Open the STYD app invitation link (you need a Make account) and add the app to your Make organization.
  2. Create an API key for your STYD workspace (owners and admins), below or in the API key generator.
  3. In a scenario, add a Speak To Your Database module, create a connection and paste the key: Make checks it and shows your workspace.
  4. Use the modules in your scenario, as described below.

Prefer to call the API yourself? The HTTP module and the app's Make an API call module work with the same key: see Getting started and the API reference.

What the app does

  • Ask a question: a question on a connection (Odoo, a database, your uploaded files or a sample), answered as structured data (tables and figures), plain text or an email draft. Uses 1 prompt.
  • Get an answer: the answer of a question that was still running when Ask a question returned. Free.
  • List connections, List threads, List workspaces: pick a connection, find the conversations this key started, see the prompts left. Free.
  • Make an API call: any call of the API reference with the same connection. The API uses GET and POST.
  • Each question stands alone: STYD does not remember earlier questions of a conversation, so write the full question every time.

Connect it

Not installed yet? Start with the invitation link above.

Get an API key

Only workspace owners and admins can create keys. The key is shown once: copy it then.

In Make, add the app's connection and paste the key: Make checks it and shows your workspace.

Build a scenario

  • Max wait (advanced, 1 to 90 seconds, default 90): how long Ask a question waits for the answer. If it is not ready by then, the module still succeeds with Status = pending and a Run ID. Add a Router on Status, a Sleep, then Get an answer with that Run ID.
  • Idempotency key (advanced): map a value that stays the same on a retry and changes for every question, for example the Execution ID plus the record ID. A retry within 24 hours then returns the first answer and is never charged twice.
  • A Make timeout or a stopped scenario does not cancel the question: it keeps running and uses its prompt when it is answered. Retry with the same Idempotency key, or find it with List threads.
  • Errors start with [HTTP status error_code], for example [402 no_credits] or [429 rate_limited], so a filter or an error handler can branch on them.

Example scenarios

  • Every morning: Ask a question (“Which customer invoices are overdue?”, format Email) → send the email.
  • Every Monday: Ask a question (“What was last week's revenue?”, format JSON) → add the figures to a Google Sheets row.

Fields, errors and limits: see Getting started and the API reference.

Need help? Contact support