Templates / Csv to JSON converter with error handling and Slack notifications

Csv to JSON converter with error handling and Slack notifications

Ready for 3.0

by n8n Team ✓ · 3,420 views · created 2025-01-15 · Document Extraction

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Switch: routes items into 3 branches
  2. Extract from File: extracts data from a file
  3. Change Field (Edit Fields (Set)): sets 1 field: csv
  4. Error Response (Respond to Webhook): sends the response back to the webhook caller
  5. Aggregate: combines items into one
  6. Convert Raw Text To CSV (Code): runs custom JavaScript code
  7. Send to Error Channel (Slack): uses Slack
  8. Success Response (Respond to Webhook): sends the response back to the webhook caller
  9. Check if Value (If): checks a condition and branches into true / false
  10. Aggregate: combines items into one

…plus 2 more steps. See the full node list below.

Services it uses

Slack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Who this template is for This template is for developers or teams who need to convert CSV data into JSON format through an API endpoint, with support for both file uploads and raw CSV text input. Use case Converting CSV files or raw CSV text data into JSON…

Excerpt from n8n Team's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.