Introduction to Velocity
Personalize your campaigns with Velocity variables
eSputnik uses Velocity ā an open-source templating language ā to work with dynamic data in messages and workflows.
With Velocity, you can insert contact field values into content, render event data passed through a triggered workflow, apply conditions, and use values returned from external sources.
Where Velocity Gets Data
Velocity works with data already available in eSputnik: contact fields, event data, and external sources.
For the full data model, source availability, and precedence rules, see the Overview.
Preprocessor
For more advanced personalization tasks ā product recommendations, random selections, targeted offers for different segments ā eSputnik offers the preprocessor. This is a separate mechanism for forming dynamic content based on pre-prepared data that extends Velocity's capabilities.
For details, see the Preprocessor article.
In This Section
- Contact Field Variables Reference ā variables for contact fields, fallback patterns, and examples.
- Velocity in Messages ā how to use variables, objects, arrays, loops, and conditions in message templates.
- Velocity in Workflows ā how to transform values, branch by data, use webhooks, and save results to contact fields.
- Preprocessor ā personalization based on pre-prepared data: product recommendations, random selections, Key and Random types.
- Velocity Reference ā full syntax reference: variables, arrays, loops, conditions, operators, dates, and data access examples.
- Testing & Troubleshooting Velocity ā how to preview dynamic content, inspect available context, and fix common substitution issues.
Updated 7 days ago