Importing & Exporting Files With a Datestamp in the Filename

Importing & Exporting Files With a Datestamp in the Filename

Feedonomics supports the importing and exporting of files with a dynamic datestamps in the filename. To achieve this, simply modify your import or export filename to include the special string below, which can be customized to match the particular date format in your filename.
   {{feedonomics::date:Y-m-d}}
The string above would match a date in the format of '2019-01-28'. For a full list of available time and date parameters, refer to this page . Text separators such as hyphens and periods can be inserted into the date string, as necessary.

Below are a few examples of dynamic filenames and their corresponding Feedonomics date string representations.
 
   Example #1
   filename:   product_feed_01.28.2019.csv
   datestring: product_feed_{{feedonomics::date:m.d.Y}}.csv
   
   Example #2
   filename:   data_export_Jan-28-19.xml
   datestring: product_feed_{{feedonomics::date:M-d-y}}.xml
   
   Example #3
   filename:   2019_1_28_9_AM_sku_data.csv
   datestring: {{feedonomics::date:Y_n_j_g_A}}_sku_data.csv

Notes
View a full list of date and time parameters on this page .

All times in Feedonomics are in Eastern time.

Timestamp comparisons are always made with the current time as the import or export runs. For example, in order to import a file generated only once per day with a name formatted as 'product_feed_2018-01-28-05.txt'—where '05' indicates 5 AM Eastern—your import should be scheduled in Feedonomics during the 5 AM Eastern hour to ensure that the hour in the filename matches the current time in Feedonomics.
    • Related Articles

    • Complete Shopping Actions Help Files

      About Shopping Actions AboutShopping Actions ShoppingActions participation criteria AboutShopping Actions integration Get started Quickstartguide Shopping Actions product data specification Customer support and returns Shopping Actions Local ...
    • Feedonomics Platform Guide

      Importing Files The Imports page in Feedonomics allows you to import feed files which will be used to create your database. A database can be built from a single imported file or from a combination of multiple imported files of different sources and ...