I Approve this talk! Slack apps and .NET

A presentation at HackSoc in November 2020 in Nottingham, UK by Steven Pears

Slide 1

Slide 1

I Approve This Talk! SLACK APPS WITH .NET

Slide 2

Slide 2

About me Work for Experian 🔥 1 Outage / Decade Slack.NetStandard

Slide 3

Slide 3

About Slack Workspaces Channels Messages

Slide 4

Slide 4

Slack Apps Extend slack with custom functionality Slack interacts via app APIs Installed per workspace

Slide 5

Slide 5

Our App: I approve this! Start Approval Send message to approver Approver Accepts/Rejects Send response

Slide 6

Slide 6

Slack Signature Valid Timestamp (X-Slack-Request-Timestamp) + Body Text = Hash with Signing Secret = Signature (X-Slack-Signature)

Slide 7

Slide 7

Start Approval: Slash Commands /[command] [other text here]

Slide 8

Slide 8

Demo: Always approve Start Approval Approved!

Slide 9

Slide 9

Sending a message Web API Permissions Slack timings

Slide 10

Slide 10

Demo: Telling someone

Slide 11

Slide 11

Block Kit JSON UI Framework Blocks Elements

Slide 12

Slide 12

Demo: Block Kit

Slide 13

Slide 13

Modals More Block Kit! Input controls Submit and cancel send payload to your API

Slide 14

Slide 14

Shortcuts Send a payload to your API Can be applied to messages

Slide 15

Slide 15

Demo: Shortcut & Modal

Slide 16

Slide 16

Workflows For paid plans Connect events within Slack Not just shortcuts!

Slide 17

Slide 17

Steps from apps Custom functionality for workflow

Slide 18

Slide 18

Demo: Workflows

Slide 19

Slide 19

/finish_talk [add question here] stoiveyp stevenpears stevenpears