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

# Set up Shopify triggers

> Choose the right Shopify trigger for a bitCRM automation, including the difference between Abandoned cart and Abandoned checkout.

Use this page when your automation should start from a Shopify event.

## Overview

The current **Shopify** trigger family includes these trigger options:

* **Abandoned cart**
* **Abandoned checkout**
* **Order created**
* **Order created (unpaid)**
* **Order fulfilled**
* **Order paid**
* **AI draft order**
* **Order refunded**
* **Order cancelled**

## Before you start

* Open [Automation](https://app.bitbybit.studio/bitcrm/automation-new).
* Click **Create new scenario**.
* Make sure Shopify is connected.

## Choose between Abandoned cart and Abandoned checkout

These two triggers are often confused:

* **Abandoned cart** is for shoppers who added items to cart but did not move on to checkout.
* **Abandoned checkout** is for shoppers who reached checkout but did not complete the order.

If you want to follow up earlier, start with **Abandoned cart**.

If you want to follow up after the shopper has already entered checkout, use **Abandoned checkout**.

## Use the AI draft order trigger

When a shopper buys through your AI agent, the order is created as a Shopify **draft order**, not a standard checkout — so the **Order created** and **Abandoned checkout** triggers do not fire for it. Use the **AI draft order** trigger to start an automation from an AI-created draft order, for example to send a WhatsApp payment reminder with the invoice link.

Combine it with a **Time Delay** to hold the message before sending. If the shopper pays through the AI link before the delay ends, the queued message is cancelled automatically.

## Use the Order refunded and Order cancelled triggers

**Order refunded** fires when a refund is created on a Shopify order. **Order cancelled** fires when the order itself is cancelled.

Neither trigger has condition fields, so the automation runs on every refund or cancellation. Use them for follow-up work such as adding a customer tag, notifying your team, or sending the customer a message.

> [!NOTE]
>
> You do not need one of these triggers to take back loyalty points. Points reversal is a built-in loyalty setting — see [Deduct points for refunds or cancellations](https://knowledge.bitbybit.studio/loyalty/how-to-deduct-points-for-refunds-or-cancellations.md).

## Steps

**1. Choose the Shopify event**

1. Click **Trigger**.
2. Choose **Shopify**.
3. Select the Shopify trigger you want to use.

![Shopify trigger picker showing sign-up, AI draft order, abandoned cart, abandoned checkout, and order events](https://mintcdn.com/asmaraku/vYypRsD4_JTwfHvK/images/bitcrm/shopify-trigger-events.png?fit=max\&auto=format\&n=vYypRsD4_JTwfHvK\&q=85\&s=d151de5a926dc29f07b7dfc80d90a6d4)

**2. Save and build the scenario**

1. Save the trigger.
2. Add the next step in the scenario.
3. Click **Save automation**.

## What happens next

After the trigger is saved, add the message, timing, or condition you need for that Shopify flow.

## Related

* [Set up a trigger in automation](https://knowledge.bitbybit.studio/bitcrm/how-to-set-up-a-trigger.md)
* [Add steps to an automation](https://knowledge.bitbybit.studio/bitcrm/how-to-add-steps-to-an-automation.md)
* [Use time delay and schedule in automation](https://knowledge.bitbybit.studio/bitcrm/how-to-schedule-steps-in-an-automation.md)
* [Deduct points for refunds or cancellations](https://knowledge.bitbybit.studio/loyalty/how-to-deduct-points-for-refunds-or-cancellations.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.