Actions2
List / Search
AI-generatedSummary
Lists or searches bot records from a Strapi collection, with optional filters, populated relations, pagination, sorting, and field selection. Requires Strapi API credentials and emits normalized bot records as n8n items.
Inputs
- Strapi Collection Path — REST collection path; defaults to
/api/bots. - Filters — Add conditions on fields such as name, external ID, ID, flags, or relations. Supports equality, contains, starts/ends with, list membership, and null checks. For In list and Not in list, enter comma-separated values; null checks ignore the value.
- Populate — Include selected relations (funnel, geos, messenger, channels, segments) or all relations with
*. - Pagination Mode — Choose page-based pagination or offset pagination. Page mode uses Page and Page Size; offset mode uses Start and Limit.
- With Count — Request total-count metadata; defaults to true.
- Fetch All Pages — In page mode, fetch pages through Strapi's reported page count and combine the records. Defaults to false.
- Sort Field and Sort Order — Set the primary sort field and ascending or descending order. Defaults to name ascending.
- Additional Sorts — Add secondary sort fields and their order.
- Fields — Limit returned fields to selected values. An empty selection requests all fields.
Output shape
A list of items, one per normalized bot record.
When records are returned and Strapi supplies metadata, pagination metadata is added to the first item's
metaproperty. If no records are returned but metadata exists, emits one item with{ data: [], meta }. Records without an ID or string token are omitted. On request errors, the node throws unless Continue On Fail is enabled, in which case it emits an item with anerrorproperty.