Send specific PDF attachments from Gmail to Google Drive using OpenAI
n8n template #1897Summary
Use templateThis workflow reads PDF textual content and sends the text to OpenAI. Attachments of interest will then be uploaded to a specified Google Drive folder. For example, you may wish to send invoices received from an email to an inbox folder in Google Drive for later processing. This workflow has been designed to easily change the search term to match your needs. See the workflow for more details. Prerequisites OpenAI credentials. Google credentials. How it works Triggers off on the On email received node. Iterates over the attachments in the email. Uses the OpenAI node to filter out the attachments that do not match the search term set in the Configure node. You could match on various PDF files
Hand off to your agent
Prompt
Help me set up the n8n workflow "Send specific PDF attachments from Gmail to Google Drive using OpenAI" (https://n8n.io/workflows/1897). It uses: Google Drive, Code, OpenAI. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Similar workflows
NameViews
- Fully Automated AI Video Generation & Multi-Platform Publishing191K
- AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs93K
- AI Email Analyzer: Process PDFs, Images & Save to Google Drive + Telegram21K
- Create a Multi-Modal Telegram Support Bot with GPT-4 and Supabase RAG10K
- Narrating over a Video using Multimodal AI8,840
- Create Content from Form Inputs and Save it to Google Drive using AI8,644
- Extract & Classify Invoices & Receipts with Gmail, OpenAI and Google Drive6,645
- Automate YouTube Uploads with AI-Generated Metadata from Google Drive6,190