Mastering Summing Values in Make.com's Tools Module
Have you ever found yourself waiting for some variables to be received in the tools module, and you'd like to sum up the values you receive? You might have tried using the Sum function, the array iterator, or the aggregator iterator, but none of them worked. Well, you're not alone. Many Make.com users have faced this challenge, and I'm here to help you overcome it.
Step-by-step Solution
Instead of using the 'Set variable' first, you should use an array aggregator. After that, you can set a single variable using the map and sum functions. Here's how:
- Set up two bundles with the property 'value' 5 and 4 respectively.
- Select the property to sum from the bundle into an array.
- Use the map and sum functions to set your total from the array.
- Now, you should see the result of the execution: 5+4 = 9.
Troubleshooting Tips
If you're still having trouble, make sure you're selecting the correct property to sum from the bundle into the array. Also, double-check your use of the map and sum functions when setting your total from the array.
Conclusion
Summing values in the tools module doesn't have to be a headache. By using an array aggregator and the map and sum functions, you can easily sum up the values you receive. Remember, the key is to not use the 'Set variable' first. I hope this guide has been helpful. Happy coding!
You do have further questions?
Ask your question via E-Mail: Richard@make-app.de
Book a paid Support & Consulting Session
New Make.com user? Sign up through this Affiliate Link to receive 10.000 operations for FREE.