CiviCRM

Interact with CiviCRM API v4 (Civi-Go compatible). Supports Contact, Membership, Group, Relationship and Activity entities. Includes dynamic mapping of email, phone, address and location types. Includes birth_date validation and JSON filters for GET MANY.

Overview

This node interacts with the CiviCRM API v4 to create an Activity entity. It allows users to specify multiple custom fields as name-value pairs to define the properties of the Activity being created. This node is useful for automating the creation of activities within CiviCRM, such as logging events, tasks, or interactions related to contacts or other entities.

Use Case Examples

  1. Creating a new activity record with custom fields like subject, status, and date.
  2. Automating the logging of interactions or events in CiviCRM as part of a workflow.

Properties

Name Meaning
Fields A collection of custom fields to set on the Activity entity. Each field consists of a name and a value, allowing flexible specification of Activity properties.

Output

JSON

  • id - The unique identifier of the created Activity.
  • name - The name of the Activity.
  • title - The title of the Activity.
  • subject - The subject or description of the Activity.
  • display_name - A display-friendly name of the Activity.

Dependencies

  • Requires an API key credential for authenticating with the CiviCRM API v4 endpoint.

Troubleshooting

  • Ensure that the API credentials are correctly configured and have sufficient permissions to create Activity records.
  • Verify that the field names and values provided in the 'Fields' property match the expected schema of the Activity entity in CiviCRM.
  • Common error: 'Failed to create contact.' indicates an issue with creating a related contact entity, which may be required depending on the Activity fields.
  • Invalid date formats in fields like 'birth_date' will cause errors; dates must be in ISO format (YYYY-MM-DD).

Links

Discussion