Generate summaries from uploaded files using OpenAI Assistants API
Ready for 3.0What this workflow does
This workflow has 8 nodes and runs when someone submits an n8n form (“Upload Form”). It uses only n8n's built-in nodes. It also calls api.openai.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Upload Form”).
- Upload File (HTTP Request): calls api.openai.com (POST)
- Create Thread (HTTP Request): calls api.openai.com
- Run Assistant (HTTP Request): calls an HTTP API (POST)
- Poll Run Status (HTTP Request): calls an HTTP API
- Is Not Complete? (If): checks a condition and branches into true / false
- Wait: waits 2 seconds
- Fetch Summary (HTTP Request): calls an HTTP API
HTTP calls to: api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - Wait
n8n-nodes-base.wait
From the author
Generate Summaries from Uploaded Files using OpenAI Assistants API 📑 Overview Upload a document (PDF, DOCX, PPTX, TXT, CSV, JSON, or Markdown) and receive an AI-generated summary containing: title – 5-10 words summary – 1-2 sentences bullets – 3-5 key points…