With help, I have been trying to build a Flow which can email up to 10000 people.
My current excel table list is 6600 lines long.
I discovered that the email connector is restricted to 256 emails so to get around this I have tried to build a flow which emails the first 256 people in my excel table and then loops back, selects the next 256 lines in my excel table and emails them and so on.
Currently my flow keeps emailing the first 256 people then loops back and emails the same first 256 people again.
Could someone please have a look at it below and see what might be causing my issue:
My compose formula is:
Solved! Go to Solution.
Helped someone with this before, i cannot remember the title of the topic though.
What the solution ended up being is that it would email 256 at a time, keeping a counter and then selecting the next 256 from the excel spreadsheet each time.
You are probally better off getting a dedicated mailer like mailchimp though
Yep you helped me build this, but sadly it's not working as we hoped. I finally had a chance to test it and it just keeps circling around and emails the first 256 on my list again. Can you see anything which would be causing it to not work properly?
Sadly my institution is very restrictive on what software/programs we are allowed to use so mailchimp is likely out
Yes i can see your flow will only ever email the first 256 as configured.
You are missing a action.
on your screenshot click the last "add a action" i.e. in the do until loop. Add another List rows action the same as the first one. But include the SkipCount variable you have defined.
I have a workaround maybe could help you something.
You can backup the excel table, then create an Apply to each action to send the first 256 emails. After sending emails to delete these 256 emails, then List rows of the excel file, if there still have emails in the excel file send the next 256 emails, repeat it until the return value of List rows of the excel file is equal to 0.
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks once again for all you help.
Sadly, it's still not working.
I've added the List rows present in table and put the Skipcount variable in the Skip count field and it still repeats the top 256 rows
I also tried moving it up a level where I has the option to put the 'outputs' variable instead however once again it repeated the first 265 emails.
Sorry i messed up.
Delete that excel action.
Move the original excel action in between the two loops just above the apply to each and make sure skipcount is set.
I think the Compose and Set Variable should be after the apply to each loop.
As the logic is:
1) get 256 rows
2) for each row if condition - send email
3) update skipcount
With them inside it will update each time each row is processed so may cause a issue.
Awesome, it worked! It did give out after 3070 emails pretty close to an hour mark. Not sure what might have caused it to do that and will need to investigate when I need to send out reminder emails. However, that is better than before and it definitely was looking through my list.
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!