Add consent plugin
This plugin appends consents to profile. With this plugin you will need to provide the reference to new consent data, for example email@example.com.
The most possible use-case is when customer grants consents by filling a form. This data is sent to Tracardi as an event with properties set to granted consents. Consents payload should be in form of:
Plugin reads a data referenced with config as consents and adds them to profile if they are valid.
If there is no error plugin returns input payload (without any changes) on port payload.