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

# WooCommerce Integration

> Chatarmin guide: WooCommerce Integration

# Installation

Follow the Guide on the [WooCommerce Chatarmin Page](https://chatarmin.com/dashboard/woocommerce/connect) to connect to WooCommerce. 🚨 Make sure to also upload the Chatarmin Plugin aswell

# Chatarmin's WooCommerce WhatsApp Integration lets you

* create abandoned checkout automations
* create postpurchase automations
* create order info tracking link automations
* create thank you page shipping info widget
* segment through WooCommerce shop activity
* and much much more

Watch a video here to grasp the power of Chatarmin's WooCommerce WhatsApp integration:

<iframe src="https://www.loom.com/embed/e860730fa3eb489a8d52aeaa50949edf" title="Loom video" width="100%" height="420" allowFullScreen />

*Source: Chatarmin, Q2 2024*

***

# Revenue attribution

***

<img src="https://mintcdn.com/chatarmin-help-center/FkIbrM1lxMp-fNLL/images/0673dba6-ade5-43dd-b8a6-f6a2409a941a/019b9c80-d33d-70d3-b6e5-53030e48bb9f.png?fit=max&auto=format&n=FkIbrM1lxMp-fNLL&q=85&s=b17697433ba9ddcc652b965a4cd5019a" alt="Chatarmin help center image" width="1543" height="657" data-path="images/0673dba6-ade5-43dd-b8a6-f6a2409a941a/019b9c80-d33d-70d3-b6e5-53030e48bb9f.png" />

By connecting your **WooCommerce** integration, r**evenue generated by campaigns and flows is tracked automatically**. This way you have measurable **KPIs** you can use to estimate how Chatarmin is helping you increase your profit.

***

# Order Page Widget

***

You can create an [Order Page Widget](https://chatarmin.com/dashboard/woocommerce/thank-you-widget) with our **WooCommerce** integration. On one hand, you **give your customers additional quality of life improvements,** on the other hand, you are simultaneously constantly **generating leads passively** and increasing the size of your WhatsApp list.

<img src="https://mintcdn.com/chatarmin-help-center/FkIbrM1lxMp-fNLL/images/0673dba6-ade5-43dd-b8a6-f6a2409a941a/019b9c80-d33a-75da-a6e8-83423d068784.png?fit=max&auto=format&n=FkIbrM1lxMp-fNLL&q=85&s=d5daf2c9413a2cd0cce4a798c139b708" alt="Chatarmin help center image" width="574" height="168" data-path="images/0673dba6-ade5-43dd-b8a6-f6a2409a941a/019b9c80-d33a-75da-a6e8-83423d068784.png" />

To find out how to set up your **Order Page Widget** click the[**"Setup"**](https://chatarmin.com/dashboard/woocommerce/thank-you-widget) button on the ["Dashboard"](https://chatarmin.com/dashboard) and follow the step-by-step instructions on the right-hand side.

*🚨* ***ATTENTION:*** \*How can it happen that the order numbers do not match?\
\*

<img src="https://mintcdn.com/chatarmin-help-center/FkIbrM1lxMp-fNLL/images/0673dba6-ade5-43dd-b8a6-f6a2409a941a/019b9c80-d358-7518-9abb-c1b8d1f5787d.png?fit=max&auto=format&n=FkIbrM1lxMp-fNLL&q=85&s=49c25856deb5043dca7e0d66fe7fede1" alt="Chatarmin help center image" width="1254" height="632" data-path="images/0673dba6-ade5-43dd-b8a6-f6a2409a941a/019b9c80-d358-7518-9abb-c1b8d1f5787d.png" />

What we're using is the WooCommerce "internal ID". Unfortunately, we have to use it like this because it allows us to read the order via the WooCommerce API. There is currently no workaround for this, but we will adapt it as soon as we find a solution or when WooCommerce offers it.

***

# WooCommerce within flows

***

You can also use **WooCommerce Actions to trigger specific Flows**. These triggers include:

**Order shipped and Order Paid.**

For example, you can trigger a client on a **paid order** and send a 14-day delayed message about whether the client was happy with his order and ask for a review on rating platforms such as Trustpilot.

<img src="https://mintcdn.com/chatarmin-help-center/FkIbrM1lxMp-fNLL/images/0673dba6-ade5-43dd-b8a6-f6a2409a941a/019b9c80-d330-7535-9831-473ddfdc332a.png?fit=max&auto=format&n=FkIbrM1lxMp-fNLL&q=85&s=b1bc84b0e432e0a18bba93a21c4fee5d" alt="Chatarmin help center image" width="697" height="197" data-path="images/0673dba6-ade5-43dd-b8a6-f6a2409a941a/019b9c80-d330-7535-9831-473ddfdc332a.png" />

## If/Else for Purchase Activity

You can also check within flows, if a customer made an order:

<img src="https://mintcdn.com/chatarmin-help-center/FkIbrM1lxMp-fNLL/images/0673dba6-ade5-43dd-b8a6-f6a2409a941a/019b9c80-d36a-759f-ab3a-0e7d16b5bdb4.png?fit=max&auto=format&n=FkIbrM1lxMp-fNLL&q=85&s=70c22767edb46ea5af841aa49ae601dd" alt="Chatarmin help center image" width="779" height="584" data-path="images/0673dba6-ade5-43dd-b8a6-f6a2409a941a/019b9c80-d36a-759f-ab3a-0e7d16b5bdb4.png" />

***

# WooCommerce Abandoned Checkout

***

In order to send Abandoned Checkout Messages on WhatsApp, check this Video below:

<iframe src="https://www.loom.com/embed/9987487057ba4c14b334b0b899650f07" title="Loom video" width="100%" height="420" allowFullScreen />

They **Payload Body** Example, which you can pass in WooCommerce, is the following:

```
&#123; 
"email": "#&#123;&#123;billing.email&#125;&#125;", 
"phone": "#&#123;&#123; billing.phone &#125;&#125;", 
"firstname": "#&#123;&#123; billing.first_name &#125;&#125;", 
"lastname": "#&#123;&#123; billing.last_name &#125;&#125;", 
"checkoutUrl": "https://<your-shop>/checkout?order_id=#&#123;&#123; id &#125;&#125;&order_key=#&#123;&#123;order_key&#125;&#125;" 
&#125;
```
