Skip to main content
Converts the context data into a YAML string. Use this when a target system or file expects YAML, a plain-text format that is easy for both people and machines to read. It takes the structured data you have built up in your flow and writes it out as indented YAML text. There is nothing to configure: the output uses standard indentation and keeps nested data readable.

Sample data

Input:
{
    "id": 1024,
    "customer": "Maria",
    "lines": ["Wool scarf", "Leather belt"]
}
Output:
id: 1024
customer: Maria
lines:
    - 'Wool scarf'
    - 'Leather belt'