Skip to content

Instantly share code, notes, and snippets.

@WesleyDRobinson
Created April 16, 2016 03:52
Show Gist options
  • Save WesleyDRobinson/c1220dfa2c78823863f2074627dac554 to your computer and use it in GitHub Desktop.
Save WesleyDRobinson/c1220dfa2c78823863f2074627dac554 to your computer and use it in GitHub Desktop.
// Event Payload
{
"event": "Slack Testing",
"userId": "loxley1160",
"properties": {
"name": "Robin Hood",
"email": "robin@englandmail.com",
"activities": {
"one": "stealing from the rich",
"two": "giving to the poor"
}
}
}
input: "We are {{event}}" // output: "We are Slack Testing"
input: "Talking about {{properties.name}}" // output: "Talking about Robin Hood"
input: "He is known for {{properties.activities.two}} // output: "He is known for giving to the poor"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment