Created
May 25, 2019 09:13
-
-
Save TheCois/f1849f193ba92752fcba1f6a459e99c1 to your computer and use it in GitHub Desktop.
Template file sample for StoragePug's Notification system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"events": [ | |
{ | |
"name": "ContactPaysOnline", | |
"templates": [ | |
{ | |
"channels":[ | |
"Email" | |
], | |
"text": { | |
"type":"content", | |
"value":"${contactName} made a Payment" | |
} | |
}, | |
{ | |
"channels":[ | |
"BrowserPush" | |
], | |
"text": { | |
"type":"content", | |
"value":"${contactName} made a Payment of ${paymentValue} against Invoice ${InvoiceName}" | |
} | |
} | |
] | |
}, | |
{ | |
"name":"EmailIn", | |
"templates":[ | |
{ | |
"channels": [ | |
"SMS", | |
"BrowserPush" | |
], | |
"text": { | |
"type":"content", | |
"value":"Received an email from ${emailAddress} with Subject ${emailSubject}" | |
} | |
} | |
] | |
}, | |
{ | |
"name":"FeatureProductInfo", | |
"templates": [ | |
{ | |
"channels":[ | |
"Email" | |
], | |
"text": { | |
"type":"object", | |
"value":"march_2019_product_info.pdf" | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment