[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [Shopify product availability](https://spiral.ai/integrations/grok/shopify-product-availability)

# How to Use Shopify product availability in Grok

Returns one product’s full details, size and color choices, and availability for the effective selection. Use it to check a shopper’s exact choice before recommending it, since Shopify can relax an unavailable combination.

|  |  |
| --- | --- |
| Model | Shopify product availability |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Shopify product availability in Grok

- Find a TOG24 Craven jacket for Seattle, then use Shopify product availability to check the size medium choices and show the returned colors.
- Find a black rain jacket for Seattle, then use Shopify product availability to check size medium and tell me if the returned combination differs from my request.
- Use Shopify product availability to look this up and give me the result as a table.
- Pull the latest numbers from Shopify product availability and tell me what changed since last week.
- Check Shopify product availability and summarize what you find in three bullet points.

## How to set up Shopify product availability in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Shopify product availability**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "shopify/catalog/get_product",
    "input": {
      "product_id": "<product_id>"
    }
  }'
```

Then paste one of the prompts above: Grok finds Shopify product availability on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## Shopify product availability tools and prices

- [Shopify · Product details](https://spiral.ai/tools/alexandria/shopify/catalog/get_product) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| view |  | — | Advanced Shopify output view. Leave empty for the default representation. |
| intent |  | — | Optional shopping preferences or intended use. |
| region |  | — | Buyer's state, province or region, such as CA. |
| country |  | — | Buyer's two-letter country code, such as US, CA or GB, for localized results. |
| filters |  | — | Advanced filters, such as {"available":true,"price":{"max":15000}}. Price amounts use minor currency units: 15000 means USD 150. |
| currency |  | — | Three-letter currency code, such as USD, CAD or GBP. |

## What can you do with Shopify product availability in Grok?

Turn a shopping request into a shortlist of Shopify products with descriptions and images. Inspect the final options so the shopper can see whether the returned combination matches their request.

### Choose rainwear for a trip

Find rain jackets for a Seattle trip, revisit any product links the shopper already has, and inspect the final size and color choices.

### Build a gift shortlist

Find ceramic mugs for a gift, compare them with the buyer’s saved product links, and inspect the available options before presenting a shortlist.

### Check clothing choices

Discover crewneck sweaters, resolve a shopper’s existing links, and check whether the returned size and color match what they want.

### Replace an unavailable choice

Revisit a saved jacket, inspect its availability, and find alternatives when the shopper’s preferred combination cannot be matched.

### Resume a shopping decision

Resolve a shopper’s saved product URL and inspect its current options so they can continue choosing without starting another descriptive search.

### Turn a description into a concrete choice

Start with a request such as a black rain jacket, then inspect one matching product’s details and available combinations.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok guides](https://spiral.ai/integrations/grok)

## Shopify product availability in other agents

- [Amp](https://spiral.ai/integrations/amp/shopify-product-availability)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/shopify-product-availability)
- [Claude](https://spiral.ai/integrations/claude-desktop/shopify-product-availability)
- [Claude Code](https://spiral.ai/integrations/claude-code/shopify-product-availability)
- [Cline](https://spiral.ai/integrations/cline/shopify-product-availability)
- [Codex](https://spiral.ai/integrations/codex/shopify-product-availability)
- [Cursor](https://spiral.ai/integrations/cursor/shopify-product-availability)
- [Devin](https://spiral.ai/integrations/devin/shopify-product-availability)
- [dots](https://spiral.ai/integrations/dots/shopify-product-availability)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/shopify-product-availability)
- [Gemini](https://spiral.ai/integrations/gemini/shopify-product-availability)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/shopify-product-availability)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/shopify-product-availability)
- [goose](https://spiral.ai/integrations/goose/shopify-product-availability)
- [Grok Build](https://spiral.ai/integrations/grok-build/shopify-product-availability)
- [Hermes](https://spiral.ai/integrations/hermes/shopify-product-availability)
- [Instinct](https://spiral.ai/integrations/instinct/shopify-product-availability)
- [Manus](https://spiral.ai/integrations/manus/shopify-product-availability)
- [Muse](https://spiral.ai/integrations/muse/shopify-product-availability)
- [Muse Code](https://spiral.ai/integrations/muse-code/shopify-product-availability)
- [n8n](https://spiral.ai/integrations/n8n/shopify-product-availability)
- [Notion](https://spiral.ai/integrations/notion/shopify-product-availability)
- [OpenClaw](https://spiral.ai/integrations/openclaw/shopify-product-availability)
- [opencode](https://spiral.ai/integrations/opencode/shopify-product-availability)
- [Perplexity](https://spiral.ai/integrations/perplexity/shopify-product-availability)
- [Raycast](https://spiral.ai/integrations/raycast/shopify-product-availability)
- [VS Code](https://spiral.ai/integrations/vscode/shopify-product-availability)
- [Windsurf](https://spiral.ai/integrations/windsurf/shopify-product-availability)
- [Zapier](https://spiral.ai/integrations/zapier/shopify-product-availability)

## More Grok guides

- [Search products](https://spiral.ai/integrations/grok/search-products)
- [Shopify product details](https://spiral.ai/integrations/grok/shopify-product-details)
- [Savings.com store coupons](https://spiral.ai/integrations/grok/savings-com-store-coupons)
- [Shopify product lookup](https://spiral.ai/integrations/grok/shopify-product-lookup)
- [Savings.com hot coupons](https://spiral.ai/integrations/grok/savings-com-hot-coupons)
- [Shopify product search](https://spiral.ai/integrations/grok/shopify-product-search)

## Questions about Shopify product availability in Grok

**Can Grok use Shopify product availability?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Shopify product availability like any built-in tool.

**How much does Shopify product availability cost in Grok?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need an Alexandria account to use Shopify product availability in Grok?**

No. Spiral runs Shopify product availability on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Shopify product availability in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while Shopify product availability runs?**

Shopify product availability runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**Does Shopify Catalog include every Shopify product?**

No. Products with Unlisted status or hidden from search engines are excluded from Shopify Catalog.

**How fresh are the product details?**

Shopify says its merchants’ products carry current pricing and inventory from the store. Its display guidelines require pricing and availability retrieved within 10 minutes, and titles, descriptions, and options retrieved within 24 hours.

**Is every returned field written by the merchant?**

No. All three Catalog tools can include fields inferred or enriched by Shopify.

**Does a returned product guarantee my requested size and color?**

No. When the full selection has no match, Shopify can drop part of it, so the returned combination can differ from the shopper’s request.

