Data Import

Importing Files into SmartFeeds: Supported Formats and Methods

This guide is for users looking to import various data sources into SmartFeeds and covers supported file formats, import methods, and troubleshooting common XML errors. It will be especially useful for those managing complex product feeds or using third-party data integration on SmartFeeds.

Table of Contents

  1. Supported File Formats for Import
  2. Import Methods
  3. Special Import Configurations
  4. Troubleshooting XML Errors
  5. Actions and Insights on Configured Imports
  6. Quick Answers to Common Issues
  7. Related Articles

Supported File Formats for Import

SmartFeeds supports the following file formats:

  • CSV: Delimiters accepted include comma (,), semicolon (;), pipe (|), and tab. Tab-separated files can also use the .tsv extension.
  • JSON: Only standard JSON files are supported (no NDJSON format).
  • XML: RSS 2.0 is compatible. 
    • Custom root tags (e.g., <products> instead of <channel> or <item>) are allowed. 
    • Child tags are concatenated with their parent.
      Example: <price>  <currency>EUR</currency>  <value>12</value> </price>
      SmartFeeds Result: price_currency,price_value "EUR,12"
  • Compressed Files: Gzip (.gz) and Zip (.zip) are supported.

Import Methods

To create an import, go to ProductFlow, select + New Data Source, and choose your method.


Method

Requirements & Security

Practical Example

HTTP

  • File URL
  • Whitelist IP 34.76.228.121 if password-protected

Syncing a daily product catalog from a third-party PIM system URL

Google Spreadsheet

Share access with adscale@smart-feeds.iam.gserviceaccount.com

Importing a manual sheet for seasonal sale custom labels

FTP/SFTP

  • Host, Login, and Password
  • Whitelist IP 104.199.20.232

Getting a nightly stock update file from a brand's secure server

Arcane FTP/SFTP

  • Request setup from Arcane
  • SFTP Host: 35.210.55.132
  • FTP Host: 35.206.138.148

Receiving data via Arcane's hosted server for clients without storage

BigQuery (Premium)

• Give BigQuery Data Viewer rights to adscale@smart-feeds.iam.gserviceaccount.co

Enriching a feed with a large table of offline store sales

Snowflake (Premium)

• Account, User, and Password (or Key-pair).

• Enter your SQL query.

Fetching top-performing products using a SELECT * query

SmartData

• Connection to your Google Analytics or Google Ads account

Filtering out products with zero clicks in the last 30 days.

Special Import Configurations

Some platforms, such as Shopify or PrestaShop require a custom setup.

  • CMS Platforms: Select the appropriate platform icon in SmartFeeds. Follow the detailed step-by-step instructions provided in the interface.
    • Example: You click the Shopify logo and follow the automated connection wizard.
  • XML & Compressed Files: Open Advanced Settings to enable the XML File Option or to choose the correct Compression Type (Zip/Gzip).
    • Example: You select "Gzip" so SmartFeeds can open your compressed .csv.gz file.

Troubleshooting XML Errors

Errors in XML feeds are often due to special characters like &, <, and >. Here’s how to resolve them:

  1. Open the XML file URL in your browser.
  2. Save the file locally (Ctrl+S).
  3. Use a code editor to locate and correct the problematic line.
  4. Managing Special Characters:
    • Use <![CDATA[value]]> to escape special characters.
    • In the SQL editor, use CONCAT("<![CDATA[", VALUE, "]]>") to format values.

Actions and Insights on Configured Imports

For each configured import, you can:

  • Check the last retrieval time and data volume.
  • Perform actions such as:
    • Edit the import configuration.
    • Refresh manually.
    • Download or explore the data.

Advanced Configuration Tabs

Beyond basic setup, SmartFeeds offers advanced tabs to structure and monitor your data directly at the source:

  • Detailed History: Enable the Detailed History switch to track the granular evolution of your catalog. This highlights exactly how many items were added, modified, or deleted compared to the previous day. Refer to the Detailed Import History article to learn more.
     
  • Managing Field Types: Use the Headers tab to adjust the type of each field (e.g., Text, Integer, Decimal). Correct typing is critical for fields like price to ensure formulas work correctly later in the flow.
     
  • Tracking Import Usage: The Use tab displays exactly where this import is currently active across your account. Refer to the Deletion article for guidance on removing unused files safely.
     
  • Aggregation: Use the Aggregation tab to restructure your file before it enters the flow. This allows you to group rows or concatenate values (e.g., turning a list of orders into a single client view) without external pre-processing.
    Learn more about Aggregation and see how to use it in an audience segmentation use case article.

Quick Answers to Common Issues

What should I do if my file format is unsupported?

Contact SmartFeeds support to see if a solution is available.

Can I manually update an import?

Yes, click the update arrow next to the data source to refresh it.

How do I configure alert settings for imports?

Go to Edit > Import Alerts to adjust notification preferences. Find more information on Product Flow Alerts

Is it possible to preprocess source files before uploading them to SmartFeeds?

Yes, we have the ability to preprocess your source files before uploading them to SmartFeeds. This requires the involvement of our Tech team and may incur additional licensing fees, depending on the complexity of the task.

Use Cases:

  • Cross-referencing files
  • Removing duplicates
  • [Other specific tasks as needed]

If you have specific preprocessing requirements, please contact us for further details and a customized quote.


For further assistance with SmartFeeds, consider reviewing these articles:

For additional help, feel free to reach out via our Contact Us page.

Was this article helpful?