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

# Workflows for Shopify

> Maximize your Shopify integration with Gallabox: From cart recovery to COD confirmation. Automate and enhance customer engagement effortlessly.

Maximize Your Shopify Integration with Gallabox: From Cart Recovery to COD Confirmation, Effortlessly Automate and Enhance Customer Engagement.

<Info>
  Important points to note:

  1. You can create upto 3 custom workflows for Shopify.
  2. When adding the same custom workflows twice using different templates and trying to trigger the workflow, functionality dictates that the template from the first created workflow will be triggered.
  3. When both the custom order creation workflow and the default order creation workflow are enabled, priority is given for the custom workflow and the template.
</Info>

### Cart Abandonment Messages

#### Video Guide

<iframe class="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/Iq1AE360iAM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

#### Step - by - step Guide

1. Go to **Integration** on your Gallabox dashboard. Click on the **Integrated Shopify Application** and go to **Workflow.**

<Frame>
  <video src="https://mintcdn.com/gallabox/ZdZXLPQK4Igicnrh/images/workflows-in-shopify.mp4?fit=max&auto=format&n=ZdZXLPQK4Igicnrh&q=85&s=28729aeff7f1861808676bae353614a8" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/workflows-in-shopify.mp4" />
</Frame>

2. Click on Workflows and scroll to **Cart Abandoned** and click on **Use** besides that. Look for a template having message for **`abandoned_cart_recovery`** from Gallery. Click on Use. Map the right variables for the template as shown in the below GIF.

<Frame>
  <video src="https://mintcdn.com/gallabox/uG1_eXMWKizfNJ6h/images/cart-abandonded.mp4?fit=max&auto=format&n=uG1_eXMWKizfNJ6h&q=85&s=7d2436d92fcbcd026a7521457a3c86c8" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/cart-abandonded.mp4" />
</Frame>

3. Set **Send after** time (The time after you want to send the abandoned cart message). We recommend sending the message after 10 hours but you can choose from 1 Hour, 6 hours, or 24 hours.

<Frame>
  <video src="https://mintcdn.com/gallabox/zlyXiaXI2I0eCp1u/images/send-after-time.mp4?fit=max&auto=format&n=zlyXiaXI2I0eCp1u&q=85&s=feb234e68be6c68ccef581c0a3c29b42" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/send-after-time.mp4" />
</Frame>

4. Click on **Add Action**. Choose the action you would like the workflow to perform after sending the message like Updating contact tags, conversation tags, or contact email and so on..

<Frame>
  <video src="https://mintcdn.com/gallabox/uG1_eXMWKizfNJ6h/images/add-action-in-abondoned-cart-workflow.mp4?fit=max&auto=format&n=uG1_eXMWKizfNJ6h&q=85&s=3023c68914cb686673ad1a9ac123da60" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/add-action-in-abondoned-cart-workflow.mp4" />
</Frame>

Congratulations!! You have created the workflow :)

### Order Confirmation Notifications

#### Video Guide

<iframe class="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/Cwc7Wk-QN1o" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

#### Step - by -Step Guide

1. Go to **Integration** on your Gallabox dashboard. Click on the **Integrated Shopify Application** and go to **Workflow.**
2. Click on Workflows and scroll to **Order Create** and click on **Use** besides that. Look for a template having message for **`order_confirmed_message`** from Gallery. Click on Use. Map the right variables for the template as shown in the below GIF.

<Frame>
  <video src="https://mintcdn.com/gallabox/zlyXiaXI2I0eCp1u/images/order-create-in-shopify.mp4?fit=max&auto=format&n=zlyXiaXI2I0eCp1u&q=85&s=0e276fca26991dfa26630483b8c05ea0" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/order-create-in-shopify.mp4" />
</Frame>

3. Click on **Add Action**. Choose the action you would like the workflow to perform after sending the message like Updating contact tags, conversation tags, or contact email and so on..

<Frame>
  <video src="https://mintcdn.com/gallabox/uG1_eXMWKizfNJ6h/images/add-action-in-order-create-workflow.mp4?fit=max&auto=format&n=uG1_eXMWKizfNJ6h&q=85&s=c80e2af8fd8d58c1468f9ee5ce18b911" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/add-action-in-order-create-workflow.mp4" />
</Frame>

Congratulations!! You have created the workflow :)

### Delivery Update Notifications

#### Video Guide

<iframe class="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/Cwc7Wk-QN1o" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

#### Step -by -step guide

1. Go to **Integration** on your Gallabox dashboard. Click on the **Integrated Shopify Application** and go to **Workflow.**
2. Click on Workflows and click on **Use** besides Order Fulfilled. Look for template **`order_fulfilled`** from Gallery. Map the right variables and click on Done.

<Frame>
  <video src="https://mintcdn.com/gallabox/zlyXiaXI2I0eCp1u/images/order-fulfilled-message.mp4?fit=max&auto=format&n=zlyXiaXI2I0eCp1u&q=85&s=f15167a6fc7dd2d9e8c62f1fba90b50f" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/order-fulfilled-message.mp4" />
</Frame>

3. Click on **Add Action**. Choose the action you would like the workflow to perform after sending the message like Updating contact tags, conversation tags, or contact email and so on..

<Frame>
  <video src="https://mintcdn.com/gallabox/uG1_eXMWKizfNJ6h/images/add-action-in-order-fulfilled.mp4?fit=max&auto=format&n=uG1_eXMWKizfNJ6h&q=85&s=c8edbfe7f160763b56de0b083d774d64" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/add-action-in-order-fulfilled.mp4" />
