This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Initialize the CSV with the header row | |
| let csvOutput = "Quote,Author\n"; | |
| // Loop through all incoming items passed natively by n8n | |
| for (const item of $input.all()) { | |
| // Safely navigate the JSON structure | |
| const content = item.json.content || {}; | |
| const parts = content.parts || []; | |
| for (const part of parts) { |
OlderNewer