# COD order confirmation

Using WhatsApp for COD (Cash on Delivery) order confirmation helps businesses reduce fake orders: and save costs.

Once a COD order is placed, send an auto WhatsApp message to the buyer asking to confirm the order. After the buyer replies to the confirmation message, YCloud will tag the "confirmed" or "canceled" orders on Shopify.

### Step1 Visit [Shopify journey](https://www.ycloud.com/console/#/app/integrations/shopify/shopifyJourney)

Click edit

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

### Step2 Edit the campaign

#### Step2.1  Choose sender

Choose a WhatsApp business phone number as a sender, note that the template you wanna send should be on this WABA.

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

#### Step2.2 Choose template

Note that the template must contain at least 1 quick reply button.&#x20;

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

If the template contains variables, you can choose variables from Shopify for replacement.

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

#### Step 2.3 Choose the "Confirm" button

When the user clicks the button, YCloud will tag the Shopify order as “Confirmed.”

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

#### Step 2.4 Choose the "Canceled" button (optional)

When the user clicks the button, YCloud will tag the Shopify order as “Canceled.”

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

#### Step 2.5 Set the send time

Set when this message should be sent after the COD order is placed.

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

#### Step 2.6 Set the tracking time

After the tracking time has passed, the customer can no longer confirm or cancel the order.

(Optional) Tag the un-replied order "Not reply"

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

#### Step 2.7 Save the campaign

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

### Step 3 Active the campaign

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

## View Logs

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

<figure><img src="/files/HRDhG63ockZAP5AIoJYI" 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/cod-order-confirmation.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.
