Move email attachments from Gmail into a selected Google Drive folder without manual work. Useful for teams that receive files from a known sender such as a vendor, a portal, or an internal system and need fast, consistent filing. Less inbox noise and quicker access to documents.
An always on Gmail trigger watches for unread messages from a specific address and downloads every attachment with a clear name prefix. Each file is split into its own item so the flow can handle them one by one without confusion. A switch checks size rules to decide where each file goes and valid files upload to Google Drive with the original file name and content. The Drive node pulls the file name and the file body from the first attachment automatically using safe expressions, so it still works when attachment keys and names change.
Setup uses Gmail and Google Drive accounts in n8n Cloud with OAuth credentials. Choose the Drive folder, confirm the sender filter, and tune the size limits in the Switch node to ignore tiny icons and flag very large files for review. Expect faster filing, fewer mistakes, and a repeatable handoff for invoices, signed forms, reports, and other email based documents.