hac_ingest_external_storefront
Crawl an external e-commerce storefront, extract product catalog data, normalize it into SAP Commerce ImpEx, import into the target ProductCatalog, then sync online and reindex Solr.
Instructions
Crawls an external storefront (Shopify, WooCommerce, Magento, or any public e-commerce site), extracts product catalog structure, product names, descriptions, prices, images, and attributes, normalizes them into SAP Commerce ImpEx format, imports them into the target ProductCatalog, syncs to Online, and reindexes Solr.
This is STEP 2 of the zero-to-live pipeline (automatically invoked after hac_scaffold_greenfield_site when the user provides a source_url).
After this tool completes, the agent should continue with:
hac_catalog_sync (if sync_online=False was set)
hac_solr_reindex (if reindex_solr=False was set)
hac_spartacus_doctor + hac_storefront_autofix (headless self-healing)
Args: site_url: The customer's existing website URL to crawl (e.g. 'https://shop.example.com') catalog_id: Target ProductCatalog ID to import products into max_products: Maximum number of products to extract (default 20) convert_to_b2b_cases: Convert product models to B2B unit-of-measure (cases/pallets) target_currency: Currency code for imported prices sync_online: Auto-sync Staged→Online after import (default True) reindex_solr: Auto-trigger full Solr reindex after import (default True)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_url | Yes | ||
| catalog_id | Yes | ||
| sync_online | No | ||
| max_products | No | ||
| reindex_solr | No | ||
| target_currency | No | USD | |
| convert_to_b2b_cases | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |