How to Upload File to UploadThing in N8N
How to Upload Files to UploadThing in N8N
No official n8n node for UploadThing exists. I spent an hour looking for workarounds before figuring out the actual solution.
Here's what works instead:
The Setup
You need two things:
- A Code node that generates a presigned URL
- An HTTP Request node that uploads your file to that URL
Step by Step
1. Get your API key from UploadThing platform settings.
2. Add a Code node with the JavaScript below.
This generates the presigned URL for the actual upload.
3. Add an HTTP Request node
Point it to the URL generated by the Code node.
That's it. No custom integrations, no community nodes to maintain, no waiting for official support.
The presigned URL approach works because UploadThing uses standard S3-compatible uploads under the hood.
This article was originally published on https://craftengineer.com/. It was written by a human and polished using grammar tools for clarity.
--
Follow me on X (Formally, Twitter). Or read my stories on engineering management, and how to be a better engineering leader on Vibe Manager Blog.