To create the Slack automation you described using Make.com, here’s a step-by-step guide, starting from setting up the bot in Slack to configuring the flow in Make. Let’s get started!
Step 1: Creating a Slack Bot with the Necessary Scopes
First, you’ll need to set up a bot in Slack with specific permissions to monitor and send messages in private channels. Here’s how:
Now that the bot is set up, let’s move to configuring the flow in Make.com to create the automation.
Set Up the Trigger to Monitor the Channel:
In Make.com, select Slack as the app and choose the Watch Messages in a Private Channel module.
Enter the bot authentication token created earlier.
Specify the private channel the bot should monitor.
Set the Trigger to Detect “start”:
Create a condition in the monitoring module to trigger only when the message is “start.”
When the “start” condition is detected, configure the Create a Message module to send the message: “Welcome to XYZ, paste your comment below.”
Monitor the Next Message:
Add a second Watch Messages in a Private Channel module to monitor the next message sent after “start.”
Configure the Create a Message module to respond with “your last message was ‘[last message]’,” storing the previous message as a variable for reuse.
Resolving the invalid_ts_latest (200) Error:
This error occurs when the message timestamp is invalid. To prevent this, ensure Make.com is using a valid timestamp when retrieving messages.
Another solution is to set up the modules to read messages from a fixed timestamp or omit this specification if it’s not essential.
Following these steps, you should be able to create and test the basic automation! Once this initial setup is working, you can expand and adjust the flow as needed.
I’m stuck on Step 1 of Part 2 - Setting up the trigger to monitor the channel.
You mentioned to Enter the bot authentication token. I don’t see that option in the “watch private channel message” below. Can you please advise?