> For the complete documentation index, see [llms.txt](https://docs.rewst.help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rewst.help/documentation/crates/existing-crate-documentation/rewst-examples-jinja-comprehension-crate.md).

# Rewst Examples: Jinja Comprehension Crate

{% hint style="info" %}
If you’re new to Crates, read through our introductory Crate documentation [here](https://docs.rewst.help/prebuilt-automations/crates). Find the Crate in our Crate Marketplace.
{% endhint %}

## What does the Rewst Examples: Jinja Comprehension Crate do?

This Crate offers a collection of common Jinja examples, all consolidated into a single workflow. Each example is fully functional and ready to be incorporated into your own workflows.

* Demystify how Rewst support uses Jinja in its workflows
* Provide a handy resource for both novice and experienced users in your MSP
* Accelerate workflow development by offering ready-to-use Jinja examples

## Unpack the Rewst Examples: Jinja Comprehension Crate

1. Navigate to **Marketplace > Crates** in the left side menu of the Rewst platform.
2. Search for `Rewst Examples: Jinja Comprehension`**.**\
   \
   ![](https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FQl5qoMk69oqdWGfY9cR4%2Fimage.png?alt=media\&token=0d281115-d5a7-4f84-b816-238f8a5edede)
3. Click on the Crate tile to begin unpacking.
4. Click **Continue**.
5. Click **Unpack**.

### Use the Crate

1. Navigate to **Automations > Workflows** in the left side menu of your Rewst platform.
2. Search for `[ROC] Rewst Example: Common Jinja`.
3. Click on the workflow to open it in the Workflow Builder.<br>

   <figure><img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FoHTpNDXg4zf6v8ILvB79%2FScreenshot%202026-04-15%20at%205.44.36%E2%80%AFPM.png?alt=media&amp;token=94d7d14c-905f-4445-aac1-a22800bf5707" alt=""><figcaption></figcaption></figure>
4. Click on any of the condition diamonds below the Jinja task to view its information in the right side menu.
5. To view the rendered Jinja:
   1. Click **Run.**
   2. Click **Run Test**.
   3. Allow the workflow to complete.
   4. Click ![](https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FHc4NQ0tfvkneS3g4pRrl%2FScreenshot%202026-04-15%20at%204.43.48%E2%80%AFPM.png?alt=media\&token=30a6aa4f-be88-4b2e-ab1e-72da00ef39bb) **> Execution History**.
   5. Click **View Results**.
   6. Click on each of the numbered sets in the **{}** brackets.
   7. Click each **...** in every set of brackets to expand and view the Jinja.
6. Click **Test** and execute the workflow. This will execute all the tasks on your canvas and display a confirmation message at the top of your screen.
7. Click **View Results** <img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FXUJuQe7jWFI6ZSwgyACn%2FScreenshot%202025-08-15%20at%2010.31.06%E2%80%AFAM.png?alt=media&amp;token=5f9bf7fd-3b3a-4954-a830-908c438ef550" alt="" data-size="line"> to launch the results in a new tab of your browser.
8. Click **Load Context**.
9. Click on each of the numbered sets in the **{}** brackets.
10. Click each **...** in every set of brackets to expand and view the Jinja.
11. Click **Test** and execute the workflow. This will execute all the tasks on your canvas and display a confirmation message at the top of your screen.
12. Click **View Results** <img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FXUJuQe7jWFI6ZSwgyACn%2FScreenshot%202025-08-15%20at%2010.31.06%E2%80%AFAM.png?alt=media&amp;token=5f9bf7fd-3b3a-4954-a830-908c438ef550" alt="" data-size="line"> to launch the results in a new tab of your browser.
13. Click on each of the numbered sets in the **{}** brackets.

<figure><img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FIEnKuVWs85bH7ydWyzjE%2Fjinja%20examples%20context%20gif.gif?alt=media&amp;token=8384530f-50c7-427a-831d-a8b16527008d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Got an idea for a new Crate? Rewst is constantly adding new Crates to our Crate Marketplace. Submit your idea or upvote existing ideas here in our [Canny feedback collector](https://rewst.canny.io/crates).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.rewst.help/documentation/crates/existing-crate-documentation/rewst-examples-jinja-comprehension-crate.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
