Actions57
- Appointment Actions
- Calendar Actions
- Contact Actions
- Conversation Actions
- Custom Field Actions
- Custom Value Actions
- Email Campaign Actions
- Email Stats Actions
- Email Template Actions
- Invoice Actions
- Media Actions
- Note Actions
- Opportunity Actions
- Pipeline Actions
- Tag Actions
- Trigger Link Actions
- User Actions
- Workflow Actions
Opportunity → Search
AI-generatedSummary
Search for opportunities in a specified location using optional filters including custom field filters, assignment, pipeline, status, update recency, and free-text queries, returning matching opportunity records with options to include notes and tasks. Uses a cursor-based 'searchAfter' pagination to return all matching results efficiently, removing the 10,000-result limit from previous page-number paging.
Inputs
- Location (required) — The sub-account/location to search opportunities within, loaded dynamically from your agency credential.
- Custom Field Filters — One or more AND-combined filters targeting opportunity custom fields, supporting various operators depending on field type.
- Updated In Last (Days) (required) — Limits results to opportunities updated within the last N days, sorted newest-first; results older than this cutoff stop pagination early.
- Return All — Boolean to specify whether to return all matching results or only up to a given limit. When true, returns all pages using a cursor-based 'searchAfter' pagination method (500 results per request), which avoids the previous 10,000-result ceiling of page-based pagination.
- Limit — Maximum number of opportunities to return when not returning all; capped at 100 per page by the API.
- Additional Filters — Additional filters including assigned user, contact ID, pipeline, pipeline stage, free-text search query, status, and options to include related notes and tasks.
Output shape
a list of opportunity records matching the filters and criteria specified, each including standard opportunity fields and optionally related notes and tasks where requested
If 'Return All' is true, the node automatically paginates using a cursor ('searchAfter') pagination to retrieve all matching opportunities updated within the specified days cutoff without a 10,000-result ceiling. Custom field filters and other filters are combined with AND logic. Results are sorted newest to oldest by update date, and pagination stops once older-than-cutoff records would be returned or when no more new records exist.
