Error - sending duplicate emails
I imported a flow successfully. I tested it and it sent many many emails. The first email sent exactly what I expected and then each subsequent email added those gifts again and again and again. And it was never ending. I then recreated the flow using the tutorial for that import so that I would know exactly which actions I was using, because the import had renamed a bunch of things. Unlike my first attempt, in which each email repeated a group of gifts, on my second attempt, email 1 contained gift 1, email 2 contained gift 1 and 2, etc. It kept adding one gift until it got through all 16 gifts that I expected. What am I missing? Where did I go wrong?




Comments
-
Hey @Chelsea Hanson, you just need to add an action at the end of your Apply to Each loop to reset your array variable to an empty array. Right now, you're appending each gift to the array variable through each loop. Use the Set Variable action and set the array to [].
1 -
Thanks, @Matt Thacker. I think I did this correctly, but I still got multiple emails - each with one gift instead of one email with all the gifts. How do I get one email?
0 -
@Chelsea Hanson- I believe the Set Variable goes inside your loop. So put it right after the Append to Array variable. This way it will reset each time it loops around each gift.
Everything else looks correct.
0
Categories
- All Categories
- 6 Blackbaud Community Help
- 206 bbcon®
- 1.4K Blackbaud Altru®
- 394 Blackbaud Award Management™ and Blackbaud Stewardship Management™
- 1.1K Blackbaud CRM™ and Blackbaud Internet Solutions™
- 15 donorCentrics®
- 357 Blackbaud eTapestry®
- 2.5K Blackbaud Financial Edge NXT®
- 646 Blackbaud Grantmaking™
- 561 Blackbaud Education Management Solutions for Higher Education
- 3.2K Blackbaud Education Management Solutions for K-12 Schools
- 934 Blackbaud Luminate Online® and Blackbaud TeamRaiser®
- 84 JustGiving® from Blackbaud®
- 6.4K Blackbaud Raiser's Edge NXT®
- 3.6K SKY Developer
- 242 ResearchPoint™
- 117 Blackbaud Tuition Management™
- 165 Organizational Best Practices
- 238 The Tap (Just for Fun)
- 33 Blackbaud Community Challenges
- 28 PowerUp Challenges
- 3 (Open) Raiser's Edge NXT PowerUp Challenge: Product Update Briefing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports+
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Email Marketing
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Gift Management
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Event Management
- 3 (Closed) Raiser's Edge NXT PowerUp Challenge: Home Page
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Standard Reports
- 4 (Closed) Raiser's Edge NXT PowerUp Challenge: Query
- 778 Community News
- 2.9K Jobs Board
- 53 Blackbaud SKY® Reporting Announcements
- 47 Blackbaud CRM Higher Ed Product Advisory Group (HE PAG)
- 19 Blackbaud CRM Product Advisory Group (BBCRM PAG)


