Sorry if this has been convered, I've been reading about nested loops but this is one step before that.
My flow is sending SMS messages.
Basically my trigger action is "When an email arrives into a shared mailbox". The user types the phone number into the outlook subject box and from there it carries out the action. This works.
However, I want to allow users to send multiple SMS. so the string would go from something like 07713245678 (one individual number) to: -
07712345678;07798778485;07945645622 with a semi colon between each.
So I would need something to iterate through the string and then perform the remaining actions for each result (which I assume would be the "For Each" action).
Any help would be grateful.
Solved! Go to Solution.
Use a compose action with the following expression
This will give you an array
The run a for loop with output from the compose action
and within loop use expression item() to get the individual elements in the array
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Three Super User rank tiers have been launched!
Features releasing from October 2020 through March 2021
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!