Automatically post Slack messages at specific times

The goal: At specific times, I wanted a bot to automatically post something.

For example –

To boost conversation within my company and get people more comfortable with expressing themselves, I set up an automation so every Monday, Wednesday, and Friday – a fun question is posted to a Slack channel.

Ways you can do this:

Option #1Using the /remind feature.

This is great for recurring reminders. But imagine if you had 30 questions, and you wanted to schedule a new question every day. The whole process would be incredibly painful, and error prone.

Option #2Using the default Google Calendar Integration

You can create an event at a specific time, and have Slack send the reminder.

Personally – I don’t like is the way it looks. It screams that it’s a calendar event, rather than a prompt.

Option #3 [RECOMMENDED] – Using IFTTT and connect it with your Google Calendar.

I like how this works. The bot can be customized, and it only fires off the event name.

Best of all, you can upload events directly to Google Calendar. Here’s my spreadsheet that you can use as a template. Go ahead and make your own copy of it.

Option #4…5…infinite – Just be aware there are many solutions to this problem. You can build a custom bot that relies on CRON jobs, or find a platform that has this feature.


Going deeper with IFTTT

Setting up the content and when the message fires. (using Google Calendar)

1) Create a new Google Calendar

2) Visit Google Calendar’s Imports/Exports

3) Upload the spreadsheet to your newly created calendar.


Setting up the bot

1) If you haven’t already, create an account on IFTTT

2) Within Services, connect both your Google Calendar AND your Slack

3) Now under Applets, click on ‘New Applet’.

4) Using the If THIS then THAT –

For THIS – set it to Google Calendar you created.

For THAT – set it to Slack.

And there you have it!

Leave a Comment