AcademyWorkflowsFinance

Save matching PDF attachments from Gmail to Drive

Finance and admin teams that want invoices and similar documents from email filed in a Drive folder.

  • Recommendedour rating
  • 17,846views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

send-specific-pdf-attachments-from-gmail-to-google-drive-using-openai.json

Loading the file...

AI automation

Want this workflow running in your company?

A template is the start. We adapt automations like this to your tools, handle the exceptions, and test and monitor them so they hold up under real load.

  • Free 20-minute call to look at your process
  • Connected to the tools you already use
  • Tested, monitored and documented

What it does

An n8n workflow that runs when an email arrives and reads the text of each PDF attachment. OpenAI checks whether it matches a search term you set, such as invoice, receipt or contract, and matching files are uploaded to a Google Drive folder.

Use cases

  1. 01File invoices received by email into an inbox folder
  2. 02Collect receipts for later processing
  3. 03Gather contracts sent as email attachments

Connects

Google Drive · Code · OpenAI

Questions about
Save matching PDF attachments from Gmail to Drive.

What is Save matching PDF attachments from Gmail to Drive used for?

Finance and admin teams that want invoices and similar documents from email filed in a Drive folder. An n8n workflow that runs when an email arrives and reads the text of each PDF attachment. OpenAI checks whether it matches a search term you set, such as invoice, receipt or contract, and matching files are uploaded to a Google Drive folder.

How do I import Save matching PDF attachments from Gmail to Drive into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Save matching PDF attachments from Gmail to Drive safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.