tracardi
tracardi copied to clipboard
Plugin: That sends message to microservice
Sends the followin payload do message bus micro-service
{
"type": "<message-type>",
"profile_id": "<profile-id>",
"properties": {
"url": "//tracardi.com/event",
"event": {
"grant": "consent-grant",
"deny": "consent-deny"
},
},
"call": {
"file": "gdpr.min.js",
"func": "main"
},
"expire": "<timestamp-when-message-expires>",
"postpone": "<timestamp-when-trigger-message>"
}
- type - defines message type
- profile_id - recipient of the message
- properties - auxiliary data for the message. Properties will become the parameters of start function form JS script.
- call - script to be loaded and executed. This is optional. Some types may have already defined scripts.
- expire - when the message expires. After that time it should be removed.
- postpone - the time from when the message can be sent. Default value 0 - means do not postpone.
This plugin must send this payload in background and do not wait for response.
https://github.com/DawidekZagajnik/tracardi-message-send-plugin
Will not be done.