Demeterics Extract icon

Demeterics Extract

Extract interaction data via the Demeterics Export API

Stream Export by Request ID

AI-generated

Summary

Retrieve and stream the export data for a previously created export job identified by its Request ID from the Demeterics Export API, with output available in JSON or CSV format.

Inputs

  • Request ID (required) — The Request ID obtained from the Create Export Job operation, identifying the export to stream.
  • Stream Format — The format in which to receive the streamed data; can be either JSON (default) or CSV.

Output shape

a list of items containing the exported data, either as individual JSON objects or as binary CSV file content

When JSON is selected, the node parses the streamed export data and outputs each record as a separate JSON item. When CSV is selected, the node outputs a single binary file with the exported CSV data. The operation requires valid Demeterics API credentials and a valid Request ID format (alphanumeric, hyphens, underscores, max length 128). Errors occur if the Request ID is invalid or if data retrieval fails.

Examples

Example 1: Streaming JSON export data

Set 'Request ID' to the ID returned from a prior 'Create Export Job', and set 'Stream Format' to 'JSON'. The node will fetch and parse the export stream, outputting a separate JSON item per record.

Example 2: Streaming CSV export data

Set 'Request ID' to the ID returned from a prior 'Create Export Job', and set 'Stream Format' to 'CSV'. The node will fetch the export stream and output the data as a binary CSV file.

Links

Discussion