Skip to main content

Import and Export Data With Data Pipelines

Run a data pipeline: import from a settings page, by SFTP or by webhook, or export to a CSV or JSON file, a connected HRIS or ATS, or a custom destination.

Once a data pipeline exists, you run it to bring data into Fountain or send Fountain records out. This article covers both: importing from a settings page, by SFTP or by webhook, and exporting to a file, a connected system or a custom destination.

To create the pipeline first, choose what it writes, and read the logs of each run, see Create and Run a Data Pipeline. For what Data Pipelines are and how imports match existing records, see Data Pipelines.


Import Data

There are three ways to import data using a pipeline: directly from an entity settings page for manual imports, automatically via SFTP, or in real time via webhook when an external system sends data to Fountain.

Import From an Entity Settings Page

Settings pages for supported entity types, and some entity-specific pages such as Hire openings, include an import option for uploading a CSV file and processing it through a pipeline immediately.

For Openings, you can also start an import directly from the Hire Openings page by selecting Add Opening > Import Openings. This uses Data Pipelines to upload opening data from a CSV file and process it through the selected opening import configuration.

To import data manually:

  1. Navigate to the entity settings page, or for Openings, go to the Hire Openings page and select Add Opening > Import Openings.

  2. Select Import.

  3. In the Upload a CSV file with your [entity] data modal, open the Import configuration dropdown and select the pipeline to use.

  4. Optionally, select Download CSV template to download a correctly formatted template for the selected pipeline.

  5. Upload your CSV file by dragging it into the upload area, or select browse to locate it on your computer (CSV file, 10 MB max).

  6. The Preview Mapping modal opens automatically and displays a preview of the resolved data against the selected pipeline's mapping.

  7. Review the results. Warnings appear for any rows where a field may not resolve as expected. Errors indicate rows that cannot be imported.

  8. Select Import [entity] to execute the import.

Standard Configurations Available Out of the Box

Fountain provides pre-built standard pipelines for each entity type. These work for most standard-attribute imports with no setup required. If you need to import custom attributes or apply specific data transformations, select a custom pipeline from the dropdown or create one in Data Pipelines.

After the import completes, you are returned to the entity list. Import results are available in the pipeline logs.

Blank Cells and Missing Columns Keep Existing Values

When an import updates an existing worker, job, location, location group or prospect, a column you leave out of the file keeps its current value, and so does a blank cell. The pipeline log shows an Empty value warning for each blank cell, so you can see what was skipped.
To clear a value on purpose, add a Calculated Field whose script returns an empty string (({ row }) => "") and map it to that attribute.
Openings work differently: an opening update replaces the opening's custom attributes, so include every attribute you want to keep. An Opening pipeline with a create or update rule, or with an At creation field, keeps every custom attribute it doesn't write.

Import Shift Demand

Shift Demand imports create or update the staffing demand on your Shift schedule: how many people each location needs for a job, per time slot.

Create an Inbound pipeline with Shift Demand as the data type, then open More actions (⋮) on its row on the Data Pipelines page and select Import a file. Choose the pipeline, upload your CSV, select Preview, then Import Shift Demand.

You can also start a Shift Demand import from the Shift Schedule page: select New, then Import demand.

  • Shift Demand imports accept CSV files only and run when you upload a file. SFTP and automations don't run them.

  • Each row is one day of demand for one location and job: an external ID, the location's Fountain ID, the job's Fountain ID, the date (YYYY-MM-DD), and the headcount changes, a JSON list of time slots, each with a start time, an end time and a minimum headcount. A name is optional. Download CSV template in the import window gives you the columns.

  • The location needs a time zone, and each time slot must start and end on the row's date in that time zone.

  • A row matches existing demand on its external ID and date, and it replaces that day's time slots.

  • Your role needs permission to view, create and edit Shift demand.

See Shift Demand for how demand shows on the Schedule page.

Import via SFTP

SFTP Import Requires Configuration

SFTP-based imports require a dedicated folder provisioned by a Fountain representative. Contact your Fountain representative to set up SFTP access for your account.

Connect via an External Webhook

If your external system supports outbound automations (for example, triggering a notification when a worker record is created or updated in your HRIS) you can route that data directly into a Fountain Data Pipeline without SFTP access or engineering assistance.

To set this up, create an automation in Fountain's Automation Center using Webhook as the source. Fountain generates a webhook URL that you provide to your external system. When the configured event occurs in that system, it sends a JSON payload to the URL, and Fountain processes it through the selected pipeline.

This approach is self-serve — no SFTP access or engineering assistance required — as long as your external system supports outbound event notifications.


Export Data

An export pipeline sends Fountain records out of Fountain. When you create it, choose Outbound — from Fountain to outside under Attributes to provide, then pick a Destination: a CSV file, a JSON file, a connected HRIS or ATS, or a Custom destination, a web address that receives the records. On the Mapping step, pick the Fountain field that fills each column, then select Test to preview the rows.

Run an Export Now

To run a CSV or JSON export right away, open More actions (⋮) on its row on the Data Pipelines page and select Run now. Fountain runs the export, then lets you Download the file or open the run in the Supervision Center. Each click starts a new run.

Run now appears only on exports to a CSV or JSON file, for roles that can manage data pipelines and view data pipeline logs. It isn't offered on imports, or on exports to an HRIS, an ATS or a Custom destination, since those send data to another system. Hiring Goals exports keep their own Run export action.

Send to a Custom Destination

A Custom destination sends records to the web address you enter, as JSON. By default it sends one record per request. Send in batches sends up to 100 records per request as {"records": [...]}.

Send body as an array sends the records as a JSON array, even when a request holds a single record. Turn it on when your destination only accepts arrays, as Connecteam does. With Send in batches, the array replaces the {"records": [...]} wrapper.

On a Workers export, Response field that holds the ID saves the ID your destination returns as the worker's HRIS ID, shown on the worker profile. Enter the field of the JSON response that holds it, such as id, or a nested field such as data.employeeId. Fountain fills the HRIS ID only when the worker has none, and never replaces an existing one. The field is not available with Send in batches. If the response has no usable ID, the record is still sent and the run shows a warning.

Export Applicants

An applicant export can include fields from the applicant's Opening and from the worker the applicant is linked to, alongside the applicant's own fields.

On the Mapping step, the field menu groups fields by where they come from: Applicant, Applicant custom data, Linked worker and Opening. Map them like any other field. Exports also include each applicant's opening, location and position, with the position's custom attributes such as a job code, in bulk exports and in exports triggered for a single applicant.

Linked Worker Fields Need a Linked Worker

Linked worker fields carry data only for applicants who are linked to a worker.

Did this answer your question?