Skip to content

Product Feeds (Google Merchant / Heureka)

Import from XML feed

integration:
  name: "ProductFeedImport"
  type: "import"
  schedule: "0 3 * * *"  # Every day at 03:00

  source:
    type: "http"
    url: "https://supplier.com/feed.xml"
    format: "xml"

  entity: "Product"
  identifierField: "code"

  mapping:
    xpath:
      items: "//SHOP/SHOPITEM"

    fields:
      code: "CODE"
      name: "NAME"
      description: "DESCRIPTION"
      salePrice: "PRICE_VAT"
      purchasePrice: "PURCHASE_PRICE"
      manufacturer: "MANUFACTURER"
      images: "IMGURL"
      category: "CATEGORYTEXT"

  processing:
    # Update existing products
    onMatch: "update"

    # Create new ones
    onCreate:
      active: true
      category: "Imported"

    # Products missing from the feed
    onMissing: "deactivate"

  notifications:
    onComplete:
      to: "role:ProductManager"
      template: "feed_import_summary"

Processing

Action Description
onMatch: update Update existing records
onMatch: skip Skip existing
onCreate Settings for new records
onMissing: deactivate Deactivate missing
onMissing: delete Delete missing

➡️ Continue to Electronic Signatures.