---
title: "Outputs Tab | ThreatConnect"
slug: "outputs-tab"
description: "This article describes the Outputs tab of the App Builder screen, including how to create and manage output variables in an App project."
tags: ["Orchestration and Automation", "Developer Tools"]
updated: 2023-07-26T13:30:18Z
published: 2023-07-26T13:30:18Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.threatconnect.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Outputs Tab

The **Outputs**tab is where you can determine and manage an App’s output variables (Figure 1).

![](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%201_Ouputs%20Tab_7.2.0.png)

NoteYou can drag and drop this tab into a different area of the [**App Builder** screen](/v1/docs/the-app-builder-screen), if desired.

## Creating Output Variables

To create a new output variable, click the **+ NEW OUTPUT**button on the **Outputs**tab. The **Create Output**window will be displayed (Figure 2).

![Graphical user interface, text, application, email Description automatically generated](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%202_Ouputs%20Tab_7.2.0.png)

- **Name**: Enter a name for the output variable.
- **Type**: Select one or more variable types from the multi-select dropdown menu.
- **Encrypt**: Select the checkbox to redact the output variable from the execution logs of a Playbook containing the App when the Playbook’s log level is set to **DEBUG**or **TRACE**.NoteThe App Developer is responsible for deciding whether to print the output variable in the execution logs for the Playbook containing the App.
- Click the **SAVE**button to save the variable.

The variable will be displayed on the **Outputs**tab, along with letter representations of the data types it can be output as (Figure 3).

![Graphical user interface, text, application Description automatically generated](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%203_Ouputs%20Tab_7.2.0.png)

Hovering over one of the data types will display the **Insert Code****![Icon Description automatically generated](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Insert%20Code%20icon_App%20Builder.png)**icon for that data type. To insert the variable for that data type into the [**Code Editor**](/v1/docs/code-editor), position the cursor in the desired location in the **Code Editor******and click **Insert Code![Icon Description automatically generated](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Insert%20Code%20icon_App%20Builder.png)**. For example, in Figure 4, the sample variable was inserted on line 24.

ImportantThe **Insert Code![](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Insert%20Code%20icon_App%20Builder.png)**functionality employs [snippets](https://knowledge.threatconnect.com/docs/snippets-tab) to place output variables into the **Code Editor**. Because snippets are available only to Apps that use TcEx 4.0.x, the **Insert Code**![](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Insert%20Code%20icon_App%20Builder.png)icon will not be displayed when you hover over an output variable when working with Apps that use a TcEx version older than 4.0.x. In this scenario, you must manually write the code that references the output variable in the **Code Editor** in order to use the variable in the App. To determine an App's TcEx version, refer to the App's **requirements.txt** file located in the **[](https://knowledge.threatconnect.com/docs/contents-tab)**[](https://knowledge.threatconnect.com/docs/contents-tab)[**Contents**tab](https://knowledge.threatconnect.com/docs/contents-tab)[](https://knowledge.threatconnect.com/docs/contents-tab)**[](https://knowledge.threatconnect.com/docs/contents-tab)**.NoteYou can use your browser’s “undo” function (e.g., Command-Z) to remove a variable that was erroneously inserted.

![Graphical user interface, text, application Description automatically generated](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%204_Ouputs%20Tab_7.2.0.png)

## Managing Output Variables

Click the vertical ellipsis![](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Vertical%20ellipsis_Black.png)to the right of the variable name to access options for editing or deleting the variable.

### Editing Output Variables

Select **Edit**to edit the variable. The **Edit Output**window will be displayed (Figure 5).

![Graphical user interface, text, application, email Description automatically generated](https://cdn.document360.io/dfc206c8-1c9f-4725-b74d-a66f83432320/Images/Documentation/Figure%205_Ouputs%20Tab_7.2.0.png)

- Make any desired changes to the variable.
- Click the **SAVE**button.

### Deleting Output Variables

Select **Delete**to delete the variable. The variable will be deleted immediately, with no window or message displayed to ask for confirmation first.

NoteIf code for an output variable has been inserted into the **Code Editor** and then the variable is deleted, the inserted code will remain. It will not be automatically deleted with the variable.

---

*ThreatConnect® is a registered trademark of ThreatConnect, Inc.*

20084-11 v.07.B
