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

# Shopify: Inventory Level Updated

Triggers when inventory levels change in your Shopify store. Useful for low stock alerts, reorder automation, or syncing inventory across channels. Requires Shopify 'read_inventory' scope.

Trigger Commerce

Triggers when inventory levels change in your Shopify store. Useful for low stock alerts, reorder automation, or syncing inventory across channels. Requires Shopify 'read_inventory' scope.

## At a Glance

| Field | Value |
| --- | --- |
| Trigger ID | `shopify-inventory-level-updated` |
| Category | Commerce |
| Tags | `shopify`, `ecommerce`, `inventory`, `stock`, `webhook` |

## Trigger Configuration

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `shopDomain` | `string` | Yes | Your Shopify store domain \(e.g., my-store.myshopify.com\) |

## Trigger Result

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `triggeredAt` | `string` | Yes | Timestamp when the inventory was updated \(UTC, RFC3339 format\) |
| `topic` | `string` | Yes | Shopify webhook topic |
| `shopDomain` | `string` | Yes | Shopify store domain that sent the webhook |
| `inventoryLevel` | `object` | Yes | Shopify inventory level object with location_id, inventory_item_id, available quantity, and updated_at |

## Workflow Root Example

```json
{
  "nodes": {
    "root": {
      "type": "shopify-inventory-level-updated",
      "payload": {
        "shopDomain": "my-store.myshopify.com"
      },
      "children": [
        "log_event"
      ]
    },
    "log_event": {
      "type": "log",
      "payload": {
        "message": "Triggered at {{$trigger.triggeredAt}}"
      },
      "children": []
    }
  }
}
```

**Reference trigger output**

Downstream nodes can use `{{$trigger.triggeredAt}}` and any result fields listed above. Event triggers usually expose the raw source payload under a field such as `event`, `body`, `trade`, or `raw`.