Spiral gives your agent every tool with one account. Browse the tools →

Factory Droid · E-commerce

How to Use Shopify product search in Factory Droid

Returns matching products across eligible Shopify merchants, including descriptions, images, pricing, options, and availability. Use it to discover choices from a shopper’s description; pagination stops at 1,000 results and reported totals are estimates.

Prompts to try with Shopify product search in Factory Droid

Copy an example into Factory Droid, or ask in your own words.

Use Shopify product search to find rain jackets for Seattle, then add the returned titles, descriptions, and images to this project’s shopping comparison component.

Shopify product searchFactory Droid
Try asking
  • Use Shopify product search for ceramic coffee mugs for Toronto and populate this project’s shopper shortlist with the returned descriptions and product links.

  • Use Shopify product search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Shopify product search and tell me what changed since last week.

  • Check Shopify product search and summarize what you find in three bullet points.

How to set up Shopify product search in Factory Droid

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

Use Spiral's MCP server

  1. Add the server

    Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.

    droid mcp add spiral https://api.spiral.ai/mcp --type http
  2. Sign in

    Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

  3. Check it

    Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.

    droid mcp list

Use the Spiral skill

  1. Send Factory Droid 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.

    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 search

    One request; the result comes back by polling or a webhook.

    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/search_catalog",
        "input": {
          "query": "<query>"
        }
      }'

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

Shopify product search providers and prices

Spiral runs Shopify product search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
Shopify · Search products
shopify/catalog/search_catalog

Settings you can ask for

Ask Factory Droid for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 50

Number of products per page, from 1 to 50. Shopify defaults to 10.

Every API field of Shopify · Search products is on its tool page: open its card above.

What can you do with Shopify product search in Factory Droid?

Build a product chooser that shows Shopify descriptions, images, and available options beside a shopper’s shortlist. Check the returned selection before the interface labels a size and color as a match.

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.

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.

Questions about Shopify product search in Factory Droid

Can Factory Droid use Shopify product search?

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

How much does Shopify product search cost in Factory Droid?

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

Do I need an Alexandria account to use Shopify product search in Factory Droid?

No. Spiral runs Shopify product search 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 search in Factory Droid?

About two minutes: add the server, then sign in, then check it.

Does Factory Droid wait while Shopify product search runs?

Shopify product search runs in the background. Factory Droid 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.

Get started

Start using Shopify product search in Factory Droid

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Factory Droid:

Set up Factory Droid

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options