# Rule Export

You can export rules individually, an entire folder containing multiple rules, or export the entire space.

### **Method 1: Export from Rule List**

#### **For Individual Rules:**

1. Navigate to the **Rule List** section.
2. Right-click on the rule or click the **three dots** menu.
3. Select **Export.**
4. Choose your format: **JSON** or **XLSX** (if available for that rule type).
5. The file will be downloaded automatically.

<figure><img src="https://437457296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MN4F4-qybg8XDATvios%2Fuploads%2F5tkmOenV0aDwpLOdgTqp%2FScreenshot%202026-02-10%20at%209.15.35.png?alt=media&#x26;token=e089bb27-a37a-456e-a6c1-f6dcdeee3fb7" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
Flows can reference other rules via aliases. When exporting them individually, be aware that:

* The exported Flow will contain references to other rules by their aliases, **but not to the rules themselves**.
* If referenced rules are missing during import, the Flow may not work correctly.
  {% endhint %}

{% hint style="success" %}
Export Flow rules together with their dependencies in a folder, or export the entire space to ensure all referenced rules are included.
{% endhint %}

#### **For Entire Folders:**

1. Navigate to the **Rule List** section.
2. Right-click on the folder or click the **three dots** menu.
3. Select **Export Folder.**
4. All rules within the folder will be exported.

<figure><img src="https://437457296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MN4F4-qybg8XDATvios%2Fuploads%2Fj9zbGkjnHsBKBWUQC3SU%2FScreenshot%202026-02-10%20at%209.10.11.png?alt=media&#x26;token=4643de2b-62c8-4c2a-8cb5-c2fde9c3ae49" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
When exporting folders, all rules are exported in the JSON format.
{% endhint %}

#### **For Entire Space:**

1. Navigate to the **Rule List** section.
2. Click the **three dots** menu next to the **Create** button in the top right corner.
3. Select **Export Space.**
4. The export includes all rules, folders, and their structure.

<figure><img src="https://437457296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MN4F4-qybg8XDATvios%2Fuploads%2FMpVNF6S1jxXNyvUmgZff%2FScreenshot%202026-02-10%20at%209.42.17.png?alt=media&#x26;token=3f981da9-6f8f-460b-912e-597c018d4cce" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
When exporting space, all rules are exported in the JSON format.
{% endhint %}

### **Method 2: Export from the Rule Itself**

1. Open the rule you want to export.
2. Click the **three dots** in the top right corner to open **Rule Actions.**
3. Select **Export.**
4. Choose your format: **JSON** or **XLSX** (if available for that rule type).
5. The file will be downloaded automatically.

<figure><img src="https://437457296-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MN4F4-qybg8XDATvios%2Fuploads%2FG09f5HVqMC98RPqMQpH3%2FScreenshot%202026-02-10%20at%209.06.11.png?alt=media&#x26;token=b453886e-2f2e-4409-ac3e-77cb6ccd688a" alt=""><figcaption></figcaption></figure>
