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

n8n · E-commerce

How to Use Open Food Facts category and brand suggestions in n8n

Get suggested category and brand names with the identifiers Open Food Facts uses to organize products. Use these terms to prepare product searches or label grocery filters consistently.

Prompts to try with Open Food Facts category and brand suggestions in n8n

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

On the first day of each month, use Open Food Facts category and brand suggestions to retrieve French category suggestions and report differences from the previous returned list.

Open Food Facts category and brand suggestionsn8n
Try asking
  • Every Monday at 9am: use Open Food Facts category and brand suggestions to look this up and give me the result as a table.

  • Pull the latest numbers from Open Food Facts category and brand suggestions and tell me what changed since last week.

  • Check Open Food Facts category and brand suggestions and summarize what you find in three bullet points.

  • Pull the newest data from Open Food Facts category and brand suggestions and give me the result as a table.

How to set up Open Food Facts category and brand suggestions in n8n

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

Use the Spiral skill

  1. Send n8n 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 Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run Open Food Facts category and brand suggestions in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Open Food Facts category and brand suggestions, prices it and runs it each time the step fires.

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 Open Food Facts category and brand suggestions

    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": "world-openfoodfacts-org/foods/suggest",
        "input": {
          "prefix": "<prefix>"
        }
      }'

Then paste one of the prompts above: n8n finds Open Food Facts category and brand suggestions on Spiral, shows the price and runs it.

Open Food Facts category and brand suggestions providers and prices

Spiral runs Open Food Facts category and brand suggestions through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
Open Food Facts · Suggest
world-openfoodfacts-org/foods/suggest

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Size1 to 50

Maximum number of options; default 10.

Every API field of Open Food Facts · Suggest is on its tool page: open its card above.

What can you do with Open Food Facts category and brand suggestions in n8n?

Keep a recurring grocery report tied to the same Open Food Facts products and classifications. A scheduled agent can repeat lookups and flag differences in the returned records for review.

Compare foods within a category

Resolve a category such as oat milks, find matching products, and inspect their barcode records to compare reported ingredients and nutrition on the same basis.

Build a grocery catalog in two languages

Use taxonomy identifiers to organize translated category names, find foods for the catalog, and attach ingredients and nutrition from individual product records.

Audit category data completeness

Choose a category from the source's suggestions, collect matching barcodes, and check individual records for missing ingredients, nutrition facts, or scores.

Research a public brand's product range

Resolve the brand name, gather matching foods, and inspect selected barcode records for differences in reported ingredients and nutrition.

Create grocery search filters

Populate category and brand controls from source suggestions, then use product search results and facet counts to help readers narrow their choices.

Questions about Open Food Facts category and brand suggestions in n8n

Can n8n use Open Food Facts category and brand suggestions?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run Open Food Facts category and brand suggestions like any built-in tool.

How much does Open Food Facts category and brand suggestions cost in n8n?

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

Do I need an Alexandria account to use Open Food Facts category and brand suggestions in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs Open Food Facts category and brand suggestions on its own Alexandria account.

How long does it take to set up Open Food Facts category and brand suggestions in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while Open Food Facts category and brand suggestions runs?

Open Food Facts category and brand suggestions runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

Which countries does Open Food Facts cover?

Open Food Facts covers food products worldwide and contains millions of records. Its scope extends beyond a single country's food catalog.

Does finding a product mean its record is complete?

No. Open Food Facts explicitly says a listed product may still lack data, so finding a barcode does not establish that its ingredients or nutrition information is complete.

How does product information get updated?

Contributors can edit, correct, and complete existing contributions. Updates therefore depend on changes to the contributed records.

Why might a product have no Nutri-Score?

Missing nutrition data can prevent Open Food Facts from computing a Nutri-Score. The source's tutorial also shows a product missing the category and sodium information needed for the calculation.

How does Open Food Facts handle different languages?

Its taxonomies associate canonical identifiers with translations and synonyms. This lets category terms in different languages refer to the same underlying classification.

Get started

Start using Open Food Facts category and brand suggestions in n8n

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

Paste this into n8n:

Set up n8n

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