Skip to main content

Survey Interviews in Data Pipelines

When the Data Pipelines feature is enabled, Surveys gives the completed interviews to data pipelines. Each interview is one row, with the same answers as the Interview data report. A pipeline can then send the rows to a file, an email, the media library, Tableau Cloud, a web API or another destination.

What Surveys adds​

PartWhat it does
Survey interviews data sourceOne data set per published survey, and one per saved version of the survey, with one row per completed interview. Use it with the Read a data source step.
Read interview changes stepThe first run reads every completed interview. The next runs read only the interviews that were completed or deleted since the last successful run.
Saved survey versionsA copy of the questions of a survey, saved each time the survey is published with other fields. A pipeline that reads a saved version keeps the same fields when the survey changes.

Fields​

FieldValue
InterviewIdThe ID of the interview. Use it as the key of the rows.
ChangeTypeOnly from Read interview changes: Snapshot, Changed or Deleted.
RespondentIdThe ID of the user who completed the interview. Empty for an anonymous interview.
RespondentNameThe name of that user, or Anonymous.
InterviewedAtUtcThe date and time (UTC) of the interview.
One field per controlThe answer, with the same text as the report. The field name is the control ID, and the label is the report column title.

These answers are numbers: Numeric Value inputs, the score and the words per minute of a Typing Test, and the score of a Desktop Simulator. A score with an Override report value that does not give a number is empty. All other answers are text.

To use the report column titles as the column names of a file, turn on Name the columns with the labels of the fields in the Create a file step.

Each label is unique, so each column of a file has its own name. When more than one field has the same label, the first field keeps the label. Each next control field with that label gets _ and a number at the end, in the order of the report columns: Origin Country, Origin Country_1, Origin Country_2. This occurs when:

  • two controls have the same title;
  • a control has no title, so it uses the title of its question, and that title is also used by a different control or question;
  • a control has the same title as an interview field, such as Interview ID, Respondent name or Change type.

Labels that differ only in case or in spaces at the start or end count as the same label. A number is skipped when a title already has that label. The interview fields keep their labels. The Interview data report keeps its column titles.

The numbers follow the order of the controls. If you add, remove or move a control that has a repeated title, the labels of the other controls with that title can change, including which control keeps the label with no number. The field names (the control IDs) don't change.

Survey versions​

When you change a survey, the fields of the pipelines and reports that read it change too. A removed control removes its field:

  • a Read a data source step that selected that field stops with the error "The data set has no field named …";
  • a Read interview changes step shows a warning and does not read the field, so a destination such as Tableau gets other columns.

To keep the fields of a pipeline or a report, read a saved version of the survey.

Surveys saves a version of a survey when you publish the survey with other fields: a control is added, removed or moved, or a title changes. Publishing with the same fields saves no version. The first time the site starts with the Data Pipelines feature enabled, each published survey gets version 1, with the questions that it has at that time.

You readThe rowsThe fields
Latest (the survey)Every completed interview of the survey.The questions that the survey has now. They change when the survey changes.
A saved versionEvery completed interview of the survey.The questions of that version. They don't change. A control that was removed later keeps its answers. A control that was added later is not read.

To read a saved version:

  • in Read a data source, add the data set of the version, such as Bird Hunting - Version 2 (published 11/10/2026 14:30). The data set Bird Hunting reads the latest questions;
  • in Read interview changes, select it in Version. Latest is the default.

To read the new questions of a survey, select Latest or the newest version.

Before you start​

  • Enable Data Pipelines in Tools › Features. Enable Workflows too, to run the pipeline on a schedule or when an interview is completed.
  • The user who publishes the pipeline needs the Run Interview Data Report permission. The pipeline reads the interviews with the access of this user.
  • To connect two steps on the canvas, drag from the circle on the right edge of one box to the circle on the left edge of the next box.

Export the interviews of a survey, step by step​

This example exports the completed interviews of one survey to a CSV file that you download from the media library.

Step 1: Read the interviews​

  1. Go to Tools › Data Pipelines and select Add Pipeline. Enter a name and select Create.
  2. In the Steps panel, under Sources, select Read a data source.
  3. In the Add a data source window, select Survey interviews in the list on the left, then select Add on your survey. To keep the columns when the survey changes, select Add on a saved version of the survey.
  4. Select the box, open the Data tab and select Preview. You see one row per completed interview and one column per question, the same as the Interview data report.

Each source step reads one survey. To export several surveys, add one source step per survey.

Step 2: Choose the columns (optional)​

  1. In the Steps panel, under Transforms, select Select fields, and connect Read a data source to it.
  2. Keep the columns that users need, such as Respondent name, Interviewed at (UTC) and the question columns. Leave out Interview ID and Respondent ID.
  3. To rename a column, such as Respondent name to "Name", change its name in the list. Drag the columns to change their order.
  4. Select Apply, then check the result in the Data tab with Preview.

