A small Next.js app that sends uploaded images to an n8n workflow for review.
-
Install dependencies:
npm install
-
Copy
.env.exampleto.env.localand set your webhook URL:NEXT_PUBLIC_N8N_WEBHOOK_URL=https://your-n8n-instance.example/webhook/image-qa
-
Import the workflow in n8n:
- Open
files/n8n-image-qa-workflow.json - Import it into n8n
- Add your credentials, including
OPENAI_API_KEY - Activate the workflow
- Open
-
Start the app:
npm run dev
- Open the app in your browser.
- Attach one or more images.
- Send them to the workflow.
- The app only works after you set
NEXT_PUBLIC_N8N_WEBHOOK_URL. - The workflow file is meant to be imported as-is, then customized with your own credentials.