How to download and duplicate code journeys

Manish Manohar Updated by Manish Manohar

You can save any code journey as a markdown file, making it easy to reuse it later.

Let's look at the required steps.

Open the code you want to save as markdown. You need to make two updates to the URL in the browser:

  1. Add ?format=md at the end of the URL.
  2. Remove /app after https://whatsapp.turn.io

To illustrate, if this is the original URL:

https://whatsapp.turn.io/app/stacks/4a043386-cad4-4571-aa35-46f10007c0ac/4e980057-c34e-4d77-94be

Change it to

https://whatsapp.turn.io/stacks/4a043386-cad4-4571-aa35-46f10007c0ac/4e980057-c34e-4d77-94be-7e1194e737er?format=md

After you done the above changes in the URL, hit enter and you will get a Markdown file of the journey downloaded to your computer. You can now use this file wherever you need it.

Duplicating Code Journeys

In order to duplicate a journey, we can use the markdown that we downloaded in the previous step and have it duplicated on Turn.io.

In order to do this,

  1. open the markdown file and copy the entire file contents (or simply open the Markdown URL and copy all of the text from the site without downloading a file).
  2. Then, create a new code journey and delete all of the existing blocks.
  3. Create a new markdown block and paste the entire journey contents. Then hit save.
  4. Your journey is duplicated! Keep in mind that if you are duplicating journeys across numbers, any UUIDs that are referred to will need to be changed

Was this article helpful?

Build chat journeys specific to your audience

Where do I find code journey documentation?

Contact