Actions252
- Api Keys Actions
- Attachments Actions
- Blocklists Actions
- Calendar Channel Event Associations Actions
- Find Many Calendar Channel Event Associations
- Create One Calendar Channel Event Association
- Create Many Calendar Channel Event Associations
- Find One Calendar Channel Event Association
- Delete One Calendar Channel Event Association
- Update One Calendar Channel Event Association
- Find Calendar Channel Event Association Duplicates
- Companies Actions
- Calendar Channels Actions
- Calendar Event Participants Actions
- Calendar Events Actions
- Connected Accounts Actions
- Favorite Folders Actions
- Favorites Actions
- Message Channel Message Associations Actions
- Find Many Message Channel Message Associations
- Create One Message Channel Message Association
- Create Many Message Channel Message Associations
- Find One Message Channel Message Association
- Delete One Message Channel Message Association
- Update One Message Channel Message Association
- Find Message Channel Message Association Duplicates
- Message Channels Actions
- Message Folders Actions
- View Fields Actions
- Message Participants Actions
- Messages Actions
- Message Threads Actions
- Notes Actions
- Note Targets Actions
- Opportunities Actions
- People Actions
- Tasks Actions
- Task Targets Actions
- Timeline Activities Actions
- View Filter Groups Actions
- View Filters Actions
- View Groups Actions
- Views Actions
- View Sorts Actions
- Webhooks Actions
- Workflow Automated Triggers Actions
- Workflow Runs Actions
- Workflows Actions
- Workflow Versions Actions
- Workspace Members Actions
Overview
This node operation, Find Many Workspace Members, retrieves a list of workspace members from the Twenty API. It is useful for scenarios where you need to query multiple members within a workspace, such as generating reports on team composition, managing user roles, or syncing member data with other systems.
Practical examples include:
- Fetching all active members in a workspace to display in a dashboard.
- Filtering members based on specific criteria like role or status.
- Paginating through large sets of workspace members using cursors.
Properties
| Name | Meaning |
|---|---|
| Order By | Sorts the returned workspace members by specified fields and directions. Format: field_name_1,field_name_2[DIRECTION_2],.... Directions can be AscNullsFirst, AscNullsLast, DescNullsFirst, DescNullsLast. Default direction is AscNullsFirst. Example: id (default). |
| Filter | Filters the returned workspace members based on field comparators and values. Format: field[COMPARATOR]:value. Supports complex filters with conjunctions (or, and, not). Comparators include eq, neq, in, containsAny, is, gt, gte, lt, lte, startsWith, like, ilike. Can filter nulls and booleans. Default excludes members with id "00000000-0000-0000-0000-000000000000". |
| Limit | Limits the number of workspace members returned. Default is 60. |
| Depth | Controls how much nested related object data to include: 0 returns only primary objects, 1 includes directly related objects, 2 includes related objects of those related objects. Default is 1. |
| Starting After | Returns workspace members starting after a specific cursor value. Useful for pagination. Cursor values come from startCursor or endCursor in response's pageInfo. |
| Ending Before | Returns workspace members ending before a specific cursor value. Also used for pagination. Cursor values come from startCursor or endCursor in response's pageInfo. |
Output
The node outputs JSON data representing a paginated list of workspace members matching the query parameters. The structure typically includes:
- An array of workspace member objects, each containing member details and optionally nested related objects depending on the
depthparameter. - Pagination information with cursors (
startCursor,endCursor) inside apageInfoobject to facilitate fetching subsequent or previous pages.
If binary data were involved (not indicated here), it would represent file attachments or similar, but this operation focuses on JSON data.
Dependencies
- Requires an API key credential to authenticate requests against the Twenty API.
- The base URL for the API is configured via credentials.
- No additional external dependencies are indicated.
Troubleshooting
- Empty results: Check your filter syntax and ensure that the filter does not exclude all records (e.g., default filter excludes a zero UUID).
- Invalid filter or order_by format: Ensure the filter string and order_by string follow the documented formats exactly, including correct comparator names and directions.
- Pagination issues: Use valid cursor values from previous responses when using
starting_afterorending_before. - Authentication errors: Verify that the API key credential is correctly set up and has necessary permissions.
- Depth too high: Requesting a depth level higher than supported may result in incomplete data or errors.
Links and References
- Twenty API Documentation (hypothetical link)
- Filtering and Sorting Syntax Guide (hypothetical link)
- n8n documentation on pagination