# Shopify Best Practice

**Benefits of This Journey**

The target audience includes users who reached the payment page, entered the necessary information, but closed the page without successfully completing the payment.

Invite these users to return and finish the checkout process, completing their orders.

## Prerequisite

Before creating the Journey, you need to create a message template with a Shopify payment link.

Set up the template content, then in the "Buttons" section, select **Call to action > Visit Website > Shopify link**. Once configured, save the template.

<figure><img src="/files/6UcQv5ac7cb0PNExMn1I" alt=""><figcaption><p>Message template with Shopify payment link</p></figcaption></figure>

## Trigger Settings

**Enter trigger:**

* When to send: Shopify events\_Shopify checkout created
* Sender: Select the WhatsApp phone number you have already created.
* Audience: No additional restrictions are applied in this use case.
* Filter out unsubscribed customers: It is recommended to check this option.
* Customer Trigger Limit: Choose "Enter every time the person matches the rules"

Exit trigger：

* Exit rules: Shopify events\_Shopify order paid

Goal:

* This example does not set up any additional goals

## Set Waiting Time

Create a **Wait** component and configure the waiting duration, then connect the **Trigger** and **Wait** components.

This defines how long you will wait for the customer to complete the checkout and place the order.

## Select Message Template

Select the pre-configured message template that includes the Shopify payment link, and assign the appropriate attributes to the variables in the template. Connect the **Wait** component to complete the Journey creation.<br>

<figure><img src="/files/c8Kqmv90cfGO2VBonvMi" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://helpdocs.ycloud.com/help-center/integrations/e-commerce/shopify/shopify-best-practice.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
