Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.77 KB

README.md

File metadata and controls

25 lines (21 loc) · 1.77 KB

meetup-slack

Retrieves the next upcoming Meetup and posts it to Slack, or search for Meetups in your area by topic.

example image 1

example image 2

What you will need

  • A Heroku account
  • Your Meetup API key
  • An outgoing webhook token for your Slack team
  • The Group IDs for the Meetup groups you would like to use. To find a group ID navigate to the 2/groups endpoint console, enter the group url name, and retrieve the id value from the response. Ex: The NY Tech Meetup has a group url name of ny-tech and group id 176399.

Setup

  • Clone this repo locally
  • Create a new Heroku app and initialize the repo
  • Push the repo to Heroku
  • Navigate to the settings page of the Heroku app and add the following config variables:
    • OUTGOING_WEBHOOK_TOKEN The token for your outgoing webhook integration in Slack
    • BOT_USERNAME The name the bot will use when posting to Slack
    • BOT_ICON The emoji icon for the bot
    • COLOR Can be any hex color code or good, warning, danger
    • MEETUP_API_KEY The Meetup API key for your Meetup account
    • MEETUP_GROUP_ID The ID of the Meetup group or groups, seperated by comma
  • Navigate to the integrations page for your Slack team. Create an outgoing webhook, choose a trigger word (ex: ".meetup"), use the URL for your heroku app, and copy the webhook token to your OUTGOING_WEBHOOK_TOKEN config variable.