How to create a COD (Cash on Delivery) Template

Sophia Updated by Sophia

What is COD?

COD or "Cash on Delivery" is our Shopify feature that allows your customers to confirm or cancel their COD delivery. You may refer to our documents here for full details of what this feature can do.

How do I set up a template?

At WATI, we have set up your account with some pre-approved templates, but if you wish to customise your own, you may follow the below steps.

  1. Go to "Broadcast" > "Template Messages" > "New Template Message"
  2. Click "Start from Scratch"
  3. Enter in the template name, type and language
  4. For "media" if you wish to have a dynamic product image (this will grab the image of your clients order), input "{{shopify_product_image}}"

If you wish to use a fixed image, upload your image instead.

For the sample content; use the link "https://cdn.clare.ai/wati/images/WATI_logo_square_2.png"

  1. Enter the variables as below:

{{name}}

Takes customers name from Whatsapp

{{total_price}}

Takes total price of the order

{{shop_name}}

Takes your Shopify store name

{{cod_confirm_url}}

Allows users to confirm their COD order

{{cod_cancel_url}}

Allows users to cancel their COD order

  1. If you wish to add a dynamic button, you must use our partial variables and the format has to be as below, you cannot use your own store url. To find out more how to use our variables, click here.

https://s.wati.io/{{cod_confirm_url_partial_variable}}

How did we do?

What are fixed variables for Shopify integration?

Why are my Cash on Delivery Messages (COD) not sending in Shopify?

Contact