How Knock uses Orb webhooks for usage-based upgrade nudges
Blog post from Hookdeck
In the first episode of Hookdeck's "Webhooks by Example" series, Jeff Everhart from Knock demonstrates how Knock employs Orb webhooks to manage customer upgrade nudges based on usage thresholds, illustrating a sophisticated workflow that enriches incoming webhook data to ensure timely and contextually appropriate notifications. Knock, a customer engagement platform, integrates with Orb, a usage-based billing system, to send alerts at specified usage levels, requiring enrichment steps to gather necessary details for precise messaging. The implementation underscores the importance of schema validation, idempotency to prevent duplicate workflows, and robust development workflows to simulate and test scenarios safely. It highlights the significance of designing communication strategies that convey urgency without inciting user anxiety and the value of maintaining operational controls to handle webhook volume effectively. The episode emphasizes that webhook payloads should be treated as triggers needing enrichment and that thoughtful message-state mapping is crucial for effective customer communication, especially in varying usage scenarios.