Ask Question of Content action
- Updated: 2026/04/21
Use the Ask Question of Content action in the Aisera package to send a natural-language query against indexed content in Aisera and return the top answer with citation details.
Prerequisites
- You must have the Bot Creator role to use the Aisera: Ask Question of Content action in a bot.
- You must have the Aisera chat base URL for question requests. For example,
https://<your-tenant>-<port>.chatbot.aisera.cloud.Important: The chat base URL used for the Ask Question of Content action is different from the tenant base URL used for the Ingest Content action. Confirm both URLs with your Aisera administrator. - You must have an API bearer token from the Channel details page in your Aisera tenant.
- You must have the agent channel ID configured in Aisera. The channel ID appears on the Channel Details page in your Aisera tenant.
- The content you want to query must already be ingested and indexed in Aisera. See Ingest Content action.
The Ask Question of Content action sends a natural-language query to the Aisera conversation API against the indexed content in the specified channel. The action returns the top answer and citation details, which your automation can use in downstream processing steps. You can optionally filter the query to specific content by providing a metadata JSON string.
Procedure
If the query is successful, success is true,
topChoice contains the top answer as a string, and
topChoiceCitations contains a table of source citations for
the answer. Use these values in downstream steps in your automation, such as
displaying the answer in a message box or writing it to a file.
If the query fails, success is false. Common
causes include:
- The chat base URL, API bearer token, or channel ID is incorrect.
- The Metadata JSON string field does not contain a valid JSON object string.
- No content has been ingested and indexed for the specified channel.
Next steps
Use the topChoice and topChoiceCitations variables in subsequent steps in your automation to process, display, or store the answer and its sources. For example, you can write the answer to a log file, pass it to a notification step, or use it as input to another action.