Skip to Content
Developers

Workflow requests

The exact request Aura sends to your n8n, Make, Zapier or other workflow, and the reply it expects back.

This page is for whoever builds the workflow behind a custom skill of type Automation workflow, or behind the n8n app.

The request

Aura sends a POST request with a JSON body:

{
  "messages": [{ "role": "user", "content": "Where is order 1042?" }],
  "input": { "request": "Where is order 1042?" },
  "confirmed": false,
  "channel": "web",
  "room": "conversation-id",
  "now": "2026-10-28T14:05:00.000Z",
  "idempotency_key": "run-id",
  "tool": "check_an_order",
  "workspace": { "id": "workspace-id", "name": "Maple Street Plumbing", "timezone": "America/Toronto" }
}
FieldWhat it holds
messagesOne message from the user. Its content is the request input, or all inputs as JSON when there is no request input.
inputEvery input the agent filled in, by name.
confirmedtrue only after the person said yes to this action in the conversation. Check it before your workflow changes anything.
channelWhere the request came from. web for a conversation in Aura. dashboard for a test or a scheduled task.
roomAn ID for the conversation. It stays the same for every request in one conversation, so your workflow can keep its own memory per conversation.
nowThe time of the request, in UTC.
idempotency_keyA unique ID for this run of the skill. Use it to avoid doing the same job twice.
toolThe skill's internal name.
workspaceThe workspace's ID, name and time zone.

Headers

  • Content-Type: application/json
  • For the n8n app: X-Aura-Key with your secret key, if you set one.
  • For a custom skill: the header from the credential you picked, if any.

Check the header in your workflow and reject requests without it.

The reply

Reply with JSON that has the answer in reply:

{ "reply": "Order 1042 ships tomorrow." }

Aura reads the first text it finds in this order: reply, output, text, message. It also looks inside a json, data or body object, and takes the first item when the reply is a list, which is how n8n often answers. A plain text reply works too.

Write the reply as you would say it to the person. The agent reads it and answers in its own words. Only the first 12,000 characters are used.

Status and errors

What happensWhat the agent gets
Your workflow answers with a 2xx status and a replyThe reply.
It answers 2xx with no reply text"The workflow ran but sent no reply text."
It answers with another status"The workflow answered" and the status number.
It does not answer in time"The workflow did not answer within" and the timeout.
The address cannot be reached"Could not reach the workflow" and the reason.

The timeout is 30 seconds by default. For a custom skill you can set 1 to 120 seconds under Advanced.

Set up by platform

  1. Add a Webhook node. Set it to POST and copy the production address.
  2. End with a Respond to Webhook node that returns {"reply": "…"}.
  3. Turn the workflow on.

On this page