top of page
Dan Luo

Handling Status and Iterations with Make

When automating workflows, handling status updates and iterating through lists of data are important building blocks. These processes ensure that your automations can adapt to different scenarios and handle data consistently.

Close-up photo of a traffic light showing red, yellow, and green signals.

Understanding Status Handling:

Status handling allows your automation to make decisions based on the current state of your data or tasks. This is essential for workflows that need to respond differently depending on specific conditions.


Example Scenario 1: Tracking Order Status

Imagine you run an online store and need to update customers about their order status. You can automate this process by setting up different actions based on the status of an order.


Steps to Implement:

Trigger: Set a trigger for when a new order is received. For this example, we store the order in a Google Sheet. So when a new order is added to the spread sheet, the workflow will be triggered.


Action – send an email: Use the switch function to check the order status. The body content of the email is defined based on whether the order is 'Processing,' 'Shipped,' or 'Delivered.'


Make.com workflow connecting Google Sheets to Microsoft 365 Email for sending order status updates based on conditions.

Explanation: Think of this like a traffic light. Depending on the light (order status), cars (actions) will either stop, go, or prepare to stop. If the light is green ("Processing"), the order is being prepared. If it’s yellow ("Shipped"), it’s on its way. If it’s red ("Delivered"), the customer should have received it.


Iterating Through Lists

Iteration involves executing a set of actions for each item in a list. In Make, you typically use aggregation and iteration modules to handle lists of data effectively.


Aggregation: Use aggregation modules to collect data from multiple sources into a single list.

Iteration: Use an iterator module to loop through each item in the aggregated list, performing specific actions on each one.


Example Scenario 2: Sending Personalized Emails to a List of Customers

Suppose you have a list of customers (e.g. Google sheet) and want to send each a personalized email. By aggregating the data and then iterating through the list, you can automate this process efficiently.


Steps to Implement:

Trigger: Set a scheduled trigger (e.g., every Monday at 9 AM). The trigger action will go through the customer list which stored in the Google spreadsheet every Monday at 9am.

Schedule settings for the workflow configured to run on Mondays at 9:00 AM, with options to select other days of the week.

Aggregation Module: Collect data from your source (e.g., CRM, Google Sheets) into a single list. For this example, you can choose “Customer Name”, “Customer Contact” and “Last Purchase Date” from the customer list.

Array aggregator settings for aggregating data from Google Sheets, including selected fields like Customer Name, Customer Contact, and Last Purchase Date.

Iterator Module: Loop through each item in the aggregated list to perform actions.

Flow control settings of an Array for an Iterator module.

Create and send a personalization email:

Microsoft 365 Email settings for sending a personalized email with a special offer, including placeholders for customer name and contact information.

Explanation: Imagine you’re writing holiday cards. First, you gather (aggregate) all the addresses. Then, you write and send a card to each person (iterate through the list), ensuring each message is personalized.


Advanced Iteration with Filters:

Applying filters within your iteration allows you to perform actions only for specific items. For instance, you might want to send special offers only to customers who have made a purchase in the last month.


Example Filter: The last purchase date is 30 days earlier than today’s date.

Filter setup to filter data based on the 'Last Purchase Date' being 30 days or more before the current date.

Explanation: Filters are like sieves. Only certain data (items) get through based on the criteria you set, ensuring actions are taken only on relevant items.


Conclusion

Effectively managing status and iterations in your automations ensures that your workflows are both dynamic and efficient. By setting up conditions based on status and using aggregation and iteration, you can handle various scenarios and data processing needs seamlessly. These techniques help streamline operations and improve overall productivity. Start implementing these strategies to see how they can enhance your automated workflows.


Consider contacting Ava Tech—we can assist you in maximizing the potential of your automations!

bottom of page