Send Specific PDF Attachments from Gmail to Google Drive Using OpenAI
detail.loadingPreview
Automate filtering and uploading of specific PDF attachments from Gmail to Google Drive using OpenAI for text analysis.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow automates the process of receiving emails, identifying specific PDF attachments based on their content using OpenAI, and uploading these matched PDFs to a designated Google Drive folder. It's designed to help organize documents like invoices, receipts, or contracts received via email.
Key Features
- Triggers on new emails received in Gmail.
- Iterates through email attachments.
- Uses OpenAI to analyze PDF content and determine if it matches a specified keyword.
- Uploads matching PDF attachments to a Google Drive folder.
How To Use
- Import the workflow into your n8n instance.
- Configure Credentials: Set up credentials for both Gmail (to read emails) and Google Drive (to upload files).
- Set Configuration: In the 'Configure' node, specify:
Match on: The keyword (e.g., 'invoice', 'payslip') that OpenAI should look for in PDF content.Google Drive folder to upload matched PDFs: The URL or path to the target Google Drive folder.maxTokenSize: The maximum token size for the OpenAI model.replyTokenSize: The maximum token size for the OpenAI reply.
- Customize Search Term: Adjust the 'Match on' value in the 'Configure' node to suit your needs.
- Run the workflow: It will automatically trigger on new emails with attachments.
Apps Used
Workflow JSON
{
"id": "6fca675c-7b71-446c-b83c-029efeab61af",
"name": "Send Specific PDF Attachments from Gmail to Google Drive Using OpenAI",
"nodes": 0,
"category": "Email Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 6fca675c-7b71...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Save Gmail Attachments to Google Drive
Automatically saves attachments from new emails with specific criteria to Google Drive.
Gmail Invoice To Google Drive
Automatically downloads invoices from Gmail and saves them to Google Drive.
Mails2notion V2
Processes incoming emails and creates entries in Notion.
Email Mailbox as Todoist Tasks
Convert starred and unread emails from your Gmail inbox into actionable Todoist tasks.
Send Specific PDF Attachments from Gmail to Google Drive using OpenAI
Automates the process of sending specific PDF attachments from Gmail to Google Drive, leveraging OpenAI for content analysis.
Gmail Attachment To Google Drive (Split Out)
Receives emails via Gmail, splits out binary attachments, and saves them to Google Drive based on file size.