{"id":1572,"date":"2018-05-01T01:08:30","date_gmt":"2018-04-30T16:08:30","guid":{"rendered":"https:\/\/n8finch2024.local\/?p=1572"},"modified":"2021-03-02T05:31:31","modified_gmt":"2021-03-01T20:31:31","slug":"auto-send-slack-invites","status":"publish","type":"post","link":"https:\/\/n8finch2024.local\/auto-send-slack-invites\/","title":{"rendered":"Auto-Send Slack Invites"},"content":{"rendered":"
Update: This may not work anymore, or may not work for new users of this app. I know we’ve hit out sending limit on our free account for a local meetup, so test and proceed with caution.<\/em><\/p>\n Recently, we wanted to create a Slack group for a meetup group in our city. We also wanted to auto-send Slack invites to folks so the admins didn’t have to.<\/p>\n Everyone (especially devs!) love Slack, and we’re on it all the time. One of the best ways we can keep in touch outside of the meetup (meetup.com doesn’t really have a good interface for chatting with group members in between meetups) is to make sure we’re able to communicate and ask questions here between meetups.<\/p>\n <\/p>\n One of the bummers (and great security features) about Slack is that you have to send people an invitation to join the group. Well, what if we just want something a little more automated?<\/p>\n After googling around, I found several solutions and some API references for this.<\/p>\n Currently, the easiest solution to get up and running with was here:<\/p>\n https:\/\/github.com\/outsideris\/slack-invite-automation<\/a><\/p>\n Literally, you can just click on the “Deploy to Heroku” button, enter some credentials, and voila, you have an app that will\u00a0auto-send slack invites.<\/p>\n Here’s the launched app:<\/p>\n https:\/\/madison-wordpress-slack.herokuapp.com\/<\/a><\/p>\n I looked at another app here, but it didn’t seem to work right out of the box:<\/p>\n https:\/\/github.com\/rauchg\/slackin\/blob\/master\/lib\/slack-invite.js<\/a><\/p>\n I’m sure this was just user error on my part, but wanted to note it here.<\/p>\n Here are a couple more API references and notes on trying to do this kind of thing, including some undocumented API endpoints.<\/p>\n https:\/\/api.slack.com\/apps<\/a><\/p>\n https:\/\/github.com\/ErikKalkoken\/slackApiDoc\/blob\/master\/users.admin.invite.md<\/a><\/p>\n If you’re looking to get Slack going for a community group, and you’d like to automate the initations, I’d recommend this approach.<\/p>\n Eventually, when we get a Madison WordPress Meetup site set up, we’ll move this functionality into a plugin and make the API calls from there. For now, even though the app is on Heroku’s free tier, this will work just fine.<\/p>\n Cheers,<\/p>\n Nate Finch<\/p>\n Photo by\u00a0Javier Molina<\/a>\u00a0on\u00a0Unsplash<\/a><\/p>\n","protected":false},"excerpt":{"rendered":" Update: This may not work anymore, or may not work for new users of this app. I know we’ve hit out sending limit on our free account for a local meetup, so test and proceed with caution. Recently, we wanted to create a Slack group for a meetup group in our city. We also wanted […]<\/p>\n","protected":false},"author":1,"featured_media":1573,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[1,8,26],"tags":[45,44],"yoast_head":"\n
\n
\n