Sum donations from a Google Sheet and output in email

Hi. I have a Google sheet with donations made to our non-profit. The sheet has one or more rows for each donor with columns for first name, last name, email, donation date and donation amount. Some people donate more than once and so will have a row for each donation made.

I have a scenario that works and will send out an email with the body having a line for each donation date and donation amount for that donor. However, what I want is to have a line after all the donations that gives a total donation amount. So, as an example, this is what works today:

Thanks John Doe for your 2024 donations. Below are the donations you made:

11/15/2024: $101.00
11/16/2024: $102.00

And this is what I want:

Thanks John Doe for your 2024 donations. Below are the donations you made:

11/15/2024: $101.00
11/16/2024: $102.00

Total donations for 2024: $203.00

Any thoughts on how can accumulate the donations totals for a given donor and show the total in the email below each of the individual donations?

Thanks for your help.

David

1 Like

Welcome to the Make community!

To allow others to assist you with your scenario, please provide the following:

Relevant Screenshots

Please share screenshots of your scenario, any error messages, relevant module fields, and relevant filter settings. It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

Output Bundles of Each Module

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

By providing these details, it will allow others to assist you better.

Hi @David_Garrison

Please use numeric aggregator to sum all the values.

Regards,
Msquare Automation - Platinum Partner of Make
@Msquare_Automation

1 Like