# Transfer Automations

Install the Deploy add-on on both the source and target environments. You can then transfer automations, workspaces, workspace groups, and connection definitions using the standard Umbraco Deploy tooling.

## What Transfers

| Entity              | Transfers?            | Notes                                                                                                                                                           |
| ------------------- | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Workspace Group** | Yes                   | Folders that hold workspaces.                                                                                                                                   |
| **Workspace**       | Yes                   | Includes service account reference but not member assignments.                                                                                                  |
| **Automation**      | Yes                   | The published version of the automation, with all triggers, actions, and bindings.                                                                              |
| **Connection**      | Yes (definition only) | The connection record is created on the target environment. Encrypted credential values are skipped by default — re-authenticate or fill them in on the target. |
| **Run history**     | No                    | Run records are environment-specific and never transfer.                                                                                                        |

## How Connections Are Handled

Steps in an automation reference connections by ID. During Deploy export, IDs are swapped to aliases. During import, aliases are resolved back to IDs in the target environment. This means:

* If the connection exists in the target environment with the same alias, the import succeeds.
* If the connection is missing, the import fails with a clear error rather than waiting until runtime.
* Sensitive values (anything prefixed with `ENC:`) are not transferred by default. You re-authenticate or re-enter the credential on the target.

See [Installation](/umbraco-automate/add-ons/deploy/installation.md) for the configuration that controls this behaviour.

## Validation

When an automation is transferred, the Deploy connector validates that every connection type referenced by the automation is registered in the target environment. If a required add-on package is not installed on the target, the import fails with a message that names the missing package.

## See Also

* [Connections](/umbraco-automate/concepts/connections.md)
* [Versioning](/umbraco-automate/concepts/versioning.md)


---

# 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.umbraco.com/umbraco-automate/add-ons/deploy/transferring-automations.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.
