Files and EDI
Multipart body
Reads or builds multipart bodies such as form uploads.
Nodes › FilesOpen in Neblex
- Good for
- File uploads to and from APIs
- Role
- Works on the records in a flow
- Find it in
- Nodes › Files
When to use it
- An API expects a file upload as form data.
- An incoming request carries files and fields together.
- A related or mixed multipart body must be built.
Reach for something else when
HTTP requestWhen the API takes a plain JSON body.Archive filesWhen the files should travel as one archive.
Example
Build a form-data body with a document and its metadata and post it to a document system.
How it works
- Settings
- Action: Read (the body in Field) or Build (from the record's
parts); for Build the Kind: form data, related or mixed; Write to. - Output
- Read: the body's fields and files. Build: the body with its content type, ready for an HTTP request step.
Add it to a flow
- Open the flow from Build › Workflows.
- Open Nodes and find Multipart body under Files, or search for it. Click it or drag it onto the canvas.
- Drag from the previous step's output handle to its input, then open its settings with ✎ Edit.
- Run the flow and click the step to see the records it received and produced.
More in Files and EDI
Create ExcelBuilds an Excel workbook from all records, ready to attach or upload.Nodes › FilesCreate fileBuilds one CSV, JSON or text file from all records.Nodes › FilesRead fileReads a CSV, JSON or text file carried on a record back into records.Nodes › FilesRead EDIReads ANSI X12 or UN/EDIFACT documents into a structure you can map.Nodes › FilesBuild EDIBuilds EDI text from a structure, ready to send to a partner.Nodes › FilesValidate EDIChecks an EDI document's envelope and required business segments.Nodes › Files