This n8n workflow intelligently processes incoming Gmail emails to identify and manage specific PDF attachments. It leverages OpenAI to analyze the content of these PDFs, allowing for smart decisions on whether to save them. The workflow first triggers upon receiving an email, then extracts and reads any PDF attachments. Based on the AI's analysis of the PDF's content, it determines if the document meets predefined criteria for storage. If the criteria are met, the workflow automatically uploads these specific PDF files to a designated folder in Google Drive. This automation streamlines document management, ensuring only relevant PDFs are archived, reducing manual effort and improving organization. It's ideal for filtering invoices, reports, or other critical documents based on their textual content.
Free n8n workflow template ready to import
Official n8n visualization • Click and drag to explore
Loading workflow visualization...
Click the "Download Workflow" button above to get the JSON file.
In your n8n instance, go to Workflows → Import and select the JSON file.
Set up your Read P D F and other service credentials in n8n.
Activate the workflow and test it to ensure everything works correctly.
Get a custom n8n workflow built specifically for your business needs.
Ready to transform your business?