If youâve explored the no-code and low-code automation space, youâre probably already familiar with programs like Zapier that let you connect your apps together to build automations.Â
While Zapier is a great place to get started, and an indispensable tool for automators of any skill level, Make will give you access to more advanced techniques.
Make (formerly known as Integromat) is similar to Zapier, but offers a wider range of functions for each of the apps it supports. Conversely, Make doesnât support as many programs as Zapier, and its more advanced technical features make it a little more difficult to learn.Â
In this post, weâll walk you through a couple of simple Make automations to help you get started with the platform and show you how it works. The first automation will create an archive of every message sent in a specific Slack channel, while the second will delete messages from that archive once theyâre over 1 month old.Â
Creating an Automated Slack Message Archive
1. Create a database in Airtable
First, create a database in Airtable where youâll store your archive. You can also use Google Sheets if youâd like, but youâll need to modify some of the steps in the tutorial.
â
2. Create a new Make Scenario
Create a new âscenarioâ in Make, and give it a descriptive name. You may also want to use folders to keep your automations organized.Â
3. Add a new Slack module
Unlike Zapier, Make doesnât fully separate automated steps in âTriggersâ and âActionsâ. Instead, youâll have to make a new module and find the right trigger from the list: âWatch Public Channel Messages [Acid]â.
â
The âACIDâ tag means that this is an action that conforms to ACID criteria for database transactions. In Integromat, this effectively means that this module will rollback any actions it performed if it encounters an error. It will either run successfully, or it won't run at all.
You don't worry too much about the ACID tag when you're getting started with Integromat, but it's a good thing to keep in mind as you're building your scenarios.
Sign in to your Slack account, and choose the channel you want Make to watch for new messages.
4. Test your trigger module and review the data
To test your trigger, right click on it and select âChoose where to startâ >âchoose manuallyâ. Pick a message from the list, and then click on the âRun onceâ button. Youâll want to do this every time you need to test your scenario.
â
By choosing your starting point manually every time, youâll ensure that youâre using the right test data.Â
Check the information that Make pulls in from Slack. You should see things like the user ID of the sender, the message content, the date it was sent, and more.
5. New Slack module: Get a User
What you wonât see in the moduleâs data is the userâs name. If youâd like to attach a name to the message rather than just a string of random characters, youâll need to add another step to look up the username based on the retrieved ID.Â
Add a new Slack module, and select âGet a Userâ. For the ID, enter the âIDâ data pulled in by the first module.Â
â
Test the scenario again by right-clicking on the first module and selecting âchoose where to start manuallyâ, then clicking on ârun onceâ.Â
Click on the number by the second module to see the data it retrieved, and you should see the userâs name among several other pieces of info.Â
6. New Airtable module: Create a record
Create a new module and choose Airtable. Select âCreate a recordâ, sign in to your Airtable account, and choose the base and table that you want to use for this automation.Â
Populate it with the information youâve gathered from the previous modules, like the message content, its send date, the user who sent it, etc.
â
While Zapier requires additional steps to format text and dates, Make allows for easy in-line formatting. Just click on the âAâ icon to bring up text formatting functions, or the calendar icon for date formatting.Â
Once youâve finished setting up the module, test the scenario again using the same procedure weâve outlined before.Â
Check Airtable, and you should see new messages there.
Deleting old messages from the archive
Our second automation will delete messages from our Airtable archive once theyâre a month old.Â
Deleting records is one of the most basic functions that sets Make apart from Zapier. While Make supports deletion in most of its modules, Zapier doesnât support it in any of their integrations as a rule.
You need to be careful when adding a step to delete records in your automations, but it can be very useful if you donât want old data hanging around and piling up forever.Â
1. Make a new Airtable view
In your Airtable base, add a new view to your table called âOld messagesâ. Add a filter so that the view will only include records where âSend dateâ is on or before one month ago.Â
Our next Make scenario will watch this view for new records. If you donât have any old records to test with, just change the date on an existing record to make it fit the criteria.
â
Youâll also need to add a âLast modifiedâ column to this table so that Airtable can tell when each record was added or updated.
â
2. Create a new Make scenario
Make a new scenario, and choose Airtable for your first module. Select âWatch Records [Acid]â, and pick your base and table. Use your âlast modifiedâ column as the trigger field and choose the âOld messagesâ view.Â
â
Test the module, and confirm that the right message(s) have been retrieved.
3. New Airtable module: Delete Record
Add a new Airtable module to your scenario and choose âDelete Recordâ. Choose your base and table, and enter the record ID that Make retrieved in the first module.Â
â
Test your scenario again, and then check Airtable to confirm that your old records have been deleted.Â
Picking the right tool for the job
When youâre comparing software like Make and Zapier, thereâs no one, universal right answer for which software is better. Ultimately, each tool will be better suited to certain situations. If you need more extensive and precise control, Make will likely be the better choice, but it will require some more experience to use. If you need to support a huge range of software, Zapier will likely be the ideal option, but wonât offer as many automated actions.
At XRay, our techs know how to use both of these platforms and more so that they can use the right tool for every job, and we encourage other automators to do the same. If youâd like to learn more about Make, Zapier, Unito, and other automation platforms, check out our blog or our YouTube channel. You can also follow XRay on Twitter, Facebook, or LinkedIn.