CSV to JSON Converter with Error Handling and Slack Notifications — n8n Workflow
Overview
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 format via a webhook endpoint, with error handling and notifications. This is particularly useful when you need to transform CSV data into JSON as part of a larger automation or integration process.
How this workflow works
Receives POST req
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a webhook trigger.
- 2
Process
Data flows through 13 nodes, connecting aggregate, code, extractfromfile.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (13)
Sticky Note
stickyNote
Extract From File
extractFromFile
Success Response2
respondToWebhook
Change Field
set
Switch
switch
Send to Error Channel
slack
Convert Raw Text To CSV
code
Check if Value
if
Send Raw CSV
httpRequest
POST
webhook
Aggregate1
aggregate
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows → New → Import from file.
- 3Select the downloaded
csv-to-json-converter-with-error-handling-and-slack-notificationsfile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n → Import from JSON:
Integrations
Created by
n8n Team
@n8n-team
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free →