Parse multipart/form-data using npm and busboy on Pipedream
A user recently wanted to integrate data from a JotForm webhook. However, the content-type
for JotForm's webhook body is multipart/form-data
.
Luckily, it's easy to integrate this data using Pipedream since you can write any NodeJS code and use any NPM package. We added an action that:
- Uses the busboy NPM package to parse the
multipart/form-data
body - Transforms the data into JSON
- Exports the JSON data so it can be used in subsequent steps
Copy and run it for free here:
https://pipedream.com/@pravin/parse-multi-part-form-data-from-jotform-webhooks-p_2gCQPN/edit
And check out the workflow in action!