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

Gemiddeld complexiteit🔗 Webhook13 knooppunten💎 Other👁 2,765 weergavendoor n8n Team

Overzicht

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

Gebruikte knooppunten

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

Workflow-voorvertoning

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

Hoe het werkt

  1. 1

    Trigger

    De workflow start met een webhook-trigger.

  2. 2

    Verwerking

    Gegevens stromen door 13 knooppunten, connecting aggregate, code, extractfromfile.

  3. 3

    Uitvoer

    De workflow voltooit zijn automatisering en levert het resultaat aan de geconfigureerde bestemming.

Knooppuntdetails (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

Hoe deze workflow te importeren

  1. 1Klik op de knop JSON downloaden rechts om het workflowbestand op te slaan.
  2. 2Open uw n8n-instantie. Ga naar Workflows → Nieuw → Importeren uit bestand.
  3. 3Selecteer het gedownloade bestand csv-to-json-converter-with-error-handling-and-slack-notifications en klik op Importeren.
  4. 4Stel inloggegevens in voor elk serviceknooppunt (API-sleutels, OAuth, enz.).
  5. 5Klik op Workflow testen om te controleren of alles werkt, activeer het vervolgens.

Of plak rechtstreeks in n8n → Importeren uit JSON:

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

Integraties

aggregatecodeextractfromfilehttprequestifrespondtowebhooksetslackswitchwebhook

Haal deze workflow op

Download en importeer met één klik

JSON downloadenBekijken op n8n.io
Knooppunten13
Complexiteitmedium
Triggerwebhook
Weergaven2,765
CategorieOther

Gemaakt door

n8n Team

n8n Team

@n8n-team

Tags

aggregatecodeextractfromfilehttprequestifrespondtowebhooksetslackswitchwebhook

Nieuw bij n8n?

n8n is een gratis open-source workflow-automatiseringstool. Host het zelf of gebruik de cloudversie.

n8n gratis ophalen →