Skip to content

Instantly share code, notes, and snippets.

@ag0x00
Last active September 11, 2019 19:15
Show Gist options
  • Save ag0x00/e9b18ea3eb2ef5910ad41c2436ca285e to your computer and use it in GitHub Desktop.
Save ag0x00/e9b18ea3eb2ef5910ad41c2436ca285e to your computer and use it in GitHub Desktop.
Slack Notification Template for CRFT (WIP)
// To be used in https://api.slack.com/tools/block-kit-builder
[
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "<https://prod.crft.app/flows/5|*Demo Case*>"
}
},
{
"type": "section",
"text": {
"type": "mrkdwn",
"text": "Found non-compliant GitHub users in <https://github.com/getcrft/|getcrft>:\n"
}
},
{
"type": "section",
"fields": [
{
"type": "mrkdwn",
"text": "`ag0x00`"
},
{
"type": "mrkdwn",
"text": "`robert_dobbs`"
},
{
"type": "mrkdwn",
"text": "`dankmastr69`"
}
]
},
{
"type": "divider"
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text": "Escalate",
"emoji": true
},
"value": "click_me_123",
"style": "danger"
},
{
"type": "button",
"text": {
"type": "plain_text",
"text": "Dismiss",
"emoji": true
},
"value": "click_me_123"
}
]
},
{
"type": "context",
"elements": [
{
"type": "mrkdwn",
"text": "Action: 'Post to SOC Channel'. Last Updated By: Anton G."
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment