Update a Customer Attributes Dataset via SFTP

This content is only for clients with the one-click DATASETS option in the top navigation bar. If you click DATASETS and see Product Data and Customer Data listed as menu options, then this content doesn't apply to your account. Instead, see the alternate version of this documentation.

Data onboarding allows you to upload offline data about your customers to the platform as a Customer Attributes dataset. The automatic updates feature lets you regularly deliver full or partial file updates over SFTP to Monetate, which automatically checks for, processes, and updates the datasets and any associated experiences.

How Automatic Updates Work

Any current dataset created with the platform's Create Dataset Schema wizard is assigned a dataset ID. This ID is used in the filename of the update to match it to an existing dataset. Once you upload a file to the platform’s SFTP server, it automatically updates the dataset and all associated experiences.

If the update failed, you'll see an alert on the All Datasets list page and on the Customer Attributes list page.

Callout of an 'UPDATE FAILED' message on the Customer Attributes list page

You can perform two types of updates for a Customer Attributes dataset:

  • Full Update: Replaces the entire dataset with the next successfully processed full file that the platform ingests
  • Partial Update: Adds rows or updates rows with the next successfully processed partial file that the platform ingests

You cannot add columns, also called attributes or fields, to a dataset through a partial update sent via SFTP. See Customer Attributes Dataset Details Page for information on the Add Attributes modal accessible from a dataset's details page. This modal allows you to add attributes to the dataset's schema without uploading a file.

Any full or partial updates that are older than the most recent full file update are archived. You can access these files on the Update History tab on the dataset's details page.

Upload History tab of a Customer Attributes dataset's details page

Monetate periodically cleans up the history folder. However, all files remain archived for a minimum of 24 hours.

Setting Up Automatic Updates

To set up automatic updates, add the following information to your SFTP client:

  • Host: https://sftp.monetate.net
  • Port: 22
  • Protocol: SFTP

The username(s) you can find within the platform by selecting Sites from the settings cog in the platform.

Callout of the Sites option in the platform settings menu

From that same page you can create new SFTP credentials or change an existing SFTP user password. See Manage SFTP Users for more information.

You must have the Administrator role in Monetate to set up SFTP users in the platform settings.

File-Drop Directories and Naming Conventions

There are two file-drop directories:

  • /datasets/partial: Use this location for partial file updates
  • /datasets/full: Use this location for full file updates

Follow this format when naming an update file:


Replace {datasetid} with the unique ID for the dataset you are updating. You can find this information in the platform by following these steps:

  1. Click DATASETS in the top navigation bar, find the specific dataset you want to update, and then click the dataset's name to view its details page.
  2. Click UPLOAD DATA and then select SFTP Info.

    Callout of the 'UPLOAD DATA' button and the 'SFTP Info' option

  3. Scroll to the bottom of the page to find the dataset ID.

    Callout of the dataset ID listed on the SFTP Info for Updating modal

You must use a hyphen (–) between the dataset ID and the filename. The upload or update will fail if the dataset ID and filename are not separated by a hyphen.

You can change the portion of the filename that follows the hyphen from update to update. However, you cannot change the dataset ID.

If you want to update an existing dataset without adding new columns, you can optionally exclude the header row from the file. Add NOHEADER to the end of the filename ({datasetid}-filename_NOHEADER.csv) to indicate that the file doesn't contain a header row.

If you exclude a header row from a dataset update, ensure the columns in the file match the order of the columns in the existing dataset. If the columns are not in the same order, the platform cannot match them up with the corresponding columns in the dataset.

Receiving Notifications for Automated Updates

You can receive an email notification every time a file successfully uploads via SFTP as well as a notification every time an error occurs during the upload process. Follow these steps to enable one or both notifications.

  1. Click the settings cog, click Users, and then click the user account for which you want to enable notifications.
  2. Click the toggle for each SFTP-related notification to YES on or off for both SFTP errors and SFTP successes, and then click Save.

    Callout of the Dataset SFTP error and success email notification options on the User page of the platform settings

If you have questions, see the FAQ or submit a support ticket using the Kibo Technical Support portal (kibotechsupport.zendesk.com).