
Overview
The GCS (Google Cloud Storage) source retrieves data files from a GCS bucket. Use it when your data is stored as files in Google Cloud and you want to import them into Reelevant for personalization.Configuration
Required Fields
Optional Fields
Supported File Formats
GCS automatically detects the file format. The following formats are supported:Compressed files (
.gz, .zip) are automatically decompressed before parsing.PGP Decryption
The GCS source supports PGP-encrypted files. WhenpgpPrivateKey is configured, files are decrypted transparently before decompression and parsing.
Both armored (
.asc) and binary (.pgp, .gpg) encrypted files are supported.
See the PGP Decryption guide for details on key generation, supported formats, and error handling.
Wildcard Paths
You can use a wildcard (*) in the file path to match multiple files. This is useful when:
- A new file is exported periodically with a different name (e.g.
exports/products_20240101.csv,exports/products_20240102.csv) - Data is split across multiple files in the same directory
exports/products_*.csv— matches all CSV files starting withproducts_in theexports/folderdata/*.json— matches all JSON files in thedata/folder
File Processing Modes
When using wildcard paths, you can configure how files are selected via theprocessType field:
How It Works
- Reelevant authenticates using the provided service account credentials.
- The specified bucket and path are accessed. If a wildcard is used, matching files are listed.
- Files are downloaded, decompressed if needed, and parsed based on the detected format.
- Fields are extracted and made available for mapping.
- On subsequent syncs, files are re-fetched according to the configured processing mode.