> ## 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 Integration

Seamlessly bridge your e-commerce operations with the decentralized economy by automating Shopify workflows through B3OS. Connect your store to blockcha...

![Shopify logo](https://ai-icon.b3.fun/logo/shopify) Integration available

Seamlessly bridge your e-commerce operations with the decentralized economy by automating Shopify workflows through B3OS. Connect your store to blockchain-driven logic to trigger instant actions whenever orders are placed or inventory shifts.


**[Public page](https://b3os.org/integrations/app/shopify)**

Open the user-facing integration overview for examples, templates, and sharing.
  **[Action reference](/actions/reference)**

Schema-level references for executable actions and test payloads.
  **[Trigger reference](/actions/trigger-reference)**

Event and schedule triggers that can start B3OS workflows.

## Build With Shopify

Use Shopify when a workflow needs to react to Shopify: Inventory Level Updated, Shopify: Order Created and follow up with actions such as Shopify: Adjust Inventory, Shopify: Cancel Order, Shopify: Complete Draft Order. Start in the visual editor to connect an account, then use the references below for payload shape, required fields, and API testing.

## Available Actions

| Action | ID | Connector | Required fields |
| --- | --- | --- | --- |
| ![Shopify: Adjust Inventory logo](https://ai-icon.b3.fun/logo/shopify) [Shopify: Adjust Inventory](/actions/reference/generated/shopify-adjust-inventory) | `shopify-adjust-inventory` | ![shopify logo](https://ai-icon.b3.fun/logo/shopify) `shopify` | `inventoryItemId`, `locationId`, `delta` |
| ![Shopify: Cancel Order logo](https://ai-icon.b3.fun/logo/shopify) [Shopify: Cancel Order](/actions/reference/generated/shopify-cancel-order) | `shopify-cancel-order` | ![shopify logo](https://ai-icon.b3.fun/logo/shopify) `shopify` | `orderId`, `reason` |
| ![Shopify: Complete Draft Order logo](https://ai-icon.b3.fun/logo/shopify) [Shopify: Complete Draft Order](/actions/reference/generated/shopify-complete-draft-order) | `shopify-complete-draft-order` | ![shopify logo](https://ai-icon.b3.fun/logo/shopify) `shopify` | `draftOrderId` |
| ![Shopify: Create Customer logo](https://ai-icon.b3.fun/logo/shopify) [Shopify: Create Customer](/actions/reference/generated/shopify-create-customer) | `shopify-create-customer` | ![shopify logo](https://ai-icon.b3.fun/logo/shopify) `shopify` | - |
| ![Shopify: Create Draft Order logo](https://ai-icon.b3.fun/logo/shopify) [Shopify: Create Draft Order](/actions/reference/generated/shopify-create-draft-order) | `shopify-create-draft-order` | ![shopify logo](https://ai-icon.b3.fun/logo/shopify) `shopify` | `lineItems` |
| ![Shopify: Create Order logo](https://ai-icon.b3.fun/logo/shopify) [Shopify: Create Order](/actions/reference/generated/shopify-create-order) | `shopify-create-order` | ![shopify logo](https://ai-icon.b3.fun/logo/shopify) `shopify` | `lineItems` |
| ![Shopify: List Orders logo](https://ai-icon.b3.fun/logo/shopify) [Shopify: List Orders](/actions/reference/generated/shopify-list-orders) | `shopify-list-orders` | ![shopify logo](https://ai-icon.b3.fun/logo/shopify) `shopify` | - |
| ![Shopify: Search Products logo](https://ai-icon.b3.fun/logo/shopify) [Shopify: Search Products](/actions/reference/generated/shopify-search-products) | `shopify-search-products` | ![shopify logo](https://ai-icon.b3.fun/logo/shopify) `shopify` | - |


## Available Triggers

| Trigger | ID | Required configuration |
| --- | --- | --- |
| [Shopify: Inventory Level Updated](/actions/trigger-reference/triggers/shopify-inventory-level-updated) | `shopify-inventory-level-updated` | `shopDomain` |
| [Shopify: Order Created](/actions/trigger-reference/triggers/shopify-order-created) | `shopify-order-created` | `shopDomain` |
| [Shopify: Order Paid](/actions/trigger-reference/triggers/shopify-order-paid) | `shopify-order-paid` | `shopDomain` |


## Common Use Cases

**Automated Crypto Loyalty Rewards**

Trigger a blockchain transaction to send custom tokens or NFTs to customers immediately after a 'Shopify: Order Paid' event is detected.
  **Real-time Inventory On-Chain Verification**

Sync your physical stock levels with decentralized marketplaces by triggering updates whenever 'Shopify: Inventory Level Updated' occurs.
  **Instant Web3 Order Fulfillment**

Streamline your supply chain by triggering smart contract functions the moment a 'Shopify: Order Created' event is logged in your store.
  **Automated Crypto Accounting**

Create a seamless audit trail by automatically logging Shopify order details onto a blockchain for transparent, immutable financial record-keeping.

## Connector Notes

- Create the connector from a trusted B3OS organization before publishing workflows that call external accounts.
- Keep OAuth tokens, API keys, bot tokens, channel IDs, and account IDs in connector settings or workflow props, not in reusable public template text.
- Test with the visual editor or `POST /v1/actions/{type}/test` before routing production traffic.

## Related Templates

No public templates are linked to this integration yet.

## FAQ

**How do I connect my Shopify store to B3OS?**

You can connect your Shopify store using a custom app via client credentials. B3OS handles all token refreshes automatically, ensuring a secure and uninterrupted connection.
  **Which Shopify events can trigger an automation?**

Currently, you can trigger workflows based on three key events: when an inventory level is updated, when an order is paid, or when a new order is created.
  **Can B3OS help with crypto payments in Shopify?**

Yes, by automating the workflow when a 'Shopify: Order Paid' trigger occurs, you can bridge that data to blockchain protocols for automated settlement or loyalty rewards.
  **Is my Shopify data secure during automation?**

Absolutely. We use industry-standard client credentials and secure OAuth-based token management to ensure your store's sensitive data remains protected.
  **Do I need to manually refresh my Shopify API tokens?**

No. B3OS is designed for hands-off automation; our platform automatically refreshes your access tokens so your workflows never skip a beat.