--- title: "Import and Export Automations" slug: "import-and-export-automations" updated: 2026-09-09T16:09:35Z published: 2026-09-09T16:09:35Z canonical: "docs.redcanary.com/import-and-export-automations" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.redcanary.com/llms.txt > Use this file to discover all available pages before exploring further. # Import and Export Automations The **Import and Export Automations** feature in Zscaler MDR allows you to extract existing automation configurations from a specific subdomain, save them in a YAML file, and transfer to another subdomain. This eliminates the need for manual setup of triggers and playbooks, allowing you to easily scale your automation. ## **Exporting Automations** > [!NOTE] > Note > > This feature has the following limitations: > > - Only active triggers and playbooks are included in the export. > - Playbooks are only included if they’re linked to an active trigger. > - Playbooks managed by Zscaler MDR, such as those utilized by the Active Remediation team, are excluded even if they’re active. To export the automation: 1. In your Zscaler MDR portal, navigate to the **Automation** page. 2. Click **Export Automation**. The YAML file will be emailed to the email address associated with your Zscaler MDR user account. ![](https://cdn.document360.io/75147bee-bf0d-444c-8afb-6e83b11ec0ef/Images/Documentation/importexportautomations-1_01.png?sv=2026-02-06&spr=https&st=2026-11-09T12%3A08%3A04Z&se=2026-11-09T13%3A08%3A04Z&sr=c&sp=r&sig=X%2FCMszLOUNuDXHq%2FYWOMNYCBDE3VO3CMSEY7n%2Fs9Uos%3D) ## **Importing Automations** > [!NOTE] > Note > > - Before importing, we recommend reviewing the contents of the YAML file to avoid errors or overwriting unintended automation rules. > - Zscaler MDR will not recognize duplicative automations. If you happen to upload the same automation twice, the automation will be duplicated. This won’t cause any issues from a technical perspective, but it will potentially create clutter that’ll need to be cleaned up. To import the automation: 1. Download the YAML file Zscaler MDR sent to the email associated with your account. 2. In your Zscaler MDR portal, navigate to the desired subdomain. 3. Click **Import Automation**. 4. (Optional) Click the checkbox **Deactivate all existing automations before importing**. If you don’t enable this option, existing automations in the subdomain will remain untouched and will coexist with the imported automations. 5. Upload the YAML file and click **Save**. ![](https://cdn.document360.io/75147bee-bf0d-444c-8afb-6e83b11ec0ef/Images/Documentation/importexportautomation-2_01.png?sv=2026-02-06&spr=https&st=2026-11-09T12%3A08%3A04Z&se=2026-11-09T13%3A08%3A04Z&sr=c&sp=r&sig=X%2FCMszLOUNuDXHq%2FYWOMNYCBDE3VO3CMSEY7n%2Fs9Uos%3D) Zscaler MDR will send a confirmation email that contains: - A status update (successful or unsuccessful). - A detailed count of how many records were successfully imported. - Basic troubleshooting information (if the import fails). If the import failed, review the error messages in the email notification for hints, then validate the YAML file formatting and structure against Zscaler MDR’s specifications. ## YAML File Schema The automation import/export YAML file uses the following schema: ```Custom --- triggers: - name: string  trigger: string  sort_order: integer # optional  trigger_type: string  playbooks:  - integer # can be multiple  conditions:  - model: string    attribute_name: string    matcher: string    value: string    nested_attribute: string # optional playbooks: - id: integer  name: string  description: string # optional  actions: # can be multiple  - type: string    row_order: integer # optional    data: hash    secure_data: hash # optional    async: boolean    resource_type: string # optional    resource_id: integer # optional    should_run_if_playbook_successful: boolean ``` ## FAQ --- ### #### Can I re-import the same YAML file across multiple subdomains? Yes, the YAML file isn’t subdomain-specific and so can be uploaded into more than one subdomain. #### What happens if I don’t check the "deactivate existing automation" option during import? Your existing automation settings will remain untouched and the imported automations will be imported alongside them. #### Will the system validate the YAML file before import? Yes, the portal validates the YAML file upon upload and warns you if the contents are improperly formatted.