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 Connected Accounts" retrieves multiple connected account records from an external service via its API. It supports filtering, sorting, pagination, and controlling the depth of nested related objects returned in the response.
Typical use cases include:
- Listing all connected accounts with specific criteria (e.g., filtering out placeholder or invalid IDs).
- Fetching connected accounts sorted by certain fields.
- Paginating through large sets of connected accounts using cursors.
- Controlling how much related data is included for each connected account to optimize performance or detail level.
For example, you might use this node to get a list of active connected accounts ordered by creation date, limited to 50 results per request, including their immediate related objects but not deeper nested relations.
Properties
| Name | Meaning |
|---|---|
| Order By | Sorts the returned connected accounts. Format: field_name_1,field_name_2[DIRECTION_2],.... Directions can be AscNullsFirst, AscNullsLast, DescNullsFirst, DescNullsLast. Default direction is AscNullsFirst. Example: createdAt,usernameDescNullsLast sorts first by creation date ascending, then username descending with nulls last. |
| Filter | Filters the connected accounts returned. Format: field[COMPARATOR]:value pairs separated by commas. Supports comparators like eq, neq, in, containsAny, is, gt, gte, lt, lte, startsWith, like, ilike. Logical conjunctions or, and, not can be used for complex filters. Example: id[neq]:"00000000-0000-0000-0000-000000000000" excludes empty UUIDs. |
| Limit | Limits the number of connected accounts returned in one response. Default is 60. |
| Depth | Controls how many levels of nested related objects are included: 0 returns only primary connected account info; 1 includes directly related objects; 2 includes related objects of those related objects as well. Default is 1. |
| Starting After | Returns connected accounts starting after a specific cursor value. Useful for paginating forward. Cursor values come from startCursor or endCursor in the response's pageInfo. |
| Ending Before | Returns connected accounts ending before a specific cursor value. Useful for paginating backward. Cursor values come from startCursor or endCursor in the response's pageInfo. |
Output
The node outputs JSON data representing a paginated list of connected accounts matching the query parameters. The structure typically includes:
- An array of connected account objects, each containing fields as defined by the API schema.
- Pagination information (
pageInfo) with cursors (startCursor,endCursor) to support fetching subsequent or previous pages. - Nested related objects according to the specified
depth.
If binary data were involved, it would be summarized here, but this operation deals with JSON data only.
Dependencies
- Requires an API key credential for authenticating requests to the external Twenty API service.
- The base URL and authentication headers are configured via node credentials.
- No additional environment variables are indicated.
Troubleshooting
- Empty Results: If no connected accounts are returned, verify your filter syntax and values. Ensure that the filter does not exclude all records unintentionally.
- Invalid Cursor Errors: When using
starting_afterorending_before, ensure the cursor values come exactly from the previous response'spageInfo. Using outdated or malformed cursors will cause errors. - Sorting Issues: Incorrect
order_byformat or unsupported field names may result in API errors or ignored sorting. - Depth Too High: Setting
depthto 2 may increase response size significantly and slow down the request. Use lower depth if performance is a concern. - Authentication Failures: Confirm that the API key credential is valid and has necessary permissions.
Links and References
- Twenty API Documentation (hypothetical link)
- API Filtering Syntax Guide
- Pagination with Cursors