Correct syntax to reference aggregator data in an email body. | Community
Skip to main content
FrankatMSC
Level 4
August 1, 2025
Question

Correct syntax to reference aggregator data in an email body.

  • August 1, 2025
  • 2 replies
  • 285 views

My aggregator module is correctly producing the grouping and data I wanted.

The piece I can't figure out is how to reference it in the email module and keep the grouping.  What I have emails blank data for the project names.

Hello,

Here are your current projects:

{{#each projects}}
- {{name}}
{{/each}}

Thank you!

Can some please share the correct syntax?  
Thanks in advance!!
Frank

2 replies

Sven-iX
Community Advisor
Community Advisor
August 7, 2025

Hi @frankatmsc 
you're using a text aggregator that returns - text. 
Feed it into a Parse JSON module but make sure you make it a named object: 

{ "some name":{{#.aggregatormodule output}} }

 

FrankatMSC
Level 4
September 2, 2025

@kautuk_sahni My apologies for not replying but no I was never able to get this scenario working as I wanted .  I eventually switched it up to send out separate email rather than grouping.

kautuk_sahni
Community Manager
Community Manager
September 1, 2025

@frankatmsc just checking in! Were you able to get this resolved? If one of the replies above helped—whether it completely solved the issue or simply pointed you in the right direction—marking it as accepted can make it much easier for others with the same question to find a solution. And if you found a different way to fix it, sharing your approach would be a great contribution to the community. Your follow-up not only helps close the loop but also ensures others benefit from your experience. Thanks so much for being part of the conversation!

Kautuk Sahni