CSV to JSON Converter with Error Handling and Slack Notifications — n8n Workflow

Mittel Komplexität🔗 Webhook13 Knoten💎 Other👁 2,765 Aufrufevon n8n Team

Übersicht

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

Verwendete Knoten

Sticky NoteExtract From FileSuccess Response2Change FieldSwitchSend to Error ChannelConvert Raw Text To CSVCheck if ValueSend Raw CSVPOSTAggregate1

Workflow-Vorschau

Testing
Testing can be done with CURL or similar.
For File posting using Form Data
curl -X POST "https://yoururl.com/webhook-test/tool/csv
-H "Content-Type: text/csv" \
--da
Response
Where possible we will be returning a binary object.
```
If there is an error
```
{
Sample of Raw CSV Data Send
Use the HTTP request node below to see how to send the
E
Extract From File
E
Error Response
S
Success Response
C
Change Field
S
Switch
S
Send to Error Channel
C
Convert Raw Text To CSV
C
Check if Value
S
Send Raw CSV
P
POST
A
Aggregate
A
Aggregate1
S
Success Response2
13 nodes18 edges

So funktioniert es

  1. 1

    Auslöser

    Der Workflow startet mit einem webhook-Auslöser.

  2. 2

    Verarbeitung

    Die Daten fließen durch 13 Knoten, connecting aggregate, code, extractfromfile.

  3. 3

    Ausgabe

    Der Workflow schließt seine Automatisierung ab und liefert das Ergebnis an das konfigurierte Ziel.

Knotendetails (13)

ST

Sticky Note

stickyNote

#1
EX

Extract From File

extractFromFile

#2
SU

Success Response2

respondToWebhook

#3
CH

Change Field

set

#4
SW

Switch

switch

#5
SE

Send to Error Channel

slack

#6
CO

Convert Raw Text To CSV

code

#7
CH

Check if Value

if

#8
SE

Send Raw CSV

httpRequest

#9
PO

POST

webhook

#10
AG

Aggregate1

aggregate

#11

So importieren Sie diesen Workflow

  1. 1Klicken Sie rechts auf die Schaltfläche JSON herunterladen, um die Workflow-Datei zu speichern.
  2. 2Öffnen Sie Ihre n8n-Instanz. Gehen Sie zu Workflows → Neu → Aus Datei importieren.
  3. 3Wählen Sie die heruntergeladene Datei csv-to-json-converter-with-error-handling-and-slack-notifications und klicken Sie auf Importieren.
  4. 4Richten Sie Anmeldedaten für jeden Dienstknoten ein (API-Schlüssel, OAuth usw.).
  5. 5Klicken Sie auf Workflow testen, um zu überprüfen, ob alles funktioniert, und aktivieren Sie es dann.

Oder direkt in n8n → Aus JSON importieren einfügen:

{ "name": "CSV to JSON Converter with Error Handling and Slack Notifications", "nodes": [...], ...}

Integrationen

aggregatecodeextractfromfilehttprequestifrespondtowebhooksetslackswitchwebhook

Diesen Workflow holen

Herunterladen und mit einem Klick importieren

JSON herunterladenAuf n8n.io ansehen
Knoten13
Komplexitätmedium
Auslöserwebhook
Aufrufe2,765
KategorieOther

Erstellt von

n8n Team

n8n Team

@n8n-team

Tags

aggregatecodeextractfromfilehttprequestifrespondtowebhooksetslackswitchwebhook

Neu bei n8n?

n8n ist ein kostenloses Open-Source-Workflow-Automatisierungstool. Selbst hosten oder die Cloud-Version nutzen.

n8n kostenlos holen →