Find Records using exact filters, semantic search, or combined queries to provide relevant context to Flows and Agents.
Search by exact or partial matches on metadata fields.
Use the Retrieve Record step in query mode with a record filter, or configure filters on a Vector Search step. Filters use a structured JSON DSL with conditions and groups:
Operators:
eq, neq — Equalitygt, gte, lt, lte — Comparisoncontains, startsWith, endsWith — String matchingin, notIn — Set membershipisSet, isNotSet — Existence checksisTrue, isFalse — Boolean checksbetween — Range matchingwithinLastDays, olderThanDays — Date-relative filtersGroups use "op": "and" or "op": "or" to combine conditions.
Find Records by meaning using natural language queries.
Runtype converts your query into a vector embedding and finds Records with similar embeddings. This matches conceptual similarity, not just keywords.
Use the Vector Search step with a query template:
The step returns Records ranked by similarity score.
Semantic search works best on text-heavy fields like descriptions, content, or article bodies. It’s less effective on structured data like IDs or numbers.
The Vector Search step supports both a semantic query and metadata filters. Use the recordType field to scope results, and metadataFilters for additional constraints:
supportThis finds semantically relevant support articles within the support record type.
Search results are ranked by:
Limit results to top N for performance:
Search within a specific Record type:
Or search across all types (slower but comprehensive).
When building Flows, you control which data is used for each search type:
Use the Vector Search step:
Combine a Vector Search with a record type filter: