Company
Date Published
Author
Andrew Minkin
Word count
1879
Language
English
Hacker News points
None

Summary

The article describes the process of improving the community onboarding experience in the Ory Community Slack by developing a custom Slack bot using the Slack Events API, hosted on AWS Lambda. Initially, the onboarding was impersonal and one-way, prompting the Ory DevRel team to seek a more personal and interactive approach by messaging each new member directly to understand their challenges and guide them accordingly. The article details the technical implementation of the bot, utilizing the Go programming language, Slack Events API, and AWS Lambda, highlighting the differences between WebSockets and the Events API. It explains the steps for creating, configuring, and deploying the bot, including generating OAuth tokens, setting environment variables, and configuring AWS Gateway. The author emphasizes the cost-effectiveness and simplicity of using the Slack Events API and AWS Lambda for hosting small-scale bots without incurring significant expenses.