Close monthly accounting documents from Dropbox with Google Drive, Gmail and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 55 nodes and runs on a schedule (every day at 07:00) (plus 3 other triggers). Along the way it connects Dropbox, Google Drive, Gmail and OpenAI Chat Model.
How it runs
Trigger: On a schedule (every day at 07:00) (plus 3 other triggers).
- Settings (Edit Fields (Set)): sets 16 fields: yourEmail, accountantEmail, dropboxRoot…
- What started the run? (Switch): routes items into 3 branches
- List the Dropbox archive (Dropbox): list (folder)
- Month to check (Edit Fields (Set)): sets 2 fields: month, round
- Email me: workflow stopped (Gmail): send (message)
- What to mirror (Code): runs custom JavaScript code
- Create the table Expected documents if missing (Data table): create (table)
- List the year folders on Drive (Google Drive): search (file folder)
- Create the table Documents read if missing (Data table): create (table)
- Years to create (Code): runs custom JavaScript code
…plus 39 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Google Drive templates (628) · Other Gmail + Google Drive templates (465)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (16)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Switch
n8n-nodes-base.switch - Dropbox
n8n-nodes-base.dropbox - Code
n8n-nodes-base.code - Google Drive
n8n-nodes-base.googleDrive - If
n8n-nodes-base.if - Data table
n8n-nodes-base.dataTable - Extract from File
n8n-nodes-base.extractFromFile - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Gmail
n8n-nodes-base.gmail - Filter
n8n-nodes-base.filter - Manual Trigger
n8n-nodes-base.manualTrigger - Error Trigger
n8n-nodes-base.errorTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
Quick overview This workflow mirrors recent month folders from Dropbox to a shared Google Drive archive and, twice a month, uses OpenAI to recognize and validate required accounting documents, then emails you a checklist and creates a Gmail draft to your…