Exporting Purchase Events From Bloomreach to SFTP
Create an events export for the purchase event, filter on last 24 hours rather than last 1 day, put a date token in the file name and schedule it daily. Then check that consecutive files meet without gaps, because the platform does not remember what it exported last time.

How mature is your CRM setup?
Find out in minutes with a free CRM maturity check.
What do you need before creating the export?
Four things have to exist first.
- An SFTP integration that passes its connection test, added under Data & Assets > Integrations.
- A target directory on the server. Create it before the first run.
- An SFTP account that can write files and rename them there. Bloomreach writes a temporary file first and renames it once the transfer succeeds, so rename rights matter as much as write rights. The SFTP integration reference lists the exact permissions.
- The purchase event tracked in the project with accurate timestamps.
If your server only accepts connections from approved addresses, allow Bloomreach’s before running the connection test.
Which date filter should a daily export use?
Last 24 hours, not last 1 day. Bloomreach counts relative date ranges for days from midnight, so last 1 day means everything since midnight today.
The documentation’s own example: at 15:00, last 1 day returns only 15 hours of data, and last 24 hours is the option that covers a full window.
For a daily export the consequence is direct. Run at 02:00 with last 1 day, the file holds about two hours of events. Run at 02:00 with last 24 hours, it holds 02:00 yesterday to 02:00 today.
| Filter | Window when run at 02:00 | Use it for |
|---|---|---|
| Last 1 day | Midnight to 02:00, about two hours | Almost never for a daily file |
| Last 24 hours | 02:00 yesterday to 02:00 today | Rolling daily files |
| A range ending at midnight | The previous calendar day | One file per calendar day |
For the third row, build the range in the filter and read the calendar preview, which shows the exact period your selection covers, before you save.
How does the timestamp decide what gets exported?
Exports select events by their timestamp attribute, not by when they were tracked. Bloomreach notes that backfilled or delayed events can carry timestamps that differ from their tracking time.
The platform also keeps no memory of the last exported timestamp. The filter and the schedule alone decide what each run contains.
Together these mean a purchase that arrives late, with a timestamp already behind the window, is never exported. It falls between two files.
There are two ways to handle it, both design choices rather than documented behaviour. Accept it, if your tracking is reliably real time. Or widen the window so consecutive files overlap, and remove duplicates downstream using the order identifier.
How do you name the file so every run is unique?
Put a time token in the file name. The documentation’s example is a pattern such as campaign_events_%Y-%m-%d.csv, which produces one file per date.
The token resolves against the scheduled run time, not the moment the export actually runs. A run scheduled for 02:00 that waits behind another export still carries the 02:00 date. The Start export reference says the same for exports triggered through the API.
So the date in a file name labels the schedule. It is not evidence of when the data was extracted.
How do you set the schedule?
Choose a scheduled export instead of a single one, set it to daily, and pick a time after the day’s purchase events have landed.
Two limits shape the timing. Only one run of an export definition can be active at a time, so if a run outlasts its interval, the next one starts after it finishes. And at most four exports can run at once across the project, so stagger definitions instead of starting several in the same minute.
What happens during the SFTP transfer?
Bloomreach writes the data to the server as a temporary file, then renames it to the final name once the export succeeds. If the first step fails, the export retries automatically, and the rename only happens after a successful write.
For anything reading the folder, that settles the question of partial files: a file under its final name is complete. Have the downstream process watch for the final name and ignore everything else. A temporary file left behind after a run is worth investigating.
Some exported columns, such as a customer identifier or email address, are personal data. Restrict access to the directory and to the files after transfer.
How mature is your CRM setup?
Find out in minutes with a free CRM maturity check.
How do you check that the export is not losing data?
Run three checks on the first files. The Exports screen shows each definition’s status and run history, so confirm the first run succeeded. Compare the last timestamp in one file with the first timestamp in the next: they should meet. And compare the row count with a count of purchase events for the same period inside the platform.
The documentation describes the filename rule. It does not state the equivalent rule for the filter. If a run was delayed, its window may have shifted with it, so treat consecutive windows as adjacent rather than guaranteed contiguous until the boundary check has passed on real files.
At Voxwise we build this boundary comparison into every scheduled export we set up, because a gap here fails silently: the files keep arriving and look normal.
Frequently asked questions
Yes. Exports can be CSV, JSON or JSON Lines, and the targets include Google Cloud Storage, Amazon S3 and Azure Storage as well as SFTP. The export steps are the same, only the integration differs.
Per the documentation, the Start export endpoint returns a 400 for an export of the repeated type, meaning a scheduled one. API triggering suits exports that are not scheduled.
Not with a date filter on a customer attribute, because date filters are not available for customer attributes. Export the events that change the profiles with a date filter, or export profiles in full.
Yes. You select which attributes to export and can rename columns to match your warehouse schema.
Yes. The documentation’s own example is an hourly schedule. Whatever the interval, the filter window has to match it, and the one-run-per-definition limit matters more the shorter the interval gets.
Getting the export right before anything depends on it
A scheduled export is simple to create and just as simple to create with a window that quietly drops events. Voxwise sets up scheduled exports on Bloomreach Marketing for retail and ecommerce teams, including the filter design and the boundary check that show whether every purchase reaches the warehouse.