Skip to main content

YAML

YAML Plugin​

Summary (SEO Meta Description):
The YAML plugin in WeHub allows workflows to parse YAML into structured data and produce YAML from objects.
Supports schema validation and field truncation for reliable data handling.


Overview​

The YAML Plugin is used to handle YAML (YAML Ain’t Markup Language) within workflows.
It provides two key actions:

  1. Parse YAML – Convert YAML input into structured JSON-like data for further processing.
  2. Produce YAML – Transform workflow data into YAML output format.

This is particularly useful for configuration-driven workflows, DevOps pipelines, and interoperability with systems that use YAML as their primary configuration or data format.


⚙️ Shared Configuration Options​

FieldTypeDescription
LabelStringCustom name for the action (e.g., "Parse Patient Config").
SchemaSchemaSelect schema to validate or structure the parsed/produced data.
Truncate FieldsToggleOption to truncate data fields to prevent oversized outputs.

💡 Example Use Cases​

  • Configuration Parsing: Read YAML-based configuration files into workflows.
  • DevOps Integration: Convert pipeline definitions or Kubernetes manifests.
  • Interoperability: Accept YAML input from external systems and convert it into structured data.
  • Data Export: Produce YAML output for systems requiring YAML configs instead of JSON.

FAQ​

Q: Can I use YAML plugin to validate against schemas?
A: Yes, you can select a schema during parsing/producing for validation.

Q: Does it support nested YAML structures?
A: Yes, it supports full YAML hierarchy including nested objects and arrays.

Q: What happens when truncation is enabled?
A: Large fields exceeding the truncation level are shortened to prevent oversized payloads.


Keywords: WeHub YAML Plugin, Parse YAML, Produce YAML, YAML workflow automation, YAML schema validation