Actions4
- Space Actions
- Independent Chat Actions
Space → Ask a Space
AI-generatedSummary
Send a question prompt to a specified existing Vekai Space by creating a new chat within that space and receiving the AI's response.
Inputs
- Space Name or ID (required) — Select the target Vekai Space from the dropdown list or provide its ID via expression.
- Question (required) — Enter the question you want the AI to answer in the selected Space.
Output shape
A single JSON object per input item containing the AI-generated response to the question within the created Space chat.
The operation creates a new chat in the specified Space using the question text as (part of) the chat title, sends the question to the chat, and returns the response message JSON from the Vekai API. Errors may be included as JSON in the response if 'Continue On Fail' is enabled.
Examples
Example 1: Asks the AI a question inside a selected Space and gets the answer
Space Name or ID: 'Marketing Department'
Question: 'What are the key KPIs for our next campaign?'
Example 2: Uses an expression for Space ID to dynamically select the Space
Space Name or ID: expression referencing previous node output
Question: 'Summarize the last meeting notes'