# The Live Editor

## What is the Live Editor?

Rewst's *Live Editor* is an interactive environment in the Rewst platform where you can test and debug workflows, Jinja, PowerShell, and variables in real time. Instead of building blindly and hoping it works later, check your code and see if it delivers your desired result.&#x20;

* Run individual steps or entire branches of a workflow and see how things behave.&#x20;
* Inspect the actual data moving through a workflow, including step outputs, parsed inputs, and runtime values.
* Test your Jinja expressions directly on real data without deploying the full workflow.

## Use the Live Editor in Rewst

Access the Live Editor by navigating to **Automations > Live Editor** in the left side menu of your Rewst platform.

<figure><img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FsmH6GPjKfxh2SzLFbJVq%2FScreenshot%202026-03-05%20at%204.10.41%E2%80%AFPM.png?alt=media&#x26;token=9c37a469-17dd-4bfa-b43f-96891f430184" alt="Screenshot of the Templates list view in the Rewst Automations section, showing a dark-themed interface with a left navigation menu, a top search bar and Create Template button, and a table of templates with names, descriptions, dates, attributes, and action icons.  Alt text: Screenshot of the Live Editor in the Rewst Automations section, showing a dark-themed interface with a left navigation menu and three side-by-side panels for Context, Editor (with a “Hello World” example), and Result for testing and rendering code output."><figcaption></figcaption></figure>

Switch between the two available languages in the editor by clicking the switch button in the top right of your **Editor** panel. The name of the language currently in use for the editor will display in blue on the button.

<figure><img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FW72jOf6PYlYegkrgb8nJ%2FScreenshot%202025-04-17%20at%2011.04.07%E2%80%AFAM.png?alt=media&#x26;token=bbc0e942-3839-44e6-a887-2781b1408977" alt=""><figcaption></figcaption></figure>

Click **Render** to display your code's result in the **Result** pane.

Click **Share** to create a link to share your context and code in the editor, to be opened by another individual later. This is particularly helpful for sending to coworkers or Rewst support staff.&#x20;

<figure><img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FeXs5xLbxIMoMQDEGqOs8%2FScreenshot%202025-04-17%20at%2011.06.02%E2%80%AFAM.png?alt=media&#x26;token=36b3e0d9-7525-4960-9326-5a53dc01e506" alt=""><figcaption></figcaption></figure>

## Live Editor shortcuts

* Access the Live Editor in other menus in Rewst, in any fields where you see the <img src="https://1835401289-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQQ1EHVcEsGKBPVHmiav%2Fuploads%2FjQhhVbtf5WyNQdnLLdJs%2Fjinja-burger.png?alt=media&#x26;token=61410863-a42c-467d-bbdc-fee5c705c278" alt="" data-size="line">button.&#x20;
* Press `F1` within the editor to see menu and shortcut options
* Press `Ctrl + Space` to get the initial root options
* Add `|` to the end of your variables to access [Jinja filters](https://docs.rewst.help/documentation/jinja/list-of-jinja-filters). e.g.: `{{ ORG.ATTRIBUTES.id|default('test default string') }}`&#x20;

{% hint style="info" %}
For more on how to use Jinja in Rewst, see our [Jinja documentation here](https://docs.rewst.help/documentation/jinja), and sign up for courses in [Cluck University](https://learn.rewst.io/).
{% endhint %}


---

# 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.rewst.help/documentation/automations/the-live-editor.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.
