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

> ## Agent Instructions
> For short, quotable answers about SmartAlex (what it is, who it is for, what it costs, where it runs, how it keeps data safe, which apps it connects to), read the facts page at /ai/facts on this site first, then the page it links to. Its last table maps every section of these docs.
> For how to do something, use the step-by-step pages: /learn for whole paths, and each section's first-time pages such as /calls/buy-your-first-number, /agents/create-an-agent or /campaigns/import-your-first-contacts. Give the click path exactly as written there, for example Calls, then Numbers, then Buy number, with the bold button labels unchanged.
> Prices come from the Pricing page at /pricing and the pages under /pricing. Quote a price exactly as written there, with its currency and unit.
> Short answers to common questions are under /help, grouped by section. Legal documents are summarised under /legal; each summary links to the binding text, which prevails over the summary.
> If a feature or screen is not described in these docs, say that you could not find it rather than guessing.
> Pages under /comparisons describe other companies' products as of the date on each page. For SmartAlex's own features and prices, use the product pages.
> The MCP server at /mcp on this site only searches this documentation. To work inside your own SmartAlex workspace (agents, calls, campaigns, contacts), use the SmartAlex MCP server described at /mcp/overview.

# Connect Shopify

> Connect Shopify and a campaign calls shoppers after an abandoned checkout, a paid or delivered order, or a new account, only if they agreed to be called.

To connect Shopify, enter your store address in the Shopify card and approve the connection in Shopify. Then switch on the **SmartAlex call tick box** in your theme and start a campaign from one of four store events. Your agent then calls shoppers at that moment, and only shoppers who ticked "Call me about my order" and gave a mobile number.

* **You will have:** a triggered campaign that calls shoppers after an abandoned checkout, a paid order, a delivered order or a new account.
* **Time:** about ten minutes.
* **You need:** a Shopify store and a Shopify login that can approve apps for it, and a SmartAlex role that can edit connectors. To start a campaign you also need permission to create campaigns.

> [!NOTE]
>
> In the app: **Sidebar → Agent Settings → Connectors** (`/home?settings=connectors`), then **Shopify** under **Marketing**.

## What does Shopify give my campaign?

Shopify starts calls from a running campaign and gives your agent no tools. When a store event happens, SmartAlex adds that one shopper to the campaign and waits for the time you chose. Then the campaign's agent calls them inside its calling times.

The diagram below shows a store event becoming a call.

```mermaid theme={null}
flowchart LR
    E[Store event in Shopify] --> K{Shopper ticked Call me about my order?}
    K -->|No| N[Nobody is called]
    K -->|Yes| W[Added to your running campaign]
    W --> T[Wait you chose]
    T --> C[Agent calls inside calling times]
```

| Event | When it happens | Default wait |
| - | - | - |
| **Abandoned checkout** | A shopper starts a checkout and does not finish it. | 30 minutes |
| **Order paid** | An order is paid. | Straight away |
| **Order delivered** | Shopify marks the order delivered. | Straight away |
| **New account** | A shopper opens an account. | Straight away |

* If the shopper places the order before the wait ends, the abandoned checkout call is cancelled.
* Each shopper gets at most one of these calls every 14 days, and at most 50 are added in a day.
* A checkout idle for more than 24 hours is not called.
* The agent is told what the call is about, for example a checkout that was not finished. It never asks for or reads out card, payment or address details.

## How do I connect Shopify?

**1. Open Shopify in Connectors**

Click **Sidebar → Agent Settings → Connectors**, pick the **Marketing** category and click **Shopify** ("Call shoppers when they leave a checkout, place an order, get a delivery or open an account.").

