Skip to main content
The set insight action calculates an aggregated value from events and stores it on a target object’s attribute — for example a content instance’s “likes count” or a contact’s “total revenue”. Available in all event types — Contact, User, Scheduled, and System events. See Automation nodes.

Configuration

FieldDescription
object_typeThe target object — content_instances, contacts, organizations, orders, or documents.
object_identifierA field mapping locating the target (id, slug, or path).
template_idThe target’s template, when its type needs scoping.
operationcount, sum, avg, max, min, unique_count, earliest_date, or latest_date.
operation_fieldThe source field for value-based operations (sum, avg, …).
attribute_configThe attribute to write — slug, title, optional description, and group_slug (default insights).
filtersEvent filters, e.g. moderation_status (default approved).
The target attribute is created automatically in the Insights group on first use. High-volume events are aggregated and written in batches automatically.

Attributes

The attribute an insight is stored on.