Skip to main content

Template

The Template activity accepts user input using Nunjucks templates and renders the content accordingly. It processes the templates and returns the rendered output, enabling dynamic content generation.

This activity can be used for Nunjucks rendering, allowing you to inject variables, loops, and conditions into text or structured data. It's commonly used to generate dynamic email bodies, message contents, or formatted API payloads based on workflow data.

The Template activity accepts a single template value as input, which is rendered using the data available in the workflow context (such as payloads, results from previous activities, or global variables).