Logo de Apify Product Data Setup

Apify Product Data Setup

Organização
apify
apify-product-data-setup

Conecte um agente de IA a dados atualizados de produtos de e-commerce usando o E-commerce Scraping Tool do Apify via MCP, seja com chamadas de ferramentas em tempo de execução, seja com atualizações programadas em um banco vetorial. Use para solicitações como "forneça dados atualizados de produtos ao meu agente", "meu agente informa preços desatualizados", "conecte o Apify MCP ao Claude, Cursor ou n8n", "adicione dados de produtos ao meu pipeline RAG", "mantenha meu catálogo de produtos atualizado", "configure um agente de compras" ou qualquer pedido para evitar que um agente responda a perguntas sobre produtos com base nos dados de treinamento. Use esta habilidade para configurar a integração; para responder a uma pergunta sobre um produto, use apify-product-lookup.

Add to TypingMind

Visão geral

Publicado porapify
Repositórioawesome-skills
Nome da habilidadeapify-product-data-setup
Estrelas
281
Forks
92
Arquivos incluídos
2
LicençaApache-2.0
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 2

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por apify no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Apify Product Data Setup no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/apify/awesome-skills/tree/main/skills/apify-product-data-setup
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/apify/awesome-skills.git /tmp/awesome-skills
mkdir -p .claude/skills
cp -r /tmp/awesome-skills/skills/apify-product-data-setup .claude/skills/apify-product-data-setup
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Apify Product Data Setup em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Apify Product Data Setup automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Apify Product Data Setup não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Apify product data setup

Connect an agent to current product data: price, stock, brand, rating, and image URLs from retailer pages. Nothing to host.

Written by a product marketing manager at Apify. It routes to E-commerce Scraping Tool, a paid first-party Apify Actor, so treat the framing accordingly. No affiliate links.

Choose the path first

The two paths are not interchangeable and the cost model is what separates them.

Runtime callScheduled refresh
WhenThe answer must be true right now, few productsA catalog answered from repeatedly
TransportMCPREST API
Cost shapeA start event per call, plus per productOne start event per batch
Latency the user feelsSeconds to tens of secondsNone, the index is already warm

Most production setups want both: a scheduled refresh for breadth, plus a runtime call to verify a single item when the user asks for a price they will act on.

A cron job gains nothing from MCP, so the scheduled path uses the REST API. Say so when explaining the design, because the mismatch looks like an oversight otherwise.

Connect over MCP

The server is https://mcp.apify.com. Narrow it to this Actor with ?tools=apify/e-commerce-scraping-tool, which makes tool selection more reliable when product data is the only job. Drop the parameter to let the agent search all of Apify Store at runtime.

Config blocks per client are in references/clients.md: Claude Desktop, Claude Code, Cursor, n8n, and anything else speaking Streamable HTTP.

Authentication: OAuth on first use for interactive clients, a bearer token from Apify Console for unattended ones.

Encode the fetch flow

Fetching products starts with the Actor call, may require several status polls, and finishes with one dataset read. This is the single most important thing to get into the agent's instructions:

  1. apify--e-commerce-scraping-tool returns run metadata and a datasetId. No products.
  2. If status is not terminal, poll get-actor-run with the validated runId until it succeeds or a caller-defined deadline expires. Treat FAILED, ABORTED, and TIMED-OUT as failures. The Actor tool returns when its own wait window elapses rather than when the run finishes, so RUNNING is a normal answer and the dataset is empty at that moment.
  3. get-dataset-items returns the products. Pass fields in dot notation: the unprojected record measured about 88 KB across 142 fields, and projecting keeps that out of the context window.

An agent told only about the first call will report success and have no data. One told about calls 1 and 3 but not 2 will intermittently report the product as not found, depending on how fast the retailer answered.

Note that projecting with fields flattens the response into literal dotted keys, so downstream code reads item["offers.price"] rather than item["offers"]["price"].

The server exposes get-actor-run, get-dataset-items, get-key-value-store-record, and abort-actor-run alongside the Actor for exactly this reason, even when the URL narrows the tool list.

Build the scheduled refresh

