Dynamic Content
Bank administrators are able to personalize the Insight message by using static or dynamic values in the Insight Definition Content Template.
When defining Content Template dynamic values can be defined in the same way as in Triggering and Audience conditions. This means that dynamic data can be sourced from:
- Triggering Event data
- Repositories
- Alias functions
Such Insight Definition Content Template data needs to be serialized into JSON and sent to Bank Admin API. For instance like:
{
...
data: "{\"iconImage\":\"https://cdn.meniga.com/WarningIcon.png\",\"iconAltText\":\"Alert\",\"title\":\"Unusual transaction!",\"description\":\"View details\",\"deepLink\":\"/transactions"}"
}
For more details on supported dynamic content formats please refer to Content Rendering Section section of Triggering Engine
documentation.