In short, we have three CRM boards that are connected to a central payment board. A donor in the CRM board can be connected to multiple payments. At the end of each year, we’d like to sum the total of all connected payments for each donor, and then place that total in a numbers column in the CRM boards to preserve the yearly give of each donor. Once we preserve the yearly sum, we will be moving all payments to an ‘archive’ board.
The flow I’m attempting in Make looks like:
List all items (In CRM board) → Iterate thru the ID’s of connected payments per item → Get ‘Amount’ value of each payment → sum ‘Amount’ → update the ‘2023 Give’ column in the CRM board
The issue:
The order of my Array and Numeric Aggregators are not summing the ‘Amount’ for all connected payments per CRM entry
Here’s the current flow in Make (leaving out extra modules that are not relevant)
Here is the output of the Numeric Aggregate. The result is just the amount of the connected payment, rather than the sum of all connected payments per CRM entry
I’d like to think I have a somewhat decent grasp on Make workflows, but this is one that has stumped me. let me know if I need to clear anything up/provide insight into the issue
Thanks a ton in advance, any help would really help me get out of a jam
Alternatively, you need to insert an Iterator module to iterate the grouped results from the Array Aggregator, and set the source module of the Numeric Aggregator to the Iterator.
Thanks for the reply, and apologies for the late response
We seem to be getting closer to a solution, I think my problem lies in how I am leveraging the ‘group by’ field in these aggregates. The output of my aggregator (module 25) appears to be 1-1, but I beleive it should be only 2 if I am listing 2 items from the CRM board.