CiviCRM icon

CiviCRM

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

Activity → Create

AI-generated

Summary

Create a new Activity record in CiviCRM by specifying one or more field name-value pairs to set on the entity.

Inputs

  • Fields — One or more name-value pairs specifying the fields and their values to set on the new Activity.
  • Runtime Bearer Token (Optional) — An optional JWT token for authentication as a specific user; if provided, it overrides the node's credential authentication for this request.
  • Base URL Override — An optional base URL to override the credential's default CiviCRM site URL, useful when sharing one API key across multiple instances.

Output shape

a list of items, each containing the full JSON response of the newly created Activity record as returned by the CiviCRM API

If multiple input items are processed, each output item corresponds pairwise. The node returns the created Activity record with standard fields such as id, display_name, and others as provided by the API. Runtime Bearer Token usage enforces call authorization as that user without fallback to default credentials.

Examples

Example 1: Creating a simple Activity with a subject and status

Set Fields collection with fieldName='subject' and fieldValue='Meeting', and fieldName='status_id' with fieldValue='Scheduled'.

Links

Discussion