# Workflows for Shipway

### Order Pickup Notifications

1. Click on Use beside the Order Delivered Workflow.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fivc36QA7ypxUabkqZL7K%2FShipway_workflow_order_delivered.png?alt=media&#x26;token=6c84f7d0-86cb-408e-986b-2a255e186d8c" alt=""><figcaption></figcaption></figure>

2. Click on **Pick Template** to open the template library for  you to select the template. &#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FjtsrSF4eXg8ZJX2wmugH%2FShipway_workflow_order_delivered_Pick_template.png?alt=media&#x26;token=27dca5a0-b1e5-48ec-bdf1-8b68345a4d15" alt=""><figcaption></figcaption></figure>

3. To choose the Template you would like to share with the customers when their order has been delivered click **Use** above the chosen template as shown in the picture below.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F3jDlP0J7gmwbiGwXwsA2%2FShipway_workflow_order_delivered_Pick_template_use.png?alt=media&#x26;token=1bec8b75-e87a-47c1-9cf0-d0ca70039b77" alt=""><figcaption></figcaption></figure>

4. Once you have selected the template, the next step is to map the variables in the templates and click on **Done**.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FU9Bqu96yzlyMJSmls0GE%2FShipway_workflow_order_delivered_mapping_variables.png?alt=media&#x26;token=42d1a871-2064-4f64-8928-9136f07d6a44" alt=""><figcaption></figcaption></figure>

5. Click on update workflow as the last step.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FuYrtbLPJNQOrgYgGlFba%2FShipway_workflow_order_delivered_update_workflow.png?alt=media&#x26;token=059dac5b-d5a8-4a69-849c-7a312526f861" alt=""><figcaption></figcaption></figure>

### Order Pickup Alerts

1. Click on Use beside the Order Picked Up Workflow.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FTX6UYPsYVrPk4yG3hold%2FShipway_workflow_order_picked_up.png?alt=media&#x26;token=1b9e3c88-da68-49ce-b696-c51d09204490" alt=""><figcaption></figcaption></figure>

2. Click on **Pick Template** to open the template library for  you to select the template. &#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F8Kfu1O9EHudf5ri4kY9V%2FShipway_workflow_order_picked_up_Pick_template.png?alt=media&#x26;token=952d97f0-1793-4cd4-9a49-60c566072644" alt=""><figcaption></figcaption></figure>

3. To choose the Template you would like to share with the customers when their order has been delivered click **Use** above the chosen template as shown in the picture below.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F3jDlP0J7gmwbiGwXwsA2%2FShipway_workflow_order_delivered_Pick_template_use.png?alt=media&#x26;token=1bec8b75-e87a-47c1-9cf0-d0ca70039b77" alt=""><figcaption></figcaption></figure>

4. Once you have selected the template, the next step is to map the variables in the templates and click on **Done**.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F8Vm1a1hkmS0tbxQeKCQB%2FShipway_workflow_order_picked_up_mapping_variables.png?alt=media&#x26;token=ef88c2db-86d4-4687-b805-5a3538f3be4b" alt=""><figcaption></figcaption></figure>

5. Click on update workflow as the last step.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FJwI4d0a2XCFSWub5u6mK%2FShipway_workflow_order_picked_up_update_workflow.png?alt=media&#x26;token=800bf589-3a49-43f3-a780-050bf8eddc0d" alt=""><figcaption></figcaption></figure>

### Delivery Updates Notifications

1. Click on Use beside the Out for Delivery Workflow.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FlMukkfz5NwSTCPqpK5xv%2FShipway_workflow_order_out_for_delivery.png?alt=media&#x26;token=0ca60703-ded1-4355-821b-1563644eb0d6" alt=""><figcaption></figcaption></figure>

2. Click on **Pick Template** to open the template library for  you to select the template. &#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FPYMVezJbtA2eNEPmoHM2%2FShipway_workflow_order_out_for_delivery_Pick_template.png?alt=media&#x26;token=333ea6b0-c711-47e1-8a7a-56d2343d6d0a" alt=""><figcaption></figcaption></figure>

3. To choose the Template you would like to share with the customers when their order has been delivered click **Use** above the chosen template as shown in the picture below.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F3jDlP0J7gmwbiGwXwsA2%2FShipway_workflow_order_delivered_Pick_template_use.png?alt=media&#x26;token=1bec8b75-e87a-47c1-9cf0-d0ca70039b77" alt=""><figcaption></figcaption></figure>

4. Once you have selected the template, the next step is to map the variables in the templates and click on **Done**.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2Fc34AYeP1YiwK0VjIgGsj%2FShipway_workflow_out_for_delivery_mapping_variables.png?alt=media&#x26;token=edcdd2b8-b692-4139-a0ac-e85b054227a5" alt=""><figcaption></figcaption></figure>

5. Click on update workflow as the last step.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2F2QuHzs7D7gxFvjWBcPrY%2FShipway_workflow_order_out_for_delivery_update_workflow.png?alt=media&#x26;token=76695c22-780e-491b-8931-c3e098eafa95" alt=""><figcaption></figcaption></figure>

### Workflow Functionality Check

1. From the left navigation go to **Integration** and Click on **Shipway** from the available apps.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FNkiXLRVf9SbXgQMFPWju%2FShipway_Integration_app.png?alt=media&#x26;token=6435777d-a672-4426-a870-2551878421b8" alt=""><figcaption></figcaption></figure>

2. &#x20;Click on Logs when the window for Shipway Integration opens up.

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FHiZUdSMtLpEZXbmLX5kW%2FShipway_logs_Gallabox.png?alt=media&#x26;token=412a8630-0a94-4df2-bb6a-e0aaa1dfac7e" alt=""><figcaption></figcaption></figure>

3. If the Logs space is empty, it means you are yet to update the Shipment Status in your Shipway account. Once you start updating the shipment status - Order delivered, Order Picked Up, or Order Out for delivery, the logs will start showing as shown in the picture below.&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FoBYxhpwNdD4jUUcS8vHP%2FShipway_logs_.png?alt=media&#x26;token=02878147-525d-4b11-b98e-c97167d6c7a8" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you are seeing the Error logs in your Shipway Integration, kindly check

* If the template you are sending is approved.&#x20;
* If the variables are mapped properly.

To know more about variables click [here](https://docs.gallabox.com/~/changes/A8xmww5XU9i8x7QbfPLe/integration/shipping-and-logistics/shipway/broken-reference). If you want to know the error, click on <img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FMTtbRtqkoHZElTdas9Bj%2Fimage.png?alt=media&#x26;token=7c012a7f-4afa-4369-9de4-f179df05ee69" alt="" data-size="line">.
{% endhint %}

4. If there is no error, the logs will look like the picture below:&#x20;

<figure><img src="https://3137140735-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZcl3T6ePz95GpzjAeOLW%2Fuploads%2FwL7cIbQIExkKqAcsZRyx%2FShipway_logs_completed.png?alt=media&#x26;token=ed901467-fa30-4980-beb9-2cf22899a2b8" alt=""><figcaption></figcaption></figure>
