Actions33
- Activity Actions
- Contact Actions
- Group Actions
- Membership Actions
- Relationship Actions
- Custom API Call Actions
Activity → Get Many
AI-generatedSummary
Retrieve multiple CiviCRM activities, optionally filtering them with APIv4 Where conditions and returning either a limited result set or all matching records.
Inputs
- Runtime Bearer Token (Optional) — Optional per-item JWT, often supplied by expression. When set, the request uses it as the bearer token and does not retry with credential authentication if the response is empty or fails.
- Base URL Override — Optional CiviCRM site root for this item, without /civicrm. If omitted, the credential’s Base URL is used; a missing scheme is treated as https://, and only http(s) URLs are accepted.
- Return All — Whether to fetch all matching activities. When enabled, results are requested in pages of 500.
- Limit — Maximum number of activities to return when Return All is off; defaults to 100.
- Where (JSON) — Optional JSON array of APIv4 filter conditions, such as [["activity_type_id:name","=","Meeting"]].
Output shape
A list of n8n items, one per returned activity.
Each item contains an activity record with the fields selected by the node: id, name, title, subject, and display_name. With no matching results, no activity items are added. Invalid Where JSON throws an error, or produces an error item when Continue On Fail is enabled.
Examples
Example 1: Fetch up to 100 activities of a given type
Set Where (JSON) to [["activity_type_id:name","=","Meeting"]] and leave Return All off.
Example 2: Fetch every matching activity
Set the desired Where (JSON) conditions and enable Return All.