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

# WooCommerce Integration

> Complete WooCommerce WordPress integration for inventory, customer search, and order management

# WooCommerce Integration Template

## Tool 1: Check Stock

### Configuration in the Famulor Interface

<Tabs>
  <Tab title="Tool Details">
    \| **Name**\* | `WooCommerce Lagerbestand` |
    \| **Function Name**\* | `check_woo_stock` |
    \| **HTTP Method** | `GET` |
    \| **Endpoint**\* | `https://{{WOO_SITE_URL}}/wp-json/wc/v3/products/{product_id}` |
  </Tab>
</Tabs>

**Success Template**: `"{{productName}}: {{#if stockQuantity}}{{stockQuantity}} pieces available{{else}}{{stockStatus}}{{/if}}, price: {{price}}€"`

## Tool 2: Customer Search

### Configuration in the Famulor Interface

<Tabs>
  <Tab title="Tool Details">
    \| **Name**\* | `WooCommerce Kundensuche` |
    \| **Function Name**\* | `search_woo_customer` |
    \| **HTTP Method** | `GET` |
    \| **Endpoint**\* | `https://{{WOO_SITE_URL}}/wp-json/wc/v3/customers` |
  </Tab>
</Tabs>

**Success Template**: `"Customer found: {{firstCustomer.first_name}} {{firstCustomer.last_name}}, {{firstCustomer.orders_count}} orders, customer since {{firstCustomer.date_created}}"`

## Tool 3: Create Order

### Configuration in the Famulor Interface

<Tabs>
  <Tab title="Tool Details">
    \| **Name**\* | `WooCommerce Bestellung` |
    \| **Function Name**\* | `create_woo_order` |
    \| **HTTP Method** | `POST` |
    \| **Endpoint**\* | `https://{{WOO_SITE_URL}}/wp-json/wc/v3/orders` |
  </Tab>
</Tabs>

**Success Template**: `"Order #{{orderNumber}} created. Total amount: {{total}}€. The customer will receive a confirmation email."`

***

<Tip>
  Related pages: [Introduction](/en/automation-platform/introduction) and [Building Flows](/en/automation-platform/building-flows), and [Debugging Runs](/en/automation-platform/debugging-runs).
</Tip>

<Tip>
  Need a whole toolset instead of building HTTP actions one by one? Connect an external **MCP server** — tools are discovered automatically. See [MCP Servers](/en/platform/mcp-servers).
</Tip>
