File storage imports
Data hub rolloutData hub provides new unified API integration methods for sending data to multiple Bloomreach products. Access is being rolled out in phases. For new implementations, we recommend using Data hub where available. Existing product-specific integrations remain fully supported for Marketing, Search, and Conversational agent.
This guide explains how to connect to SFTP, Amazon S3, or Google Cloud Storage to import data files.
Prerequisites
- Configured connection: Under Data hub > Integrations, set up your SFTP, Amazon S3, or Google Cloud Storage connection before you can select it as a file storage option.
- Storage access permissions: Make sure you have the appropriate permissions to access the storage location and read files from the specified directories.
- Data hub permissions: Ensure you have the required permissions.
- File preparation: Prepare your data file in CSV or XML format.
Configure file storage import
After creating a new import and select the import type.
Select file storage option
-
Navigate to the File storage tab.
-
Click the File storage dropdown menu.
-
Select your preferred storage option (SFTP, Amazon S3, or Google Cloud Storage). If your storage option doesn't appear, configure the connection first.

Configure connection details
Specify where your data file lives and how the system should read it:
- Path to parent directory: Enter the static path to the folder that contains your data file. The import only checks files directly in this folder, not in its subfolders.
- File matching: Choose how the import finds your file:
- Fixed: The import uses one file with an exact name. Enter the full file name, including the extension, for example
product-catalog.xml. - Dynamic: The import finds the file by pattern. Use this option when the file name changes with each export, for example when it includes a date. Enter a regular expression without enclosing slashes, for example
^catalog_\d{4}-\d{2}-\d{2}\.csv$. For syntax and examples, see File name matching.
- Fixed: The import uses one file with an exact name. Enter the full file name, including the extension, for example
- Selection rule: Available with Dynamic file matching. If more than one file matches the pattern, choose which one to import:
- Last modified: Imports the file that was most recently modified on the server. Recommended for full feeds.
- Last alphabetically: Imports the file that comes last when the matching file names are sorted alphabetically.
-
File format: Select your file format (CSV or XML) from the dropdown, or choose Autodetect to let the system identify the format automatically.
-
Encoding: Select the character encoding used in your file. Use UTF-8, or select a different encoding if your source system uses another format.
Import limits
Maximum columns: 260 columns per file.
Performance recommendations
- File size: Maximum of 1 GB per file.
- Row count: Maximum of 1,000,000 rows per import file.
NoteTo import bigger files to the item collection, use the Item collections API and the upload file feature.
Preview and validate data
- Click Preview data to validate that your file appears correctly and the system can read it as expected. With Dynamic file matching, the preview shows the name of the file that the selection rule selected.
- Click Next and specify the data mapping.
Troubleshooting
| Message or symptom | What to check |
|---|---|
| The GCS credentials JSON is invalid | Copy the full service account key JSON into the integration again. |
| The GCS credentials were rejected | Check that the service account key hasn't been revoked and that the account has access to the bucket. |
| The file is archived in S3 (Glacier) and cannot be read until it is restored | Restore the file in Amazon S3, or move it to a storage class that can be read directly. |
| The pattern is rejected when you save the import | Check that the pattern is valid regular expression syntax and doesn't include enclosing slashes. Lookaheads, lookbehinds, and backreferences aren't supported. |
| The run fails because no file matches the pattern | Check that the file is directly in the parent directory, not in a subfolder. Check the pattern, including letter case and escaped dots (\.). |
| The specified file was not found in the S3 bucket (or GCS bucket). Verify the file path | Check the parent directory path and the file name. |
| The specified GCS bucket does not exist. Please check the bucket name in your integration settings | Check the bucket name in your Google Cloud Storage integration. |
| The specified S3 bucket does not exist. Please check the bucket name in your integration settings | Check the bucket name and region in your Amazon S3 integration. |
Updated 14 days ago