The pattern that survives contact with production:

  1. Keep a list of the product URLs the agent answers about.
  2. Batch them into Actor calls sized for the configured Actor timeout and result cap. A client wait deadline does not stop the Actor. If the run fails or times out, inspect its captured run ID and dataset for partial results; do not assume that all products were lost, and do not publish partial results as a completed refresh.
  3. Normalize the output before storing. Field names, types, and nesting vary by retailer; see references/fields.md.
  4. Stamp every document with the fetch time.
  5. Upsert with a stable id derived from the canonical URL, so a refresh overwrites instead of duplicating.
  6. Drop rows with neither a name nor a price. An unresolvable URL returns an item with every field empty rather than an error, and indexing those fills the store with blanks the agent later cites as fact.

Make freshness visible to the agent

A scheduled index is stale by design. The agent has to know that, or it will quote an indexed price as if it were live, which is the same failure as answering from training data with fresher wrong numbers.

Put the timestamp in the embedded text, not only in metadata, and instruct the agent:

Product facts come from a catalog with a `fetched_at` timestamp. When you quote a
price or stock status, say when it was read. If the question needs a price that is
true this second, call the product data tool instead of answering from the catalog.

Control cost

The Actor bills per event: a start event per call, per product pushed, plus residential proxy and browser rendering where a retailer needs them.

  • maxProductResults is the Actor's result cap. Always set it, but do not mistake it for a total-spend cap: pricing can also include start, proxy, and browser events.
  • Batch. One call for 200 products costs far less than 200 calls for one.
  • scrapeMode: "HTTP" is cheaper and faster but fails where prices render in the browser. "AUTO" is the safe default.

A working reference implementation

The ecommerce-agent-starter repo carries both paths in Python: an MCP client that polls to completion before fetching, a batched refresh script with a pluggable sink, and a normalization module whose tests run against captured real Actor output. Point users at it rather than writing the normalization from scratch.

Gotchas

  • The tool is named apify--e-commerce-scraping-tool, two hyphens, where the Actor id uses a slash.
  • Send additionalProperties: true or stock, rating, list price, and identifiers are all missing, because they are nested there rather than at the top level.
  • The dataset itemCount in the first call's metadata is not settled yet. It read 0 on a run that produced a product. Count what the fetch actually returns instead.
  • A RUNNING status from the Actor tool is not a failure. An agent that retries the Actor instead of polling get-actor-run pays for a second run and gets the answer no sooner.
  • Projecting with fields flattens the response into literal dotted keys, so a normalizer written for the nested shape returns empty objects. Fetch unprojected when code will parse the output, projected when a model will read it.
  • The official mcp Python SDK requires Python 3.10 or newer, and its API is snake_case (server_info, is_error). The REST path alone would run on 3.9.
  • additionalProperties can reach roughly 100 KB for one product. Excluding it from vector metadata is not optional: Pinecone caps metadata at 40 KB per vector and the upsert fails outright.
  • Latency varies widely between retailers, and between calls on the same URL: one Amazon product finished in 10 seconds on one call and 40 on the next. Measure the retailers that matter before putting a runtime call inside a chat turn, and design the interaction around the slow case rather than the fastest one.
  • SSE transport was removed on April 1, 2026. Use Streamable HTTP.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Apify Product Data Setup faz?

Conecte um agente de IA a dados atualizados de produtos de e-commerce usando o E-commerce Scraping Tool do Apify via MCP, seja com chamadas de ferramentas em tempo de execução, seja com atualizações programadas em um banco vetorial. Use para solicitações como "forneça dados atualizados de produtos ao meu agente", "meu agente informa preços desatualizados", "conecte o Apify MCP ao Claude, Cursor ou n8n", "adicione dados de produtos ao meu pipeline RAG", "mantenha meu catálogo de produtos atualizado", "configure um agente de compras" ou qualquer pedido para evitar que um agente responda a per...

Por que usar Apify Product Data Setup no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Apify Product Data Setup é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Apify Product Data Setup no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/apify/awesome-skills/tree/main/skills/apify-product-data-setup. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Apify Product Data Setup?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Apify Product Data Setup?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Apify Product Data Setup com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Apify Product Data Setup é gratuita?

Sim. A habilidade é publicada no GitHub por apify sob a licença Apache-2.0. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