lemanapro

n8n community node for Lemana PRO product lookup, prices, stock and product links

Documentation

n8n-nodes-lemanapro

n8n community node for low-volume Lemana PRO product lookup from
lemanapro.ru.

The storefront protects normal HTML catalogue/search pages with Qrator. This
package therefore uses browser-facing API/orchestrator endpoints where they are
available and fails clearly when Lemana PRO returns a browser challenge.

Nodes

  • Lemana PRO — standard workflow node. Resource Product, operations
    Search, Get Product, Get Price.
  • Lemana PRO Product Card — resolves a product by LM code or fetches one
    product page by URL/path when the page is readable.
  • Lemana PRO Tool — the same actions exposed to an AI Agent via $fromAI.

What Works

  • Search calls a configurable product search API path when one is provided in
    credentials, normalizes returned product JSON, and returns price, stock and
    card links when those fields are present.
  • If a product endpoint is not configured or not available, Search falls back
    to the public header orchestrator getSuggestions endpoint. That returns
    category/search suggestions such as /catalogue/cement/, not product cards.
  • Get Product accepts an LM code, slug/path, or URL. For numeric LM codes it
    calls get-product-url and returns the resolved card URL when Lemana PRO has
    one.

Credentials

Lemana PRO API contains:

  • Base URL — defaults to https://lemanapro.ru.
  • API Base URL — defaults to https://api.lemanapro.ru.
  • API Key — public storefront X-Api-Key used by the header microfrontend.
  • Region ID — defaults to 34 (Москва, Московская область).
  • Search Endpoint Path — optional product search API path, for example
    /orchestrator/.../products.
  • User Agent — sent with HTML requests.

No private token is required.

Output

Product items are normalized to:

{
  "name": "Цемент М500 25 кг",
  "code": "100500",
  "sku": "100500",
  "slug": "cement-m500",
  "url": "https://lemanapro.ru/product/cement-m500/",
  "image": "https://cdn.lemanapro.ru/...",
  "description": null,
  "brand": "Lemana",
  "category": "Цемент",
  "price": 349,
  "oldPrice": 399,
  "priceText": "349 ₽",
  "currency": "RUB",
  "availability": "InStock",
  "stock": 17,
  "stockText": "Доступно 17 шт",
  "properties": [],
  "source": "api"
}

When only suggestions are available, Lemana PRO Tool returns:

{
  "query": "цемент",
  "found": 0,
  "products": [],
  "suggestions": [
    {
      "name": "цемент",
      "type": "PLP",
      "url": "https://lemanapro.ru/catalogue/cement/",
      "entityId": "095ab520-4347-11ea-8ada-47c25610db68",
      "entityType": "FAMILY",
      "image": "https://cdn.lemanapro.ru/..."
    }
  ]
}

Caveats

This reads third-party storefront APIs, not an official partner feed. For bulk
or contractual catalogue syncs, request an official Lemana PRO price/stock feed.
The product-list endpoint can differ between storefront releases; set Search
Endpoint Path
when you have the current product API path.

Development

pnpm install
pnpm build
pnpm test
pnpm lint

License

MIT

Discussion