# Template Node

### What is a Template Node?

A Template Node allows user to control how information is presented before it is shown to a user or sent somewhere else (such as email, report, or message). Instead of passing raw or unstructured data that comes from any node, users can turn it into something standardized or readable to their liking.

<figure><img src="https://3697023207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFSlso1Kjob5CLDrh0dVn%2Fuploads%2FFXoIsfl0G6cTwLY4cTKY%2Fimage.png?alt=media&#x26;token=bf8f90f3-7591-4291-aafc-13a3275fc13d" alt=""><figcaption></figcaption></figure>

This node is typically connected to upstream nodes that supply data, enables users to format that data in a preferred structure, and passes the formatted output to downstream nodes that rely on it.

<figure><img src="https://3697023207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFSlso1Kjob5CLDrh0dVn%2Fuploads%2F5JlUYi9QToRlh0fabOTh%2Fimage.png?alt=media&#x26;token=9ab96e05-072f-4341-998a-ec28b2059873" alt=""><figcaption></figcaption></figure>

Typically, this node is further connected to nodes that display or send information, such as:

* an [Output node](https://docs.stackai.com/workflow-builder/outputs/output-node) (showing results to the user), or
* some Send Email node, such as [Gmail](https://docs.stackai.com/workflow-builder/apps/gmail) node (sending formatted content via email), or
* some Send Message node, such as [Teams](https://docs.stackai.com/interface-and-deployment/end-user-interfaces/microsoft-teams) node (sending formatted messages via some messaging app), etc.

The benefits of the Template Node is that it facilitates:

* formatting output from any node before sending it onward
* reusing information from across the workflow, and combining them

  <figure><img src="https://3697023207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFSlso1Kjob5CLDrh0dVn%2Fuploads%2FA4zeJuBG6rmcTEyIdAwW%2Fimage.png?alt=media&#x26;token=a92d8883-975c-486e-9ab8-1ef9bd1d8c77" alt=""><figcaption></figcaption></figure>
* using existing, standardized templates by uploading them directly to the workflow<img src="https://3697023207-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFSlso1Kjob5CLDrh0dVn%2Fuploads%2F3BCu7ASRhRPToVtmwKB4%2Fimage.png?alt=media&#x26;token=23081c35-ee1b-4107-9c60-b1c33a7ea031" alt="" data-size="original">


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stackai.com/workflow-builder/outputs/template-node.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
