build csv

This block is part of the files group and was last modified in core v13.0.7.

build csv v13.0.7

In pins 4 + flow
  • flow
  • filename value required
  • header array required
  • values array required
  • options object
Out pins 3 + flow
  • flow
  • CSV file file
  • success condition v13.0.7
  • error value v13.0.7

A function trigger runs the report: a date histogram groups documents per day, aggregation names it and feeds search, and build CSV turns the result rows into a file that reply with file downloads to the caller.

Studio canvas example for the build CSV block: an aggregation straight into a CSV download.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v13.0.7.


Back to files Return to the main group to view all sub-groups Back to file parsing Return to the group to view all blocks within this group