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 Blocklists, retrieves multiple blocklist objects from an external service via its API. It is useful when you need to query and obtain a list of blocklists with flexible filtering, sorting, pagination, and depth control over related nested data.
Typical use cases include:
- Fetching all or filtered blocklists for analysis or reporting.
- Retrieving blocklists sorted by specific fields such as creation date or ID.
- Paginating through large sets of blocklists using cursors.
- Controlling the amount of related nested data returned to optimize performance.
For example, you might use this node to get the latest 50 blocklists that do not have a default empty UUID, sorted by their IDs ascending, including related objects one level deep.
Properties
| Name | Meaning |
|---|---|
| Order By | Sorts the returned blocklists by specified fields. 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 blocklists returned based on field comparators. Format: field[COMPARATOR]:value,.... Comparators include eq, neq, in, containsAny, is, gt, gte, lt, lte, startsWith, like, ilike. Supports logical conjunctions or, and, not. Can filter null values with field[is]:NULL or field[is]:NOT_NULL. Default filters out blocklists with empty UUID. |
| Limit | Limits the number of blocklists returned. Default is 60. |
| Depth | Controls how many levels of nested related objects are included in the response: - 0: Only primary blocklist info. - 1: Primary blocklist plus directly related objects. - 2: Primary blocklist, directly related objects, and their related objects. Default is 1. |
| Starting After | Returns blocklists starting after a specific cursor value, used for pagination. Cursor values come from startCursor or endCursor in the response's pageInfo. |
| Ending Before | Returns blocklists ending before a specific cursor value, also for pagination. Cursor values come from startCursor or endCursor in the response's pageInfo. |
Output
The node outputs JSON data containing an array of blocklist objects matching the query parameters. Each blocklist object includes its fields and, depending on the Depth parameter, may include nested related objects up to two levels deep.
The output JSON typically contains:
- The list of blocklists under a key like
dataor similar. - Pagination information such as
pageInfowith cursors (startCursor,endCursor) to facilitate paginated requests. - Metadata about the total count or other relevant details.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential to authenticate requests to the external Twenty API service.
- The node uses the base URL configured in the credentials.
- No additional environment variables are explicitly required beyond the API authentication setup.
Troubleshooting
Common issues:
- Invalid filter syntax or unsupported comparator usage may cause API errors.
- Providing invalid cursor values for pagination (
starting_afterorending_before) can result in empty responses or errors. - Exceeding the maximum allowed
limitmay lead to request failures. - Incorrect
order_byformat or unknown fields can cause sorting errors.
Error messages:
- Errors related to authentication usually indicate missing or invalid API credentials.
- Validation errors on query parameters will specify which parameter is malformed.
- Network or timeout errors suggest connectivity issues with the external API.
Resolutions:
- Verify filter and order_by strings conform to documented formats.
- Use cursors exactly as provided in previous responses for pagination.
- Ensure API credentials are correctly configured and valid.
- Adjust limits and depth to reasonable values to avoid performance issues.
Links and References
- Twenty API Documentation (hypothetical link for reference)
- n8n documentation on HTTP Request Node for understanding API calls
- General API filtering and pagination concepts: REST API Filtering