Summarize PDFs with Groq AI and convert to audio using Qwen TTS
Ready for 3.0What this workflow does
This AI workflow has 12 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Groq Chat Model. It also calls qwen-qwen-tts-demo.hf.space over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Extract from File: extracts data from a file (pdf)
- Code: runs custom Python code
- AI Agent: runs an AI agent, with model: Groq Chat Model; memory: Simple Memory
- summary (Edit Fields (Set)): sets or maps fields
- TTS Request (HTTP Request): calls qwen-qwen-tts-demo.hf.space (POST)
- TTS Poll (HTTP Request): calls an HTTP API
- Extract Audio URL (Code): runs custom JavaScript code
- Edit Fields (Edit Fields (Set)): sets 2 fields: audioUrl, summary
- Respond with Both (Respond to Webhook): sends the response back to the webhook caller
Services it uses
HTTP calls to: qwen-qwen-tts-demo.hf.space
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 (9)
- Extract from File
n8n-nodes-base.extractFromFile - Webhook
n8n-nodes-base.webhook - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Respond to Webhook
n8n-nodes-base.respondToWebhook - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - AI Agent
@n8n/n8n-nodes-langchain.agent - Edit Fields (Set)
n8n-nodes-base.set - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
From the author
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works - User Uploads PDF : The workflow accepts a PDF via webhook. - Extract Text : n8n extracts the text content from the PDF. - Summarize with AI :…