A presentation at HackSoc in November 2020 in Nottingham, UK by Steven Pears
I Approve This Talk! SLACK APPS WITH .NET
About me Work for Experian 🔥 1 Outage / Decade Slack.NetStandard
About Slack Workspaces Channels Messages
Slack Apps Extend slack with custom functionality Slack interacts via app APIs Installed per workspace
Our App: I approve this! Start Approval Send message to approver Approver Accepts/Rejects Send response
Slack Signature Valid Timestamp (X-Slack-Request-Timestamp) + Body Text = Hash with Signing Secret = Signature (X-Slack-Signature)
Start Approval: Slash Commands /[command] [other text here]
Demo: Always approve Start Approval Approved!
Sending a message Web API Permissions Slack timings
Demo: Telling someone
Block Kit JSON UI Framework Blocks Elements
Demo: Block Kit
Modals More Block Kit! Input controls Submit and cancel send payload to your API
Shortcuts Send a payload to your API Can be applied to messages
Demo: Shortcut & Modal
Workflows For paid plans Connect events within Slack Not just shortcuts!
Steps from apps Custom functionality for workflow
Demo: Workflows
/finish_talk [add question here] stoiveyp stevenpears stevenpears