
Announcements
I have created a flow where the answers from a form create an HTML file that is sent in an email. The problem is that the HTLM is vertical and not horizontal. This is how the flow looks like:
The result looks like this:
But I want it horizontal with two records per row, like this:
Namn: Thea
Personnummer: 00000
Mobilnummer: 05555
and so on....
How can I change this?
/Thea
An example using xPath
Select
From:
xpath(
xml(json( concat('{"Root":', outputs('Object'), '}'))),
'/Root/*'
)
Map Label:
xpath(item(), 'name(/*)')
Map Value:
first(xpath(item(), '/*/text()'))
Result table
If your labels contain characters that are not allowed in XML node names, they will be encoded.
To decode them check this post.