Skip to content

Instantly share code, notes, and snippets.

View marcio-azevedo's full-sized avatar

Márcio Azevedo marcio-azevedo

View GitHub Profile
@marcio-azevedo
marcio-azevedo / n8n_csv_parser.js
Last active May 20, 2026 12:06
JSON Parser into CSV - AI Adoption & Ops Velocity - Kick Off
// 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) {