# Setup WooCoomerce Automations

* COD Order confirmation & Prepaid order notfication
* Track Order
* Abandoned Cart

#### How to setup COD Order Automation.

* Click on Automation.
* Click on Create Automation.
* Give a title, Select Channel & Choose WooCommerce Order Place Event.
* Click on Create.

<figure><img src="https://479287101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsFoWrex7Ww5gHYnrplCG%2Fuploads%2FrHxjsFsalmv5rnpPjnqv%2Fimage.png?alt=media&#x26;token=6be3122e-8682-498d-98ec-dd8face2907e" alt=""><figcaption><p>COD Order Confirmation</p></figcaption></figure>

<figure><img src="https://479287101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsFoWrex7Ww5gHYnrplCG%2Fuploads%2FBmRVQvqUUp0h2TSV5axF%2Fimage.png?alt=media&#x26;token=3d91eead-9325-4a05-9763-859225009e0a" alt=""><figcaption><p>Choose Custom Condition</p></figcaption></figure>

* [ ] Choose Action Auto Reply Template Message.
* [ ] Choose your template for COD order confirmation.
* [ ] Choose your placeholders in Template message & Save.

{% embed url="<https://content.gitbook.com/content/4YvWJ5YBzZbCLrd1KL7T/blobs/GgqE3WJuog57YxbTaG0L/chooseaction.png>" %}

<figure><img src="https://479287101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsFoWrex7Ww5gHYnrplCG%2Fuploads%2FR4aAbJbmstJXTVrosGqs%2Fimage.png?alt=media&#x26;token=03e4c2a2-5083-4c48-a04a-5e70ed978d27" alt=""><figcaption></figcaption></figure>

<figure><img src="https://479287101-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsFoWrex7Ww5gHYnrplCG%2Fuploads%2FMk4mFdJcs1qBp4xwAEcv%2Fimage.png?alt=media&#x26;token=252479bf-e3a1-4d38-8104-cd2e985e096c" alt=""><figcaption></figcaption></figure>

If your template have buttons like Confirm COD Order, Cancel COD order, Connect with Agent then you have to create a separate automation for that.

User below steps to update order notes in your WooCommerce.

* Create a new automation.
* Give name, choose channel & select trigger New incoming message received.
* Click on Create automation button.
* Choose custom condition "List/Button Callback ID Matches" & paste your callback id in the value.
