CSV to JSON Converter with Error Handling and Slack Notifications — n8n ワークフロー

複雑度🔗 Webhook13個のノード💎 Other👁 2,765回閲覧作成者:n8n Team

概要

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

使用ノード

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

ワークフロープレビュー

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

仕組み

  1. 1

    トリガー

    このワークフローは webhook トリガーで開始します。

  2. 2

    処理

    データは 13 個のノードを流れます, connecting aggregate, code, extractfromfile。

  3. 3

    出力

    ワークフローは自動化を完了し、設定された宛先に結果を配信します。

ノード詳細 (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

このワークフローのインポート方法

  1. 1右側の JSONをダウンロード ボタンをクリックしてワークフローファイルを保存します。
  2. 2n8nインスタンスを開き、ワークフロー → 新規 → ファイルからインポート に進みます。
  3. 3ダウンロードした csv-to-json-converter-with-error-handling-and-slack-notifications ファイルを選択し、インポートをクリックします。
  4. 4各サービスノードの 認証情報(APIキー、OAuthなど)を設定します。
  5. 5ワークフローをテスト をクリックして動作確認し、有効化します。

またはn8nの JSONからインポート に直接貼り付け:

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

インテグレーション

aggregatecodeextractfromfilehttprequestifrespondtowebhooksetslackswitchwebhook

このワークフローを取得

ワンクリックでダウンロード&インポート

JSONをダウンロードn8n.ioで見る
ノード13
複雑度medium
トリガーwebhook
閲覧数2,765
カテゴリOther

作成者

n8n Team

n8n Team

@n8n-team

タグ

aggregatecodeextractfromfilehttprequestifrespondtowebhooksetslackswitchwebhook

n8n初めてですか?

n8nは無料のオープンソースワークフロー自動化ツールです。セルフホストまたはクラウド版をご利用いただけます。

n8nを無料で始める →