Hi,
I have a flow that uses the action ‘initiate variable’ with the type as string and value as a custom HTML for the body of an email. Then inside ‘send email v2’ in the body box, I have a tag that points to the variable and displays the custom HTML code when the email is sent. - this works really well.
However, in another flow, when trying to replicate the same flow, I hit an error because I cannot use the ‘initiate variable’ because there is a series of actions within an ‘apply to all’ action. As the command for a variable has to be top level, this means I cannot use dynamic content which is taken from within the apply to all action.
What I am trying to achieve is to have html code, with dynamic content (form responses) within it. The standard text editor inside the send email v2 does not like html tags with designs in it, even when switching to code view. I would appreciate any help on this topic.
Images below are from my flow that works correctly.