Step 3: Create the file​

  1. In the Steps panel, under Files, select Create a file, and connect the previous step to it.
  2. Set Format to CSV or Excel.
  3. Turn on Name the columns with the labels of the fields, so that the column names are the question titles.
  4. Select Apply.

Step 4: Deliver the file​

  1. In the Steps panel, under Destinations, select Save to the media library, and connect Create a file to it.
  2. Enter a folder, such as pipeline-exports, and select Apply.

To send the file by email instead, use Send by email and enter the address in To.

Step 5: Publish and run​

  1. Select Publish, then Run.
  2. Open the History tab and select Refresh. The run shows Succeeded, the rows of each step and the file that it saved.
  3. Go to Media › Library, open the folder, and download the CSV file. Each run saves a new file, named with the pipeline name and the date and time.

Read only the changes​

To read only the interviews that were completed or deleted since the last run, use Read interview changes instead of Read a data source in step 1. Select the survey in its Survey setting, select Apply, then select the questions to read in Version.

  • The first run reads every completed interview, with the change type Snapshot.
  • The next runs read only the changes, with the change type Changed or Deleted.
  • The rows of this step always have the Interview ID and Change type fields. Use Select fields to leave them out of a file.

Send the interviews to Tableau​

Use the Publish to Tableau step to keep a Tableau Cloud data source up to date with the completed interviews of one survey. The data source has one row per interview, so a run does not add an interview twice.

Before you send​

  • Enable Tableau Data Pipelines in Tools › Features. This also enables Tableau Cloud and Data Pipelines.
  • Enter the Tableau connection in Settings › Tableau Cloud. See Configure Tableau Cloud for API access and Configure WinnerWare.
  • The user who publishes the pipeline needs the Run Interview Data Report and Publish data to Tableau Cloud with the data pipelines permissions.

Step 1: Read the interviews​

  1. Go to Tools › Data Pipelines and select Add Pipeline. Enter a name and select Create.
  2. In the Steps panel, under Sources, select Read interview changes.
  3. Select your survey in Survey, then select Apply.
  4. In Version, select the newest saved version, then select Apply. The Tableau columns then don't change when the survey changes. See Survey versions.
  5. Open the Data tab and select Preview. You see one row per completed interview. A preview sends nothing to Tableau.

Step 2: Choose the Tableau target​

  1. In the Steps panel, under Destinations, select Publish to Tableau, and connect Read interview changes to it.
  2. Enter the Tableau project. It is created when it doesn't exist. To publish into a nested project, enter the Tableau subfolder.
  3. Enter the Data source name. A data source with this name in the project is replaced, so use a new name.
  4. Keep Interview ID in Key field. The step selects it for you.
  5. Under Tableau columns, clear Publish for each field that Tableau doesn't need. Keep Interview ID. You can also change the Tableau name and the Tableau type of a column.
  6. Select Apply.

Step 3: Publish and run​

  1. Select Publish, then Run.
  2. Open the History tab and select Refresh. The run shows Succeeded and the number of rows that it published.
  3. In Tableau, open the project and the data source. There is one row for each completed interview. A question that an interview didn't reach is empty. A question with several answers is one text, with the answers separated by spaces.

To keep the data source up to date, run the pipeline automatically.

What the next runs do​

EventWhat happens in Tableau
A person completes an interview.The next run adds its row.
An interview is deleted.The next run removes its row.
Nothing changed.The run sends nothing.
You use Start over, in the Actions menu of the pipeline.The next run publishes every interview again and replaces all the data.

After the first publish, the Tableau target, the key field and the columns are locked until Start over. To send the new questions after the survey changes, select the newest version in Version of Read interview changes, select Apply, and use Start over.

warning

Do not rename or remove the Change type field with a Select fields step before Publish to Tableau. Without that field, the step takes the rows of each run as every row, and deletes from Tableau the rows that the run doesn't receive. To leave a field out of Tableau, clear Publish under Tableau columns.

Run the pipeline automatically​

Create a workflow that runs the pipeline:

  • Interview Completed → Run Data Pipeline Task. Turn on Skip when a run is already queued or running, and turn off Wait for completion. If the task waits, each interview leaves a halted workflow instance.
  • Timer Event, for example every 15 minutes → Run Data Pipeline Task, with the same settings. It reads the changes that the event did not read.

Changes that the step reads​

EventRow
A person completes an interview.Changed
An admin or the API deletes a completed interview.Deleted
The interview retention task deletes completed interviews.Deleted

The changes leave the queue only when the run succeeds. If a run fails, the next run reads the same changes. Start over, in the Actions menu of the pipeline, reads every interview again.

Limits​

  • A change is queued after the interview is saved. A run that the same Interview Completed event starts can miss it. The change stays in the queue, so the next run reads it.
  • A data set or a step reads one survey. A saved version reads the interviews with the questions of that version: the answers to a control that was added later are not read.
  • A step reads every interview again only after Start over, or when its survey, version or interview dates change. A step that was saved before the saved versions existed reads Latest, and it keeps reading only the changes.
  • The Total, Average and Liquid columns of a survey control group are not read.