Actions16
User → Search
AI-generatedSummary
Searches agency users by name, email, or phone and can narrow results by role, user type, or user IDs. Use a query such as an email to check for an existing user before creating one.
Inputs
- Query — Search term matched against full name, email, or phone.
- Return All — When enabled, fetches pages of 100 users until results are exhausted, subject to a 100-page ceiling; otherwise uses Limit.
- Limit — Maximum results when Return All is off; defaults to 25.
- Output Mode — Choose one item per matched user, or one envelope item containing users and count.
- Filters — Optional Role, User Type, comma-separated User IDs, Sort By, Sort Direction, and Skip. Company ID Override selects the agency company ID; if blank, it is taken from the OAuth credential.
Output shape
A list of n8n items containing matched user records, or one item with {"users": [...], "count": number} when Single Envelope is selected.
In per-user mode, zero matches produce no items. In envelope mode, count uses the API count when available, otherwise the number of returned users; with Return All enabled, users may include multiple pages while count remains the API-reported total.