Using the Template Assistant
1
Find the Template Assistant

You'll find the Template Assistant in the top-right corner of the Template Engine function.
2
Tell the Assistant about the template you're trying to build
The Template Assistant has access to context from your logic (as long as you’ve run it at least once this session), so you can insert your variables, as well as inputs and environment variables, from the panel below the editor. The Assistant can help you build HTML, JSON, XML, markdown, and more, all with dynamic data from the rest of your logic.