Scripting
Scripting is central within NEON, and is used for conditional execution and personalisation.
There are three main categories of scripts:
- RunIfExpressions. These are boolean expressions which control execution logic and weather triggers should be executed or not.
- Value expressions. These are used in input fields and configurations to calculate a context sensitive value.
- Template scripts. These are used within CMS and message bodies to generate larger sets of personalised text
The scripts have access to all in-parameters and to the entire CDP and engagement model, but only for the one Member for which the API request is executed.
NOTE
Scripts are executed in run-time for each request and Member, and may therefore result in large amounts of dynamic SQL Queries, which may impact performance. The presence of scripts within Entities and CMS content sometimes also knocks out NEON's ability to cache content and results.
Therefore, only use scripting where and when needed.
Updated about 1 month ago