Hi everyone. I'm trying to build an automation to calculate the total debt for a specific client.
Epics are my clients and my tasks "Facturas" are Bills.
My tasks have a numeric field "Monto" (amount) and I need to sum that field across all child tasks IN THAT SPECIFIC EPIC and input that value into the "monto" field in the Epic.
I've managed to create an automation that adds up the values HOWEVER it sums ALL bills across ALL epics into that specific client.
Is there a way to have the automation sum up ONLY the child issues of the epic I want?

my idea was to run the automation straight from a Bill and impact the client. But maybe I should run it the other way around?
I'm a bit lost I'm not sure how to achieve the goal.
Hope that all makes sense thank you!