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 Timeline Activities, retrieves multiple timeline activity records from the Twenty API. It is useful for scenarios where you want to query and list timeline activities with flexible filtering, sorting, pagination, and control over the depth of related data included.
Practical examples include:
- Fetching recent user activities on a platform sorted by date.
- Filtering timeline activities based on specific criteria such as activity type or status.
- Paginating through large sets of timeline activities using cursors.
- Controlling how much related information (e.g., linked users or projects) is returned alongside each timeline activity.
Properties
| Name | Meaning |
|---|---|
| Order By | Sorts the returned timeline activities. Accepts a comma-separated list of fields with optional directions. Directions can be: AscNullsFirst, AscNullsLast, DescNullsFirst, DescNullsLast. Default direction is AscNullsFirst. Example: createdAt,updatedAtDescNullsLast |
| Filter | Filters the timeline activities returned. Supports complex expressions combining fields, comparators, and conjunctions. Comparators include eq, neq, in, containsAny, is, gt, gte, lt, lte, startsWith, like, ilike. Can filter null values and booleans. Example: status[eq]:active,createdAt[gte]:2023-01-01 |
| Limit | Limits the number of timeline activities returned in one response. Default is 60. |
| Depth | Controls the level of nested related objects included in the response: 0 = only primary timeline activity data; 1 = includes directly related objects; 2 = includes related objects of those related objects. Default is 1. |
| Starting After | Returns timeline activities starting after a specific cursor value. Useful for paginating forward through results. Cursor values are found in the response's pageInfo object (startCursor or endCursor). |
| Ending Before | Returns timeline activities ending before a specific cursor value. Useful for paginating backward through results. Cursor values are found in the response's pageInfo object (startCursor or endCursor). |
Output
The node outputs JSON data representing the timeline activities matching the query parameters. The structure typically includes:
- An array of timeline activity objects, each containing fields describing the activity.
- Pagination info such as cursors (
startCursor,endCursor) and flags indicating if more pages exist. - Nested related objects depending on the
Depthparameter.
If binary data were involved (not indicated here), it would represent attachments or media related to timeline activities, but this operation focuses on JSON data.
Dependencies
- Requires an API key credential for authenticating with the Twenty API.
- The node uses the base URL configured via credentials.
- No additional external dependencies beyond the Twenty API and its authentication.
Troubleshooting
- Empty results: Check your filter syntax and ensure that the filter matches existing timeline activities. Also verify that the limit and pagination cursors are set correctly.
- Invalid filter or order_by format: Ensure filters and order strings follow the documented syntax exactly, including correct comparator names and field names.
- Authentication errors: Confirm that the API key credential is valid and has necessary permissions.
- Pagination issues: When using
starting_afterorending_before, use cursor values exactly as provided in previous responses to avoid errors. - Depth too high: Requesting a depth greater than supported may result in incomplete data or errors.
Links and References
- Twenty API Documentation (for detailed API usage and field definitions)
- n8n Documentation on HTTP Request Nodes (general guidance on API calls and pagination)