</Frame>

Congratulations!! You have created a workflow :)

### Order Cancellation Notifications

#### Video Guide

<iframe class="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/9s6P8oyAA4k" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

#### Step -by -Step guide

1. Go to **Integration** on your Gallabox dashboard. Click on the **Integrated Shopify Application** and go to **Workflow.**
2. Click on Workflows and click on **Use** besides **Order Cancelled**. Look for template having message for **`order_cancelled`** from Gallery. Map the right variables and click on Done.

<Frame>
  <video src="https://mintcdn.com/gallabox/zlyXiaXI2I0eCp1u/images/order-cancelled-in-shopify.mp4?fit=max&auto=format&n=zlyXiaXI2I0eCp1u&q=85&s=2a497ff76bc7300a0019ad3c12b78181" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/order-cancelled-in-shopify.mp4" />
</Frame>

3. Click on **Add Action**. Choose the action you would like the workflow to perform after sending the message like Updating contact tags, conversation tags, or contact email and so on..

<Frame>
  <video src="https://mintcdn.com/gallabox/uG1_eXMWKizfNJ6h/images/add-action-in-order-cancelled.mp4?fit=max&auto=format&n=uG1_eXMWKizfNJ6h&q=85&s=0d4efdc78bd2cd634be74f2430272bc0" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/add-action-in-order-cancelled.mp4" />
</Frame>

Congratulations!! You have created the workflow :)

### Order Delivered Notifications

#### Video Guide

<iframe class="w-full aspect-video rounded-xl" src="https://www.youtube.com/embed/7D4FI6--qqQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen />

#### Step -by - step Guide

1. Go to **Integration** on your Gallabox dashboard. Click on the **Integrated Shopify Application** and go to **Workflow.**
2. Click on Workflows and click on **Use** besides **Order Delivered**. Look for template having message for **`order_delivered`** from Gallery. Map the right variables and click on Done.
3. Click on **Add Action**. Choose the action you would like the workflow to perform after sending the message like Updating contact tags, conversation tags, or contact email and so on..

Congratulations!! You have created the workflow :)

### Order Out for Delivery Notifications

1. Go to **Integration** on your Gallabox dashboard. Click on the **Integrated Shopify Application** and go to **Workflow.**
2. Click on Workflows and click on **Use** besides **Order Delivered**. Look for template having message for **`order_out_for_delivery`** from Gallery. Map the right variables and click on Done.
3. Click on **Add Action**. Choose the action you would like the workflow to perform after sending the message like Updating contact tags, conversation tags, or contact email and so on..

Congratulations!! You have created the workflow :)

### Shopify COD Confirmation

1. Go to **Integration** on your Gallabox dashboard. Click on the **Integrated Shopify Application** and go to **Workflow.**

<Frame>
  <video src="https://mintcdn.com/gallabox/zLr1bn4U7TLbupvD/images/integrated-shopify-application-in-gallabox.mp4?fit=max&auto=format&n=zLr1bn4U7TLbupvD&q=85&s=55a9eaf8e8615a19acb647599d1faab2" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/integrated-shopify-application-in-gallabox.mp4" />
</Frame>

2. Click on Workflows and click on the **Create Workflow.**

<Frame>
  <video src="https://mintcdn.com/gallabox/zLr1bn4U7TLbupvD/images/custom-order-shopify.mp4?fit=max&auto=format&n=zLr1bn4U7TLbupvD&q=85&s=db71cd550f985554935a5983df345fe7" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/custom-order-shopify.mp4" />
</Frame>

3. You have to select ***Order Create*** in the Shopify Custom Event and for conditions, choose ***Financial Status*** as Comparator, ***Equal*** as Operator, and for the value ***Pending***.

<Frame>
  <video src="https://mintcdn.com/gallabox/uG1_eXMWKizfNJ6h/images/custom-create-workflow.mp4?fit=max&auto=format&n=uG1_eXMWKizfNJ6h&q=85&s=ce85a28f990db37103e5ec3381c58b5e" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/custom-create-workflow.mp4" />
</Frame>

3. Select the [**Order Confirmation** WhatsApp Template](#user-content-fn-1)[^1] and map the variables defined.

<Frame>
  <video src="https://mintcdn.com/gallabox/uG1_eXMWKizfNJ6h/images/add-template-cod-confirmation.mp4?fit=max&auto=format&n=uG1_eXMWKizfNJ6h&q=85&s=186c87c9f872a71192d1caff89a3196a" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/add-template-cod-confirmation.mp4" />
</Frame>

4. For the action, you can update the Tag - COD Confirmation for the contact.

<Frame>
  <video src="https://mintcdn.com/gallabox/ZdZXLPQK4Igicnrh/images/update-cod-confirmation-tags.mp4?fit=max&auto=format&n=ZdZXLPQK4Igicnrh&q=85&s=e16c3c69c26ba3a0e49ed4ac6ea9e2ab" autoPlay loop muted playsInline controls className="w-full aspect-video" data-path="images/update-cod-confirmation-tags.mp4" />
</Frame>

Congratulations!! You have created the workflow. Let's move onto the next step of automation.

[^1]: If you haven't created any template, create one for COD Confirmation having two Quick Buttons - Confirm Order and Cancel Order.
