The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "StructFlow(binary) Demo",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
-288,
-320
],
"id": "11b6381a-1004-4a47-8ef8-5d3cf71b304c",
"name": "When clicking \u2018Execute workflow\u2019"
},
{
"parameters": {
"fileSelector": "/path/to/your/input.jsonl",
"options": {
"dataPropertyName": "data"
}
},
"type": "n8n-nodes-base.readWriteFile",
"typeVersion": 1.1,
"position": [
-64,
-320
],
"id": "e1426dc0-f9e4-4d9e-ac82-2d072cbc6752",
"name": "Read/Write Files from Disk"
},
{
"parameters": {
"resource": "structFlow",
"model": "google/gemini-3-flash-preview",
"system_prompt": "\u63d0\u4f9b\u3055\u308c\u305f\u533b\u5e2b\u306e\u8a3a\u5bdf\u30e1\u30e2\uff08note\uff09\u3092\u5206\u6790\u3057\u3001\u4ee5\u4e0b\u306eJSON\u69cb\u9020\u3092\u51fa\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\nsymptoms: \u60a3\u8005\u306e\u8a34\u3048\u3084\u78ba\u8a8d\u3055\u308c\u305f\u75c7\u72b6\u3092\u6587\u5b57\u5217\u306e\u914d\u5217\u3068\u3057\u3066\u62bd\u51fa\u3002\ndiagnosis: \u78ba\u5b9a\u8a3a\u65ad\u540d\u3001\u307e\u305f\u306f\u6700\u3082\u7591\u308f\u3057\u3044\u75c5\u540d\u3092\u62bd\u51fa\uff081\u3064\u306e\u6587\u5b57\u5217\uff09\u3002\ntreatment: \u5b9f\u65bd\u3055\u308c\u305f\u51e6\u7f6e\u3001\u6307\u793a\u3001\u307e\u305f\u306f\u51e6\u65b9\u3055\u308c\u305f\u85ac\u5264\u540d\u3092\u6587\u5b57\u5217\u306e\u914d\u5217\u3068\u3057\u3066\u62bd\u51fa\u3002",
"example_output": "{\"symptoms\":[\"\u767a\u71b1\",\"\u54bd\u982d\u75db\",\"\u56a5\u4e0b\u56f0\u96e3\"], \"diagnosis\":\"\u6025\u6027\u5316\u81bf\u6027\u6241\u6843\u708e\uff08\u6eb6\u9023\u83cc\u611f\u67d3\u75c7\uff09\", \"treatment\":[\"\u30a2\u30e2\u30ad\u30b7\u30b7\u30ea\u30f3\u30ab\u30d7\u30bb\u30eb\u51e6\u65b9\",\"\u30ed\u30ad\u30bd\u30d7\u30ed\u30d5\u30a7\u30f3\u30ca\u30c8\u30ea\u30a6\u30e0\u51e6\u65b9\",\"\u5b89\u9759\u3068\u6c34\u5206\u88dc\u7d66\u306e\u6307\u793a\"]}",
"inputMode": "binary",
"pollingSettings": {
"pollingMaxAttempts": 180,
"serverWaitSeconds": 10
}
},
"type": "n8n-nodes-ldxhub.ldxHub",
"typeVersion": 1,
"position": [
160,
-320
],
"id": "4205c913-1c3c-41b0-946d-174f4e8a2b98",
"name": "Run a structflow job",
"credentials": {
"ldxHubApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"When clicking \u2018Execute workflow\u2019": {
"main": [
[
{
"node": "Read/Write Files from Disk",
"type": "main",
"index": 0
}
]
]
},
"Read/Write Files from Disk": {
"main": [
[
{
"node": "Run a structflow job",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1",
"binaryMode": "separate",
"availableInMCP": false
},
"meta": {
"templateCredsSetupCompleted": true
},
"tags": []
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
ldxHubApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
StructFlow(binary) Demo. Uses readWriteFile, n8n-nodes-ldxhub. Event-driven trigger; 3 nodes.
Source: https://github.com/ldxhub-io/n8n-nodes-ldxhub/blob/main/examples/structflow-binary-demo.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
CastDoc Demo. Uses readWriteFile, n8n-nodes-ldxhub. Event-driven trigger; 3 nodes.
ExtractDoc Demo. Uses readWriteFile, n8n-nodes-ldxhub. Event-driven trigger; 3 nodes.
RefineLoop Demo. Uses readWriteFile, n8n-nodes-ldxhub. Event-driven trigger; 3 nodes.
RenderOCR Demo. Uses readWriteFile, n8n-nodes-ldxhub. Event-driven trigger; 3 nodes.
StructFlow(inline) Demo. Uses n8n-nodes-ldxhub. Event-driven trigger; 2 nodes.