![The Shopify connector form](https://mintcdn.com/smartalex/Lsiy_I41mrzc0zEG/images/screens/integrations-hub/shopify-connect-form.webp?fit=max\&auto=format\&n=Lsiy_I41mrzc0zEG\&q=85\&s=927775f46723800b4e2b0746f93fe172)

Enter your store address and click Connect.

**2. Enter your store address**

Type it into **Store address** (placeholder `your-store.myshopify.com`) and click **Connect**. The button reads "Opening Shopify".

**3. Approve in Shopify**

Shopify opens its own approval screen for the SmartAlex app. Sign in to your store if asked, check the permissions it lists, and approve. Shopify then sends you back to SmartAlex and you see "Shopify connected."

**4. Switch on the call tick box**

In Shopify, click **Online Store → Themes → Customize → App embeds** and switch on **SmartAlex call tick box**, then save the theme. It adds the "Call me about my order" box to your cart page and to the create-account form. Without it nobody can agree to be called, so no call goes out.

**5. Start a campaign**

Back on the Shopify card, under **Start a campaign**, click the event you want: **Abandoned checkout**, **Order paid**, **Order delivered** or **New account**. **New campaign** opens with the trigger, the wait and a goal already filled in. You can also click **Sidebar → Campaigns → New campaign**, choose **From a connection** and pick Shopify.

**6. Run a test checkout**

Make a test checkout in your store with the tick box ticked and a mobile number. On the Shopify card, **Events from your store** should show the last event within a minute.

## Settings

The connected Shopify card has these parts.

| Setting | What it does | Default | When to change it |
| - | - | - | - |
| **Store address** | The store to connect, before you connect. | Empty | Enter it once. |
| **Disconnect** | Removes the connection and cancels pending calls from the store's campaigns. | n/a | When you stop using Shopify with SmartAlex. |
| **Events from your store** | Shows the last event received and how long ago. | n/a | Read it to see events are arriving. |
| **Check connection** | Re-subscribes any event Shopify stopped sending. Limited to a few checks a minute. | n/a | If checkouts stop starting calls. |
| **Switch on the call tick box** note | Reminds you to switch on **SmartAlex call tick box** in your theme's App embeds. | n/a | Follow it once. |
| **Start a campaign** buttons | Open **New campaign** for the event you click. | n/a | When you want a campaign for another event. |

Each triggered campaign has its own settings when you create it.

| Setting | What it does | Default | When to change it |
| - | - | - | - |
| **Connection** | Which connected source starts the campaign. | Shopify, when it is the only one | Rarely. |
| **When** | The store event: **Abandoned checkout**, **Order paid**, **Order delivered** or **New account**. | The event you clicked | Make one campaign per event. |
| **Wait before calling** | How long after the event the call waits: **Straight away**, **15 minutes**, **30 minutes**, **1 hour**, **3 hours** or **1 day**. | 30 minutes for **Abandoned checkout**, otherwise **Straight away** | Lengthen it to give shoppers time to finish an order. |

The campaign works like any other, with its agent, number, calling times and retries. See [Campaigns](https://docs.getsmartalex.com/essentials/campaigns.md) and [Run a campaign](https://docs.getsmartalex.com/how-to/run-a-campaign.md).

## What permissions does Shopify ask for?

SmartAlex asks Shopify to read orders, customers and fulfilments (`read_orders`, `read_customers`, `read_fulfillments`). It only reads orders, checkouts, deliveries and new accounts, and never changes anything in your store. One store can be connected to one SmartAlex workspace at a time.

## Check it worked

1. The Shopify card shows your store name with **Connected**.
2. **Events from your store** shows the last event, for example "a checkout started".
3. Your campaign is running, and a test shopper who ticked the box gets a call after the wait.

If events stop arriving, click **Check connection**. The result reads, for example, "Shopify had stopped sending one event. It is set up again." Shopify removes an event subscription after 48 hours of failed deliveries without telling anyone.

## How do I disconnect Shopify?

**1. Open the card**

Click **Sidebar → Agent Settings → Connectors → Shopify**.

**2. Disconnect**

Click **Disconnect**. You see "Shopify disconnected." Pending calls from the store's campaigns are cancelled. Removing the app inside Shopify does the same.

## If it does not work

| What you see | What to do |
| - | - |
| "Enter your store address, for example your-store.myshopify.com." | Type the store address, then click **Connect**. |
| "That store is already connected to another SmartAlex workspace." | A store is live in one workspace at a time. Disconnect it from the other workspace first. |
| "The connection took too long. Please try connecting again." | Click **Connect** again and approve straight away. |
| "Shopify did not send everything back. Please try connecting again." | Click **Connect** again. |
| "Could not finish connecting your store. Please try again." | Try again. If it keeps happening, contact support. |
| "Connecting Shopify is not available yet." | Contact support. |
| "Shopify refused our access to the store. Disconnect it, then connect it again." | Click **Disconnect**, then connect again. |
| "None received yet. A test checkout with the tick box ticked should show here within a minute." | Check **SmartAlex call tick box** is on in App embeds, then click **Check connection**. |
| "Checked too often. Try again in a minute." | Wait a minute and click **Check connection** again. |
| No calls go out | Check the shopper ticked the box and gave a mobile number, the campaign is running, and it is inside the campaign's calling times. |

## Questions people ask

> [accordion] Who gets called?
>
> Only shoppers who ticked "Call me about my order" and gave a mobile number. The shipping, billing and checkout phone numbers are never used, because they often belong to someone else.

> [accordion] Does SmartAlex change anything in my store?
>
> No. It only reads orders, checkouts, deliveries and new accounts.

> [accordion] Will a shopper who completes their order still get the checkout call?
>
> No. When the order comes in, the pending abandoned checkout call is cancelled. A call already ringing is left alone.

> [accordion] Does the agent take payment on the call?
>
> No. It never asks for or reads out card, payment or address details.

> [accordion] Can I use more than one event?
>
> Yes. Each triggered campaign uses one event, so make one campaign for each event you want.

> [accordion] Can the same shopper be called every day?
>
> No. Each shopper gets at most one of these calls every 14 days.

## Next

> [card] [Connect Lob](https://docs.getsmartalex.com/integrations/lob.md)
>
> Send postcards with a tracked QR code from your campaigns.

> [card] [Run a calling campaign](https://docs.getsmartalex.com/how-to/run-a-campaign.md)
>
> Set up the campaign Shopify fills.

> [card] [Campaigns](https://docs.getsmartalex.com/essentials/campaigns.md)
>
> How campaigns call shoppers.

> [card] [How connectors work](https://docs.getsmartalex.com/integrations/how-connectors-work.md)
>
> Connectors that feed campaigns and connectors that give tools.


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