Articles in this section

Preview export data

The Preview panel in the export editor sends the export's request to the source application and shows you the request, the response, and the records integrator.io parsed from it — before you save the export or run the flow. Use it to confirm the request is built the way the API expects, to see what a record looks like for mapping, and to read the application's error when the request fails. This article explains how to run a preview, what each part of the panel shows, how previews behave for delta exports, and how the preview compares with saved mock output.

Preview the records an export returns

  1. Go to Build build-icon.png > Flows, open the flow, and then select the export step to open its editor. For a lookup step, the preview works the same way.
  2. In Preview, choose how many records to retrieve in Fetch limit — 1, or 10 to 100 in steps of 10.
  3. Select Send.

If the request succeeds, the sample records appear in Parsed output. If it fails, the application's error response appears instead, and the panel shows how many errors were returned.

What the preview shows

Part Shows
Request URL The full URL the request was sent to.
HTTP request The request integrator.io sent. A GET request has no body; select Headers to see the request headers.
HTTP response The response body the application returned. Select Headers to see the response headers. If the request is correct but the application rejects it, its error is here.
Parsed output The records integrator.io parsed from the response — what the next step receives.

In Parsed output, switch between JSON and Tree to read a record as text or as an expandable structure; JSON is the default, and the choice isn't saved between sessions. Switch between all records and a single record to inspect one at a time, and copy either the current record or the whole set.

Each record's trace key — the value integrator.io uses to recognize the record across runs — appears in the run details rather than in the preview. If a record shows no trace key, integrator.io couldn't detect or generate one; set a Trace key template on the export. See Set a custom trace key to uniquely identify a record.

Preview a delta export

A preview uses the export's current delta date, so the sample record may fall outside the window the flow will use when it runs. When no record has changed since that date, the Delta preview dialog asks you to choose an earlier date and time to preview from. To check which records a delta run will send, run the flow in test mode — see Debug a flow in test mode — or run it for a specific start date; see Run a flow.

Check saved mock output against the preview

If the export has saved mock output — sample records used for mapping and test runs, on the Mock output tab beside Preview — an indicator appears on that tab when the saved records no longer match the latest preview. The comparison runs after a successful Send updates Parsed output, and only when mock output exists. The records differ when:

  • you edited the mock output by hand and then sent a new preview,
  • the application returns new records or different values than when the mock output was generated,
  • field names, structure, or object shapes changed in the application,
  • the export's saved search or settings changed without the mock output being refreshed, or
  • the mock output and the preview contain a different number of records.

To refresh the saved records, see Provide mock output data for exports and lookups.

Resize the configuration panel

Drag the handle between the step editor and the canvas to give the editor more or less room. The split is 50:50 by default and stays within a minimum and maximum width; the form reflows as you drag. The width you set is saved for your account and applies to every flow step's editor.