# Send your WhatsApp data to WooCommerce using Chatbot

> **Who can use this Card?**
>
> * Gallabox Users having permission to either build and deploy bots or manage bots.
> * Available on all Paid Plans.

## Overview

Embark on a seamless e-commerce journey with WooCommerce integration. This guide walks you through the process of connecting WooCommerce, specifically focusing on the action "**Add Meta Data**," empowering your online store with personalized details.

This connector is used to pass the data into one specific custom field (Meta Data) already created in your WooCommerce Account for Payment Gateway, WooCommerce Subscriptions, or Shipment Tracking for example.&#x20;

## Creating Connection for WooCommerce

1. Choose the connector - WooCommerce from the list of connectors.&#x20;

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

2. Click on the action - Add Meta Data, it will ask you to Add New Connection or Select Existing Connection. If you haven't made any connection, see if the Connection Name is fine with you and proceed with pasting the Consumer Key, Consumer Secret, and the WooShop Subdomain. You will find the guide to find all the fields [here](https://woocommerce.com/document/woocommerce-rest-api/).&#x20;

<figure><img src="/files/98vC6osHhyuNaIGfnxCc" alt=""><figcaption></figcaption></figure>

## Using the action

### Add Meta Data

1. Once the connection is created, click on **Connect** besides the connection.&#x20;

<figure><img src="/files/8v7KjlQAxdBc5t3TbWUd" alt=""><figcaption></figcaption></figure>

2. The action has mandatory fields:

* **For the order Id** - you have to add the variable in which the order is stored.&#x20;
* **In the Meta Data** - you have to add the Key and the Value. For example: You can also push the tags (associated with the contact in Gallabox) as custom Meta Data in WooCommerce.

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

{% hint style="info" %}
Make sure to add the right variables as values for all the fields.&#x20;
{% endhint %}

With your WooCommerce connection established and the "**Add Meta Data**" action configured, enhance your order processing by adding custom Meta Data. Leverage variables to ensure accurate data input, providing a tailored shopping experience for your customers. Streamline your WooCommerce integration effortlessly with these insightful steps.

<br>


---

# 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://docs.gallabox.com/bots/bot-connectors/send-your-whatsapp-data-to-woocommerce-using-chatbot.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.
