CiviCRM icon

CiviCRM

Interact with CiviCRM API v4 to manage contacts, memberships, groups, and more.

Group → Get

AI-generated

Summary

Retrieves a CiviCRM group by its internal ID using the Group APIv4 get action. Returns the first matching group record, or an empty object if no record is returned.

Inputs

  • ID (required) — Internal CiviCRM ID of the group to retrieve.
  • Runtime Bearer Token (Optional) — Optional JWT supplied directly or by expression. When set, it is used for this request without retrying with the credential if the response is empty or an error occurs; otherwise the node uses its credential-based authentication.
  • Base URL Override — Optional CiviCRM site root for this item, without /civicrm. If no scheme is provided, HTTPS is assumed; only HTTP and HTTPS URLs are accepted. Leave empty to use the credential's Base URL.

Output shape

A single n8n item containing a group record as JSON.

The request selects id, name, title, subject, and display_name; fields returned by the API may vary. If no matching group is found, the item contains {}. With Continue On Fail enabled, errors produce an item containing an error message.

Links

Discussion