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

# JTL Wawi Shipping Flow

> Chatarmin guide: JTL Wawi Shipping Flow

# Create Shipping Flow

First of all, create a Flow in Chatarmin with:

1. POST Request as the Trigger
2. Create a Template with your Text & add a Website CTA Button. (URL is doesn't matter since it gets overwritten in the Flow. So you can just do something like `` https://your-website.com` ``)

## POST Request Trigger

1. Choose the trigger

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8ba2-752d-9647-d3d5e21fbaaa.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=ff54959ba4b06d27700498590d5fa36a" alt="Chatarmin help center image" width="712" height="408" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8ba2-752d-9647-d3d5e21fbaaa.png" />

2. Set the Payload Body:

```
&#123; 
  "trackingUrl": "", 
  "trackingId": "" 
&#125;
```

like so:

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8b93-70df-813f-75847d5b3342.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=9dc26cb54690b3a96df449b339ae856a" alt="Chatarmin help center image" width="1500" height="802" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8b93-70df-813f-75847d5b3342.png" />

## Create Template

Add a Template [here](https://chatarmin.com/dashboard/templates/add) with the following:

1. Template Category -> Utility
2. Template Type -> Normal
3. Body Text -> For Example:

   ```
   Hallo #&#123;&#123;1&#125;&#125;,

   dein Paket ist auf dem Weg! 📦 Deine Tracking-ID lautet: #&#123;&#123;2&#125;&#125;

   Verfolge die Reise deiner Blumen indem du unten auf den Link klickst 👇

   Herzliche Grüße,
   dein Team von XXXXX
   ```
4. Add Website CTA Button (Website URL doesn't matter as long as its valid. It will be overwritten in the Flow by the Tracking URL anyways):

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8b89-7180-a9e6-e8bf8e0a4166.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=25d89323f20c9c854a94e2f693f8082c" alt="Chatarmin help center image" width="781" height="241" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8b89-7180-a9e6-e8bf8e0a4166.png" />

Now use that **Template** in the Flow, with **Send Campaign** & set the correct **Variables:**

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8b9d-74a8-90a0-ee6143c7a7a9.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=99a961519d0108cc6a43c25e3dc4c635" alt="Chatarmin help center image" width="1027" height="671" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8b9d-74a8-90a0-ee6143c7a7a9.png" />

# Setting up JTL Workflow

Open JTL Wawi and navigate to the JTL Workflows:

Navigate to JTL-Workflows

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bea-7316-a4db-64000d396b5d.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=73fafc12f4c660c7d7699b6ed1361234" alt="Chatarmin help center image" width="1322" height="778" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bea-7316-a4db-64000d396b5d.png" />

Then go to "Versand"

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bd4-7527-8936-68d707335ffd.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=28fed44c93ca97baa5109b8aa724ecbe" alt="Chatarmin help center image" width="1322" height="778" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bd4-7527-8936-68d707335ffd.png" />

Create a new Workflow

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8be6-7422-88a0-398e214cb6fa.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=9f24d1a415e9dd3d7877070ab90814d6" alt="Chatarmin help center image" width="1322" height="778" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8be6-7422-88a0-398e214cb6fa.png" />

Add your Condition & make the "**Action**" a "**Web-Request**"

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bd8-7179-ac18-f46f7cb074e9.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=26a75c7c50c5124b4a9d988f8bda1264" alt="Chatarmin help center image" width="1322" height="778" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bd8-7179-ac18-f46f7cb074e9.png" />

Now set the URL of the JTL Action, to the URL from the Chatarmin Flow-Trigger:

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8be2-702e-84d3-804d1a9b8e09.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=ccd704665ef53e9b2fff759520c4dd2e" alt="Chatarmin help center image" width="1322" height="778" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8be2-702e-84d3-804d1a9b8e09.png" />

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bd0-738a-96f6-b09b6eec9d57.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=30618ee47913be533f5c92fa27406bd9" alt="Chatarmin help center image" width="1322" height="778" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bd0-738a-96f6-b09b6eec9d57.png" />

Now the same for "Headers":

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bdb-73c3-9892-ac6e0bf8215f.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=4245329b9e7393f6f82bb9ee856f0e58" alt="Chatarmin help center image" width="1322" height="778" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bdb-73c3-9892-ac6e0bf8215f.png" />

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bce-70df-96fe-5fad3d193b39.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=89f9dba83ba1647af26c3e402820e063" alt="Chatarmin help center image" width="1322" height="778" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bce-70df-96fe-5fad3d193b39.png" />

Now also make sure to set the "Body" of the JTL-Request:

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8be0-744b-b144-63cf6317544c.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=097570ac86a720c7a924a6e054eb9638" alt="Chatarmin help center image" width="1322" height="778" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8be0-744b-b144-63cf6317544c.png" />

<img src="https://mintcdn.com/chatarmin-help-center/yJKti8NZk29URleB/images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bdd-7132-a22a-b087ac94baa3.png?fit=max&auto=format&n=yJKti8NZk29URleB&q=85&s=337e2fffd598c3ddf7632f00cdb10a81" alt="Chatarmin help center image" width="1322" height="778" data-path="images/6c693623-56e8-48a2-a9fc-b71f767bf971/019b9c80-8bdd-7132-a22a-b087ac94baa3.png" />

This is the Body you can paste in there:

```
&#123;
"firstname":"#&#123;&#123;Vorgang.Auftrag.Kunde.Vorname&#125;&#125;",
"lastname":"#&#123;&#123;Vorgang.Auftrag.Kunde.Name&#125;&#125;",
"trackingId":"#&#123;&#123;Vorgang.Pakete.ErstesObjekt.TrackingID&#125;&#125;",
"trackingUrl":"#&#123;&#123;Vorgang.Pakete.ErstesObjekt.TrackingURL&#125;&#125;",
"email":"#&#123;&#123;Vorgang.Lieferscheine.ErstesObjekt.Auftrag.Lieferadresse.EMail&#125;&#125;",
"phone":"#&#123;&#123;Vorgang.Lieferscheine.ErstesObjekt.Auftrag.Lieferadresse.Telefon&#125;&#125;"
&#125;
```

Double-check that the Variables in this Body are accessed correctly for your JTL-Version

Once you have that, you can publish the JTL Workflow and you will see enrollments in the Chatarmin Flow!
