Slide 1

Slide 1 text

Webhooks done right Nicolas Grenié Developer Advocate @ Typeform 26 sept 2018 - API Strategy Nashville @picsoung @typeform

Slide 2

Slide 2 text

Nicolas Grenié @picsoung @picsoung

Slide 3

Slide 3 text

@picsoung

Slide 4

Slide 4 text

@picsoung

Slide 5

Slide 5 text

@picsoung

Slide 6

Slide 6 text

Let’s go fishing @picsoung

Slide 7

Slide 7 text

Spiders do it too @picsoung

Slide 8

Slide 8 text

Let’s agree on something

Slide 9

Slide 9 text

API Strategy: Start with webhook

Slide 10

Slide 10 text

Thanks to webhook you can integrate with 1000+ services @picsoung

Slide 11

Slide 11 text

What should happen on provider’s side? @picsoung

Slide 12

Slide 12 text

#1 Test webhook event @picsoung

Slide 13

Slide 13 text

#2 Let me inspect payload @picsoung

Slide 14

Slide 14 text

#3 Events history @picsoung

Slide 15

Slide 15 text

#4 Replay event @picsoung

Slide 16

Slide 16 text

#5 Retries if failed to deliver @picsoung

Slide 17

Slide 17 text

@picsoung #6 Notifications

Slide 18

Slide 18 text

@picsoung #7 Sign webhook payload https://api.slack.com/docs/verifying-requests-from-slack

Slide 19

Slide 19 text

@picsoung #8 Webhook API ● Let me create/change Webhook via API ● Add corresponding oAuth Scopes ● Manage deliveries

Slide 20

Slide 20 text

@picsoung #9 More than one webhook ● Specialize each webhook ● Build complex workflow ● Enable more integration

Slide 21

Slide 21 text

@picsoung #10 Many event types

Slide 22

Slide 22 text

Will serverless functions Kill Webhooks?

Slide 23

Slide 23 text

@picsoung Serverless is the future of webhooks

Slide 24

Slide 24 text

Takeaways

Slide 25

Slide 25 text

Takeaways Build Webhook first Dedicated DX effort Extend with native serverless

Slide 26

Slide 26 text

Questions? Nicolas Grenié (@picsoung) [email protected] 26th Sept 2018 API Strategy Conference - Nashville, TN Images are from Unsplash https://unsplash.com/collections/3134634/apistrat-web hooks-done-right-slides Feedback? http://bit.ly/tf-apistrat