Cheat Sheets/Power Automate/string
Power Automate (WDL) function

stringPower Automate (WDL) function reference

Convert to text.

Syntax

wdl
string(value)

Examples

wdl
string(variables('count'))
"42"
wdl
concat('Total: ', string(variables('orderTotal')))
"Total: 199.5"

Useful for logging a payload into a Compose action.

wdl
string(triggerBody())
A compact JSON string of the whole trigger body

Common mistakes & gotchas

Related Workflow Definition Language functions

From Type conversion

Used in these tutorials

← Back to the Power Automate (WDL) cheat sheet