template_field string required default: "template_body" Turns a [[field: description]] template string into an OpenAI JSON schema for collect_data.
Fills in a text template (like a pre-written message) with dynamic data from the customer or the flow.
You give it a base text with variables like Hello {{name}} and pass in memory or a data object. The node replaces the variables and returns the final text: Hello Juan.
Perfect for generating standardized messages before sending (e.g. order summaries, appointment confirmations or WhatsApp templates) without spending AI tokens.
| name | type |
|---|---|
template_body | string |
| name | type |
|---|---|
template_schema | object |
template_field_names | array |
field_count | number |
out — Output template_field string required default: "template_body" output_schema_field string required default: "template_schema" output_fields_field string required default: "template_field_names" schema_name string required default: "clinical_note" infer_types boolean required default: false inference_model string optional {
"template_field": "template_body",
"output_schema_field": "template_schema",
"output_fields_field": "template_field_names",
"schema_name": "clinical_note",
"infer_types": false
} template.parsed Template successfully parsed into JSON schema.
template.types_inferred Field types inferred via LLM.