I am attempting to build a workflow based off of a SharePoint Online list. The list should be set up to take email addresses outside our domain and the workflow should send to those emails. I am guessing that the best way to do this would be with a repeating section, but I really have no clue. The workflow as it currently is works to send to domain email addresses just fine, I just want to be able to copy outside people. Can someone point me in the right direction?
Just do a loop for each action on the repeating section and add a send an email action in the loop for each email address.
Or if one email to everyone is required add a text stringaction in the loop (add semicolon seperating each email address) with output pointing to text variable then add a send an email action after the loop action and plug text variable into the recipients configuration field.
But since you ask something “to get started”, here is the example.
Here is the import key for this little workflow: jtZ4G1ccgToXobKPqgDTQEii2GSq6VsTscQJdsXfTGq2AWLCL
name is Test WT 17-3
Hope it helps.
That worked! Thank you both so much!
Hi
Both
Here is another possible solution If you just wanted to build a single string where you append each email address using just the FORM.
The Email is generated in the Form Rule
Check whether there is any value(s) in the “RS Email” Repeating Section
- Assign the “Email List” field the value of the hRS Email]. Email Address] collection.
- Use the convertToString function to convert the collection type into a string type
- Use the replace function to replace the collection separator comma “,” into a semicolon “;”
The JSON form is attached.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.