Run AI Chat
AI-generatedSummary
Sends a prompt to Speak AI scoped to a required folder, with an optional assistant template and optional media ID list. Returns the API response as n8n item data.
Inputs
- Folder ID (required) — Folder to run the prompt against.
- Prompt (required) — Question or instruction to send.
- Assistant Type (required) — Assistant type to use.
- Assistant Template ID — Optional template ID; included in the request only when non-empty.
- Media IDs — Optional comma-separated IDs that scope the prompt. IDs are trimmed and empty entries discarded.
Output shape
One or more n8n items containing the API response.
Posts the prompt data to
/v1/prompt. An array response is split into one item per entry; a non-array response becomes one item. With Continue On Fail enabled, a failed item returns anerrorfield.