Copilot Thinking Text Block

Generate dynamic text using Jinja templating

The Copilot Thinking Text block is designed to generate dynamic text within your workflow by leveraging Jinja templating. This block enables the creation of customized text outputs that are context-aware and adaptable to the current state of the workflow.

Configuration (Required)

Text
codeRequired

A text template that uses Jinja syntax to dynamically generate content based on the current state.

See Workflow Logic & State > State Management for details on using dynamic variables in this block.

Outputs

The block outputs the generated text after processing the Jinja template with the workflow state. The response format is a string.

Usage Context

Use this block to create dynamic and context-aware text outputs in your workflow. It is particularly useful when you need to incorporate variable data into text templates.

Best Practices

  • Ensure the Jinja template syntax is correct to avoid rendering errors.
  • Use available state variables to enrich the template with dynamic content.
  • Handle exceptions that may arise from incorrect template rendering.
Built with