Ingest Content action
- Updated: 2026/04/21
Use the Ingest Content action in the Aisera package to upload a file to an Aisera data source so the content is indexed and available for retrieval in your automations.
Prerequisites
- You must have the Bot Creator role to use the Aisera: Ingest Content action in a bot.
- A Control Room OAuth connection must be configured and available in your Automation Anywhere Control Room.
- You must have the Aisera tenant base URL for content ingestion. For example,
https://<your-tenant>.api.aisera.cloud. - You must have the authorization token for the data source or Aisera GPT App you want to ingest the file into. To get this token, open the App details page in your Aisera tenant, navigate to Data Source, double-click the data source you want to use, and copy the Token value from the data source details page.
- You must have a file to upload and a unique identifier for it. The unique file identifier is a stable reference: reusing the same identifier in a subsequent ingest request updates or replaces the previously indexed content for that identifier.
The Ingest Content action sends a multipart HTTP request to the Aisera ingestion API to upload a file to the specified data source. After Aisera indexes the file, the content becomes available for retrieval by the Ask Question of Content action. To update previously indexed content, use the same unique file identifier in a subsequent ingestion request.
Procedure
If the upload is successful, success is true and
trackingId contains the Aisera job identifier. Aisera indexes
the file asynchronously; the content becomes available for retrieval after indexing
completes.
If the upload fails, success is false. Common
causes include:
- An unsupported file type was selected.
- The Unique file ID field is empty.
- The OAuth connection is not configured or has expired.
- The base URL or data source token is incorrect.
- The file cannot be read as a stream and the local file path is empty or the file does not exist at that path.
Next steps
After the file is indexed, you can query the ingested content using the Ask Question of Content action. See Ask Question of Content action.