Invoices — CSV round trip
A finance export arrives as CSV text: parse it into typed rows, package the rows back into a downloadable file, and prove the file reads back — the import/export loop every finance flow needs.
What’s inside
5 nodes — every type links to its full reference page.
| Step | Node | Type |
|---|---|---|
| CSV export | Inject | input.inject |
| Parse rows | CSV | processing.csv |
| Package as file | Convert to File | processing.convert-to-file |
| Read it back | Extract from File | processing.extract-from-file |
| Verified | Console | utility.console |
Import it
- Studio → Import — paste the JSON below (or the URL
/docs/templates/invoices-csv-round-trip.json). - Or ask the AI Copilot with the JSON pasted after the phrase:
import this workflow json into a new workflow named "Invoices — CSV round trip" - Any credentials the nodes need are
${credential.…}references — add them once in Admin → Credentials and the template picks them up. Nothing secret ships in a template.
The workflow document (flowdrome.workflow.v1, 5 node types)
{
"schemaVersion": "flowdrome.workflow.v1",
"id": "",
"name": "Invoices — CSV round trip",
"version": "0",
"status": "draft",
"nodes": [
{
"id": "seed",
"type": "input.inject",
"label": "CSV export",
"category": "trigger",
"config": {
"contentType": "application/json",
"payload": "invoice,customer,amount\r\nINV-1,Acme,1200.50\r\nINV-2,Globex,89.99\r\nINV-3,Initech,432.10"
},
"position": {
"x": 0,
"y": 0
}
},
{
"id": "parse",
"type": "processing.csv",
"label": "Parse rows",
"category": "processing",
"config": {
"mode": "parse",
"header": true,
"typed": true,
"delimiter": ",",
"trim": true,
"inputField": "",
"outputField": "",
"columns": ""
},
"position": {
"x": 530,
"y": 0
}
},
{
"id": "pack",
"type": "processing.convert-to-file",
"label": "Package as file",
"category": "processing",
"config": {
"format": "csv",
"sourceField": "",
"fileName": "invoices.csv",
"outputField": "file"
},
"position": {
"x": 1060,
"y": 0
}
},
{
"id": "unpack",
"type": "processing.extract-from-file",
"label": "Read it back",
"category": "processing",
"config": {
"format": "csv",
"sourceField": "file",
"outputField": ""
},
"position": {
"x": 1590,
"y": 0
}
},
{
"id": "out",
"type": "utility.console",
"label": "Verified",
"category": "utility",
"config": {
"message": "Round-tripped rows: {{ $json }}"
},
"position": {
"x": 2120,
"y": 0
}
}
],
"edges": [
{
"id": "e0",
"sourceNodeId": "seed",
"sourcePort": "output",
"targetNodeId": "parse",
"targetPort": "input"
},
{
"id": "e1",
"sourceNodeId": "parse",
"sourcePort": "output",
"targetNodeId": "pack",
"targetPort": "input"
},
{
"id": "e2",
"sourceNodeId": "pack",
"sourcePort": "output",
"targetNodeId": "unpack",
"targetPort": "input"
},
{
"id": "e3",
"sourceNodeId": "unpack",
"sourcePort": "output",
"targetNodeId": "out",
"targetPort": "input"
}
],
"triggers": [
{
"id": "t0",
"nodeId": "seed"
}
],
"meta": {
"snippets": [],
"source": "template-gallery",
"description": "A finance export arrives as CSV text: parse it into typed rows, package the rows back into a downloadable file, and prove the file reads back — the import/export loop every finance flow needs."
}
} Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: invoices-csv-round-trip.json.