Configuration
| Setting | Description |
|---|---|
| Aggregations | Formula-based aggregation mappings (optional) |
| SQL Aggregations | SQL-based aggregation mappings (optional) |
| Virtual Object Name | Namespace prefix for output fields (default: aggregation) |
Formula Aggregations
| Setting | Description |
|---|---|
| Field Name | Name for the aggregated field |
| Formula | Aggregation expression using SUM(), AVG(), COUNT(), MIN(), MAX(), etc. |
SQL Aggregations
| Setting | Description |
|---|---|
| Field Name | Name for the aggregated field |
| SQL Expression | DuckDB SQL aggregation expression |
How It Works
Group your data first
Place a Group By node before this one to define how records should be grouped.
Define aggregations
Add one or more aggregation fields. Each computes a summary value across the records in each group.
Output
New aggregated columns are added, computed per group. Output fields are named{virtual_object_name}.{field_name}.
Example
Calculate total revenue and deal count per industry:- Group By → Industry
- Aggregation:
total_revenue=SUM({{Salesforce.Account.Revenue}})deal_count=COUNT({{Salesforce.Account.Id}})avg_deal_size=AVG({{Salesforce.Account.Revenue}})
Best Practices
- Always place a Group By node before this node — aggregation without grouping produces a single result for the entire dataset
- Nested functions and mathematical operations are supported (e.g.,
SUM(field) / COUNT(field)) - Use SQL aggregations for complex expressions
Related Nodes
- Group By — required before Aggregation to define groups
- Transform — compute per-row fields (not aggregations)
- Split Group — remove grouping after aggregation