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

# Import a journey

> Import a GBG Go journey from an exported JSON file to restore a backup or copy the journey to another environment or account.

You can create a journey by uploading a JSON file exported from GBG Go. GBG Go creates imported journeys as drafts, so you can review and edit them before you publish.

This guide shows you how to import a journey, what to check afterwards, and how to fix common import problems. To create an export file, see [Export a journey](https://docs.go.gbgplc.com/docs/go-v1/guides/product-guides/export-journey.md).

> [!NOTE]
>
> If the file contains modules or variants that your organisation isn't licensed for, then set up those parts again after the import.

## Before you begin

Ensure you have:

* Access to the GBG Go platform.
* Access to every module the journey uses in the environment you import it into.
* An [exported journey JSON file](https://docs.go.gbgplc.com/docs/go-v1/guides/product-guides/export-journey.md).

## When to import a journey

Import a journey when you want to:

* Move a journey between environments, for example from preview to production, or between organisations.
* Share a standard journey setup across teams or organisations.
* Restore an earlier version of a journey from a backup file.
* Duplicate a complex journey without rebuilding it.

## Import a journey from a file

To import a journey:

1. Log in to the GBG Go platform and open the Journey builder.
2. At the top of the page, click the **Create a new journey** list.
3. Select **Import a journey**.
4. Choose the JSON file you want to import.

   GBG Go creates the journey as a draft and opens it in the Journey builder.

## After you import

Before you publish the imported journey:

1. Check that every module and connection appears as you expect.
2. Check the settings of any module that GBG Go updated. If a module version in the file is no longer available, then GBG Go uses the latest version of that module.
3. Set up again any modules or variants that aren't licensed in this environment.
4. Re-enter any required credentials. The export file never contains them.
5. Test the journey.

## Troubleshooting

If the import doesn't work as you expect, then check the following:

* **Modules aren't available in this environment**: The file uses a module or variant that doesn't exist in the environment you're importing into. GBG Go doesn't create the journey. Check that the environment has every module the journey uses, or contact GBG support.
* **GBG Go can't check module compatibility**: A temporary service error stopped GBG Go from checking the journey's modules. GBG Go doesn't create the journey. Try the import again.
* **The journey has compilation errors**: GBG Go checks the journey before it creates it, and doesn't create a journey that has errors. This often happens when someone edits the file by hand. Export the journey again from its source, and import the new file without changing it.
* **The file isn't accepted**: GBG Go only accepts a valid JSON file that has a journey name and a flow. A journey can have up to 200 nodes and 500 connections.
* **Credentials are missing after the import**: The export file never contains credentials. For a variant that your organisation isn't licensed for, GBG Go imports the journey without that variant's credentials. Follow the steps in [After you import](#after-you-import).

## What's next?

When the imported journey is ready, publish it.

* **[Publish journeys](https://docs.go.gbgplc.com/docs/go-v1/platform/journey-builder/publish-journey.md)**: Deploy your journey to apply your changes.
* **[Restore journeys to a previous version](https://docs.go.gbgplc.com/docs/go-v1/guides/product-guides/restore-journey-version.md)**: Revert a published journey to an earlier version.
