Formula Fields let you calculate new Marketing Data using Excel-like functions — currently used to categorize your Marketing Channel field based on UTM data.
Overview
Formula Fields calculate new data by referencing or transforming existing Marketing Data Fields or Signals. Using a syntax similar to Excel, you can apply Invoca or custom functions to enrich your dashboards and reports. Note: Formula-based functionality is currently limited to categorizing your Marketing Channel field, calculated on a per-call basis — it doesn’t support multi-row or aggregate calculations, like totals across multiple calls.Editing a Formula Field
You must be a Super User to edit a Marketing Data Field. Initially, you can only edit fields Invoca has already attached a default formula to — look for the(f) icon on the Marketing Data Dictionary page.
- Click Settings, then Marketing Data.
- Find the field you want to edit (marked with an
(f)icon) and click its Edit icon. - Scroll to the Formula (optional) section and click Edit and Preview to open the formula editor.
- Make your changes in the formula input box.
- Click Refresh to preview how your changes affect the data, shown in the Preview with call data table.
- Click Apply to save your edits and return to the Edit Marketing Data Field page, or Cancel to discard them.
- Click Save on the Edit Marketing Data Field page to finalize your changes — they won’t take effect until you do.
Supported Data Types
Long Text fields (such as URLs) aren’t supported in Formula Fields.
Available Functions
Operators
Example: Adding a New Marketing Channel
Say your Marketing Channel field uses UTM data to assign a channel, and you want to add a new category — for example, “AI Search.” Add a new condition to your existing formula, typically as a new line:Where Marketing Channel Data Is Available
- In the Lead Conversion Dashboard (retroactive): to support historical trend analysis, this dashboard calculates Marketing Channel dynamically — updating your formula recalculates the dashboard’s historical data with the new logic.
- Everywhere else (forward-looking): in reporting, integrations, and elsewhere, Marketing Channel behaves like any other Marketing Data Field — the formula applies at the moment the call completes, so formula updates only affect future calls.