tracardi icon indicating copy to clipboard operation
tracardi copied to clipboard

Plugin: That sends message to microservice

Open atompie opened this issue 3 years ago • 1 comments

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.

atompie avatar Nov 17 '21 00:11 atompie

https://github.com/DawidekZagajnik/tracardi-message-send-plugin

DawidekZagajnik avatar Nov 28 '21 18:11 DawidekZagajnik

Will not be done.

atompie avatar Nov 09 '22 20:11 atompie