Hi, I have a bundle in which there are two arrays, each with a start date and an end date.
Because I have a fixed single date from a previous module, I want to filter out the bundles where the single date is either the same or between the start (“Startdatum (from Members Kalender)”) and end date (“Enddatum (from Members Kalender)”) from the bundle. In other words, I only want the bundles where the individual date is before the start date or after the end date.
Because I have several entries in the arrays, I don’t know how to set a filter to exclude the bundle.
Because I have several entries in the arrays, I don’t know how to set a filter to exclude the bundle.
Context:
I send leads to my customers and the customer can enter in his calendar on which days he has no time. Therefore, I don’t want to send them leads that have a date that is in a time block that is actually blocked in my customer’s calendar. Because there are also days between the customer’s time blocks that have not been blocked, I need this filter to send the leads to them
You’ll have to combine the two arrays in an iterator module using the built-in function merge, and filter through valid items, and then aggregate back into an array.
Then, expand the “Advanced Settings” on the aggregator module, and click “Stop processing after an empty aggregation”
So, if no dates are valid, the scenario will not continue after it.
Example
Here is an example of how your scenario could look:
This is just an example. Your final solution may or may not look like this depending on your requirements and actual input data.
I would suggest completing the Make Academy before jumping into building a complete scenario. If you need specific assistance when you are building a scenario it’s easier to help you then. Otherwise, you can also hire a professional by posting a request in the Hire a Pro category.
Alternatively, you can use the private messaging feature to directly reach out to other forum members. To do this, go to your profile, and click on the “New Message” button:
Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —
I’ve now tried it the way you described, but I think I’ve set something up wrong
In my example, the lead has the date “2025-03-28”. The function should then make it so that only the person from bundle 1 is suitable for this lead. Because in bundle 2, the person has specified the end date “2025-03-29”.