Kowal AI Product Feed for OpenAI Vector Store and LLMs
- Compatibility
- 2.4.9, 2.4.8, 2.4.7, 2.4.6, 2.4.5, 2.4.4, 2.4.3, 2.4.2, 2.4.1, 2.4.0, 2.3.7, 2.3.6, 2.3.5, 2.3.4
Description / Kowal AI Product Feed for OpenAI Vector Store and LLMs
MAGENTO 2 · AI DATA · VECTOR STORE · CSV CATALOGS
Prepare store data for AI assistants and advertising catalogs.
Kowal AI Product Feed
Combine catalog export, knowledge synchronization, and public feeds in one module. Select products with Magento conditions, manage store view profiles, and control data updates.
CSV and Magento Conditions · Change synchronization · llms.txt and NDJSON
HOW IT WORKS IN PRACTICE
01 · Select content and offer
Enable knowledge channels and catalog profile conditions.
02 · Generate and verify data
The module exports content and validates the CSV catalog.
03 · Publish the selected channel
Use Vector Store, public endpoints, or the feed link.
What does your store gain?
Explore the module features, use cases, and settings.
Get to know the module
Kowal AI Product Feed connects the Magento 2 catalog with AI tools and prepares product data for OpenAI Ads campaigns. From one module, you can share an advertising catalog through an HTTPS link, feed OpenAI Vector Store, and publish content for AI assistants, semantic search engines, and RAG solutions.
The module organizes, normalizes, and publishes store data, giving you control over product selection, language version, and update frequency. You can prepare separate feeds for different stores, brands, or collections using rules available directly in the Magento admin panel.
As a result, Magento can become a real knowledge source for:
- chatbots and product copilots,
- intelligent customer service,
- semantic search,
- AI-generated answers,
- content automation,
- catalogs used in OpenAI Ads product campaigns,
- external AI integrations based on public or private feeds.
What the module does in practice
The module retrieves data from Magento and builds structured knowledge documents from it. It supports not only product content but also additional content channels that matter from an AI and sales perspective.
Currently, it can work with content such as:
product.core- basic product data, descriptions, URLs, attributes, and categories,product.faq- product questions and answers,product.docs- documentation and Markdown files,blog.article- blog posts,category.content- category content,cms.page- CMS pages.
When synchronizing knowledge to Vector Store, documents are saved locally, compared by checksum, and synchronized only when they have actually changed. This reduces redundant uploads, stabilizes the synchronization process, and gives greater control over costs and data quality.
OpenAI Ads — prepare your catalog for product campaigns
The feed is prepared as a source of information about the offer for OpenAI Ads product campaigns: names, descriptions, prices, availability, images, and product pages. After proper configuration on the platform side, the catalog can be connected to a campaign, and the supported ad template can use data from the selected product. This makes it possible to work with many catalog items without manually preparing a separate creative for each one. Learn more about OpenAI Ads product campaigns.
For the store, this means the ability to use data already maintained in Magento to support another advertising channel. Kowal AI Product Feed prepares and updates the catalog so the marketing team can focus on offer selection and campaign management.
The module exports names, HTML-free descriptions, images, links, brand, seller, availability, and price with currency designation. When the final price is lower than the regular price, it also adds the sale price. Products in the Ads feed receive a designation that qualifies them for advertising processing.
An account with access to the appropriate Ads features, campaign configuration, budget, and product approval remain on the OpenAI Ads Manager side. The export itself does not launch ads or guarantee their delivery; the module is responsible for preparing catalog data. Product serving eligibility rules.
Feed under a permanent HTTPS link
Publish the catalog as a hosted URL and use it when configuring import in Ads Manager. The module generates a CSV file with column headers, which you can also download for manual upload.
Each profile has its own permanent link. The next successful generation updates the file at the same address, so there is no need to replace the URL every time the offer changes. After connecting the catalog, you check column mapping and configure retrieval on the advertising panel side if this option is available in your account.
In Magento, you decide whether a given feed should be publicly available. You can disable its sharing without deleting the saved configuration and product selection conditions.
Separate catalogs for store views, languages, and offers
The OpenAI Ads Feeds panel lets you manage multiple export profiles. You assign each profile to one store view, and for the same view you can create several feeds with different conditions.
In practice, you can prepare, for example:
- separate catalogs for the Polish and English versions of the store,
- a feed for a selected brand or product category,
- a seasonal collection catalog,
- a set of products indicated by SKU or a custom attribute.
Data is retrieved in the context of the selected store view, with its content and default presentation currency. This makes it easier to prepare an offer tailored to a specific store version and reduces manual correction of exports.
Magento Conditions — select products without manually building lists
You configure the feed scope using native Magento conditions known from catalog rules. You can combine criteria, create nested groups, and specify whether a product must meet all conditions or any one of them is enough.
For example: select products from the Shoes category, limit them to a selected brand, and exclude specified SKUs. The availability of custom attributes in the builder depends on their configuration for use in Magento promotional rule conditions.
With each generation, the module evaluates the conditions again. A new product that meets the criteria can therefore be included in the next export without adding it to a separate list. You retain control over the assortment sent to the advertising catalog while using data maintained in the store.
Variants, updates, and quality control
The export supports simple, virtual, and downloadable products as well as configurable product variants. An eligible variant is a separate item with its own price, availability, and selected options. The relation to the parent product preserves information about the shared variant family.
You can generate the catalog manually from the admin panel, and for regular updates you can enable daily generation via Magento cron. A CLI command is also available for technical teams. Each Ads export contains the full set of products selected by the saved conditions.
The grid shows the status, number of products in the published file, and date of the last successful generation. Validation checks required data before publication. If the export fails, the module saves its description and keeps the previous valid file. This makes it easier to catch missing descriptions, images, or brand data before the next import.
Public AI and LLM endpoints
In the new version, the module can also publish data under public frontend endpoints:
/llms.txt/ai-feed/{storeCode}/index.json/ai-feed/{storeCode}/{contentType}.ndjson
This means the store can not only synchronize data to OpenAI Vector Store but also provide a controlled content layer for external AI agents, crawlers, and integration tools.
The module can additionally:
- add a signal to the page
headthrough a link tollms.txt, - optionally display a link to
llms.txtin the footer, - publish feeds per store view and per language,
- maintain consistency between store content, the AI layer, and the public content discovery layer.
Why this matters for business
In many stores, the data needed to implement AI is scattered: some in product descriptions, some in FAQs, some in the blog, and some in separate technical materials. Without an integration layer, it is difficult to build stable AI solutions on top of it.
Kowal AI Product Feed solves this problem because it:
- prepares the catalog for OpenAI Ads product campaigns,
- reduces manual creation and updating of advertising files,
- allows assortment selection separately for each feed,
- centralizes store knowledge in one export and synchronization architecture,
- organizes data for use by language models,
- reduces the cost of building further AI integrations,
- shortens implementation time for chats, assistants, and semantic search engines,
- helps develop an
AI SEO,AEO, andLLM discoverabilitystrategy, - provides a foundation for multilingual AI implementations in Magento 2.
This can streamline the launch of new features, improve the consistency of AI-generated answers, and make better use of the content the store already has.
Who this module is for
The module is intended for:
- Magento 2 stores preparing a catalog for OpenAI Ads,
- e-commerce and marketing teams managing offers across multiple brands or language versions,
- Magento 2 stores implementing an AI chat or AI assistant,
- companies building semantic search engines and RAG on e-commerce data,
- technical teams integrating Magento with
OpenAI, - stores developing multilingual product knowledge bases,
- agencies and software houses implementing AI in Magento,
- brands that want to prepare their store for future LLM content discovery channels.
How other modules use it
Other modules can use Kowal AI Product Feed as a central knowledge source and integration layer instead of building separate exports, custom data serializations, and their own synchronization processes.
Example use cases:
- an AI chat module can ask questions to
Vector Storeand answer based on current product knowledge, - an FAQ module can enrich the shared knowledge base with additional questions and answers,
- a documentation module can feed AI with instructional and technical content,
- a customer service module can use the same data for contextual answers,
- a recommendation module can use structured content for better product matching,
- content modules can extend the knowledge layer with blog, CMS, and additional document types.
Most importantly, other modules do not need to know the technical details of synchronization, checksums, file export, or upload to OpenAI. They receive a ready-made, consistent, and extensible data layer.
Key benefits
- CSV product feeds prepared for use in OpenAI Ads,
- permanent HTTPS links to catalogs and the ability to download files manually,
- independent export profiles per store view,
- product selection using Magento Conditions,
- support for configurable variants and sale prices,
- manual or daily generation, validation, and status preview in the admin panel,
- ready-made AI data layer for Magento 2,
- support for
OpenAI Vector Store, - public
llms.txtandNDJSONfeeds, - synchronization of changed content only,
- support for multiple content channels,
- preparation for
AI SEO,AEO, and LLM integrations, - compatibility with Magento store view and language version architecture,
- a solid foundation for further AI automation development in the store.
Three data paths, separate settings
Knowledge synchronization to Vector Store, public AI feeds, and Ads catalog profiles have different roles. You can publish public feeds independently of remote synchronization; sending data to Vector Store requires an API key and the identifier of the appropriate store view.
Exporting a file does not create a campaign or ensure catalog approval by an external platform. You verify the import format and feature availability on the target account side.
Sources for additional channels
FAQ uses the available source of product questions, documentation uses Markdown files assigned to SKUs, and the blog uses supported integrations or a custom source. Channels require real data — enabling them alone does not generate new content.
Local files are created in var/ai-feeds. The checksum limits resending unchanged knowledge, and synchronization cleanup covers documents that have disappeared or have been disabled.
Catalog and condition validation
Ads profiles use supported Magento product rule condition types; custom condition classes require adjustment. The export skips, among others, items that do not qualify for record creation and free offers.
Required data errors stop publication of the entire new file. The previous valid catalog remains available, and the panel saves the status and error description. An intentionally empty condition selection may generate an empty catalog.
Installation via Composer
Package kowal/module-ai-product-feed, module Kowal_AiProductFeed. After configuring access to the Kowal repository, install the package, enable the module, update Magento, and clear the cache. In production, include compilation and static content deployment according to the store process.
From configuration to result
1. Select content and offer
Enable knowledge channels and catalog profile conditions.
2. Generate and verify data
The module exports content and validates the CSV catalog.
3. Publish the selected channel
Use Vector Store, public endpoints, or the feed link.
One knowledge source, several use cases
Products, FAQ, and documentation feed the assistant knowledge base. A separate CSV profile includes the selected brand in the Polish store view.
Each path has its own settings. Knowledge synchronization compares changes, and the Ads catalog is created as a full export of saved conditions.
Prepare a structured AI data layer
Want to adapt the module to your store? Ask about implementing Kowal AI Product Feed and discuss configuration or the extensions you need.
More Information
| Purchase information | DEMOusername: aifeed |
|---|---|
| Theme compatibility | Luma / Blank, KOWAL |
Change Log
Module Installation Instructions
Kowal AI Product Feed - installation and configuration
Document purpose
This document describes the full process of installing, launching, and configuring the Kowal_AiProductFeed module in Magento 2. It has been prepared so you can move from technical deployment to the first working export and publication of llms.txt.
Module functional scope
The module enables:
- export of store content to
JSONandJSONLfiles, - data synchronization to
OpenAI Vector Store, - support for multiple content channels, such as product, blog, category, and CMS,
- publication of public endpoints:
/llms.txt/ai-feed/{storeCode}/index.json/ai-feed/{storeCode}/{contentType}.ndjson
- adding a link to
llms.txtin theheadsection, - optionally adding a link to
llms.txtin the store footer.
llms.txt works per current Store View. This means each language version can return its own manifest and its own feed links.
Prerequisites
Before installation, make sure that:
- Magento 2 is running correctly,
- you have SSH access to the Magento root directory,
Composeris available in the environment,- the PHP process can write to the
var/directory, - you have an active
OpenAI API Keyif you want to use synchronization toOpenAI Vector Store.
Module installation
1. Adding the Composer repository
Add the Kowal Composer repository:
Access details for the Composer repository, including the customer email address and license token, will be sent by email after purchase. They are also available in the customer panel after logging in at kowal.store. Replace TWOJ_EMAIL_KLIENTA with the email address of your account and TWOJ_TOKEN with the token you received. Run the commands in the Magento root directory.
composer config repositories.kowal composer https://repo.kowal.storeIf the repository is private:
composer config http-basic.repo.kowal.store 'TWOJ_EMAIL_KLIENTA' 'TWOJ_TOKEN'2. Package installation
composer require kowal/module-ai-product-feed3. Enabling the module
bin/magento module:enable Kowal_AiProductFeed4. Updating Magento
bin/magento setup:upgrade5. Compilation and cache
In a production environment, also run:
bin/magento setup:di:compile
bin/magento cache:flushIn a development environment, usually this is enough:
bin/magento cache:flushIf an additional cache layer runs in front of Magento, also perform a purge on the side of:
VarnishCloudflareNginx fastcgi/proxy cache- another reverse proxy or CDN
6. Confirming module status
bin/magento module:status Kowal_AiProductFeedConfiguration location
The module configuration is available in the panel:
Stores -> Configuration -> General -> Kowal AI Feed
Recommended configuration model
Best practice is to configure at the Store View level, especially if the store operates in multiple languages.
Recommendation:
- one
Store View= one language, - one
Store View= oneVector Store ID, - one
Store View= a separate public AI feed layer.
Example:
PLstore view -> PolishVector Store IDENstore view -> EnglishVector Store ID
Field configuration
Enable Module
Enables the module for the selected scope.
Recommendation:
- set
Yeson theStore Viewinstances that should generate AI data
OpenAI API Key
Global API key used for communication with OpenAI.
Required if:
- you want to synchronize files to
OpenAI Vector Store
Not required if:
- you only want to use local exports,
- you only want to use
llms.txtand public feeds.
Vector Store ID
OpenAI Vector Store identifier for a specific Store View.
Recommendation:
- configure at the
Store Viewlevel, - set a separate identifier for each language.
Feed Location
Relative path to the directory where export files will be saved.
Default value:
var/ai-feeds
Recommendation:
- keep the directory in
var/, - do not expose this directory directly through the webserver.
Enable Public AI Feed
Enables public endpoints:
/llms.txt/ai-feed/{storeCode}/index.json/ai-feed/{storeCode}/{contentType}.ndjson
Enable this option only for those store views whose content can be publicly available.
Important:
/llms.txtis not a global index of all stores- each language version of the store returns its own manifest
/llms.txtitself does not require generated files to exist in order to respond correctly
Show LLMs.txt Link in Footer
Adds a visible link to /llms.txt in the store footer.
Recommendation:
Noby default,Yesif you want to explicitly communicate the availability of the AI layer to partners, integrators, or bots.
Docs Location
Relative path to the directory with Markdown product documentation for product.docs.
Examples:
var/ai-docsvar/ai-docs/pl
Supported files include:
{docsLocation}/{SKU}.md{docsLocation}/{SKU}.markdown{docsLocation}/{storeCode}/{SKU}.md{docsLocation}/{storeCode}/{SKU}.markdown{docsLocation}/{SKU}/*.md{docsLocation}/{SKU}/*.markdown{docsLocation}/{storeCode}/{SKU}/*.md{docsLocation}/{storeCode}/{SKU}/*.markdown
Max Products Per Batch
Batch size for product export.
Starting value:
500
Decrease the value if:
- the catalog is very large,
- the environment has limited memory,
- additional AI operations increase the load.
Sync Product Core
Enables the product.core content type.
Recommendation:
Yes
Sync Product FAQ
Enables product.faq.
Use if the store has data in the kowal_zapytajoprodukt_pytania table.
Sync Product Docs
Enables product.docs.
Use if Markdown documentation is already prepared.
Sync Blog Content
Enables the blog channel and the blog.article type.
Sync Category Content
Enables the category channel and the category.content type.
Sync CMS Pages
Enables the cms_page channel and the cms.page type.
Max Retries
Maximum number of API operation attempts.
Default:
3
Polling Timeout
Maximum wait time for file processing to finish on the OpenAI side.
Default:
600
Polling Interval
Interval between subsequent status checks.
Default:
5
HTTP Timeout
Maximum time for a single HTTP request to OpenAI.
Default:
60
Recommended configuration order
After installation, configure the module in this order:
- Enable the module for the target
Store View. - Add
OpenAI API Keyif you plan to synchronize withOpenAI. - Set
Vector Store IDfor each language. - Verify
Feed Location. - Set
Docs Locationif you use Markdown documentation. - Enable the required content types and channels.
- Enable
Enable Public AI Feedif the endpoints should be publicly available. - Optionally enable
Show LLMs.txt Link in Footer. - Clear the Magento cache.
bin/magento cache:flushFirst launch
Dry run
First, run a dry test for one Store View:
bin/magento kowal:ai-export:sync --channel=product --store=1 --dry-runActual export
Then run the actual synchronization:
bin/magento kowal:ai-export:sync --channel=product --store=1Checking status
bin/magento kowal:ai-export:status --store=1Verifying public endpoints
If Enable Public AI Feed is enabled, check:
curl -i https://twoja-domena.pl/llms.txtcurl -i https://twoja-domena.pl/ai-feed/pl/index.jsoncurl -i https://twoja-domena.pl/ai-feed/pl/product.core.ndjsonIf the store has separate language versions in the URL, also check:
curl -i https://twoja-domena.pl/en/llms.txtcurl -i https://twoja-domena.pl/de/llms.txtExpected behavior:
/llms.txtreturns the manifest only for the currentStore View/llms.txtworks even when no feed files have been generated yet/ai-feed/{storeCode}/index.jsonshows only existing feeds for the given store/ai-feed/{storeCode}/{contentType}.ndjsonworks only when the appropriate source files exist
Cache header verification:
curl -I https://twoja-domena.pl/llms.txtcurl -I https://twoja-domena.pl/ai-feed/pl/index.jsonYou should see:
- for
/llms.txt, headers that practically disable cache, - for
index.json, a short cache lifetime and forced revalidation.
HTML verification:
- in the page source, a link in
headto/llms.txtshould appear, - if you activated the footer option, the
LLMs.txtlink should appear in the footer.
CLI commands
Synchronization
bin/magento kowal:ai-export:sync --channel=product
bin/magento kowal:ai-export:sync --channel=product --store=1
bin/magento kowal:ai-export:sync --channel=product --store=1 --content-type=product.core --identifier=example-sku --dry-run
bin/magento kowal:ai-export:sync --channel=blog --store=1 --source=amasty_blog
bin/magento kowal:ai-export:sync --channel=category --store=1
bin/magento kowal:ai-export:sync --channel=cms_page --store=1Status
bin/magento kowal:ai-export:status
bin/magento kowal:ai-export:status --store=1
bin/magento kowal:ai-export:status --channel=blog --store=1
bin/magento kowal:ai-export:status --channel=blog --store=1 --source=amasty_blogImporting blog sources
bin/magento kowal:ai-blog-source:import --source=amasty_blog --store=1Old product alias
Still available for backward compatibility:
bin/magento kowal:ai-feed:generate
bin/magento kowal:ai-feed:generate --store=1 --content-type=product.core --sku=example-sku --dry-runCron
The module uses three cron jobs:
kowal_ai_blog_source_importkowal_ai_feed_generatekowal_ai_feed_cleanup
Make sure Magento cron works correctly in the environment.
Most common issues
/llms.txt returns 404
Check:
- whether the current module version with frontend routing is deployed,
- whether you ran
bin/magento setup:upgrade, - whether you ran
bin/magento setup:di:compilein production mode, - whether you performed the standard static content deploy according to the project process,
- whether you cleared the cache,
- whether you purged the CDN / reverse proxy layer,
- whether
Enable Public AI Feedis enabled.
If https://twoja-domena.pl/llms.txt?v=123 works but https://twoja-domena.pl/llms.txt does not, it usually means that an old shared cache is still active somewhere along the way.
/llms.txt works, but feeds are empty
This usually means that:
- no export has been performed yet,
- there is no active content for the given channel,
- the appropriate synchronization flags are disabled.
This behavior is correct. The manifest itself can work before the actual feeds.
No files in var/ai-feeds
Check:
- whether the module is active on the correct
Store View, - whether the required content types are enabled,
- whether Magento has write permissions to
var/, - whether the synchronization process has been started.
Problems with synchronization to OpenAI
Check:
- correctness of the
OpenAI API Key, - correctness of the
Vector Store ID, - availability of outgoing HTTP connections,
- timeout and retry values.
Summary
After proper installation and configuration, the module gives Magento 2 a ready-made data layer for AI:
- local,
- multilingual,
- able to synchronize with
OpenAI, - ready for publication through
llms.txtandNDJSONfeeds, - extensible for further AI integrations and modules.