Agent BrainsAgent Brains
Zapier

RAG & Search

Perform semantic search and document retrieval in Zapier

RAG & Search Actions

Use semantic search over AgentBrains documents, text, or images in your Zapier workflows.


Retrieve Documents from RAG

Use this when your Zap needs semantic search over AgentBrains documents or text knowledge.

Inputs

FieldDescription
IndexRAG index to search. Selected from a dropdown.
QueryUser question or search query.
Number of ResultsMaximum number of results to return.

Outputs

Returns a result count and line-item results such as IDs, score, text, document name, source, and SKU.

Example

Use this action after receiving a support ticket, email, form response, or chat message. Pass the customer question into the query field, then use the returned text as context for an AI reply step.


Retrieve Images from RAG

Use this when your Zap needs to find images semantically from the AgentBrains image index.

Inputs

FieldDescription
QueryImage search query.
Number of ResultsMaximum number of image results to return.

Outputs

Returns matching image results with IDs, score, name, source, URL, and text metadata when available.

Recommended Pattern

Use Retrieve Images from RAG first, then pass a selected result ID into Get an image (on the Knowledge Base page) for exact image details.


Hybrid RAG + exact lookup flow

Use Retrieve Documents from RAG for broad semantic search, then use Get Entity when your workflow needs one exact source record.

Image retrieval flow

Use Retrieve Images from RAG to find relevant visual assets, then use Get an image to retrieve full image details.

On this page