Uncategorized Sending a Slack invite with a Perl CGI script

Sending a Slack invite with a Perl CGI script

a.k.a. “CGI is not dead”

We wanted to invite people to a Slack channel, but Slack provides no automated means of doing so. So we developed a simple CGI script, slack_invite.cgi, that accepts query parameters from a form and calls the Slack API to generate an invitation.