Hello,
I’m using the “Send an Outlook email for each Microsoft Forms survey response” Flow template and I would like to convert the arrays sent in the form to bullets (unordered list).

For example, the form contents currently come through like this:
Name: ["Bill","Robert","Paul"]
And I’d like to convert to this:
Following a few examples on the Internet, I figured I’d take the following approach:
- Wrap the entire field name with <ul></ul> in my email source code (placing the output in-between)
- Next I would use string replacement to swap the brackets [] with <li>’s and remove the double quotes using the 3 Compose functions below:
The expression in Compose is: replace(body('When_a_new_response_is_submitted')?['r6944a0257ae344fc8c35bd2a7cf1363e'],'["','<li>')
The expression in Compose 2 is: replace(outputs('Compose'),'"]','</li>')
The expression in Compose 3 is: replace(outputs('Compose_2'),'","','</li><li>')
My first issue is I keep getting the error below (in two different browsers and clearing cache).
“The template validation failed: 'The action(s) 'When_a_new_response_is_submitted' referenced by 'inputs' in action 'Compose' are not defined in the template.'.”
My second question is, it this the best way to go about this? Is there a built-in method or more efficient method of doing this? Also, since I can’t get past the initial error, I’m not sure whether what I have will actually work so any thought/feedback anyone can provide would be helpful.
Thanks