How we did auto invite into Slack using Typeform and AWS Lambda
At Dedal we’re changing home improvement industry. And we know that every major innovation starts with building a community. Our community for licensed contractors based on Slack. But Slack doesn’t allow people to sign up directly though. The team’s admin needs to invite people manually. levels.io wrote an original article on how to hack into Slack API and also I’ve stumbled upon Lucas Gordon’s great SlackForm Node.js module.
Dedal uses Amazon Web Services (which is awesome) and this is how we managed to automate our stuff using AWS Lambda.
1) Get the source code of intiveTypeFormToSlack lambda function bundle, extract, open index.js and change these keys to yours:
If you don’t know where to get the keys, read this.
2) Sign in into your AWS account and create new empty Lambda function:
3) Zip the bundle again and upload it to your lambda function using AWS Console:
4) Add CloudWatch rule to run your lambda function every 5 min:
5) Done!
UPD: Also see this article from Typeform blog.
Follow us at @dedalapp if you have any feedback! Recommend this article by clicking a heart below if you like it!