Block 1 - Gmail Trigger
- Type / Role
- n8n-nodes-base.gmailTrigger - gmailTrigger
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
This workflow converts emailed timesheets into structured invoice rows in Google Sheets and stores them in the correct Google Drive folder structure. It: Listens to Gmail for timesheet attachments ...
n8n-nodes-base.gmailtrigger, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.googlesheets, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.merge
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by DIGITAL BIZ TECH.
Original n8n.io sourceThis workflow converts emailed timesheets into structured invoice rows in Google Sheets and stores them in the correct Google Drive folder structure.
It:
https://universal-file-to-text-extractor.vercel.app/extracthas:attachment (filename:timesheet OR subject:timesheet) and unread only| Issue | Possible Solution |
|---|---|
| No rows are created | Check Gmail Trigger is active and the filter matches the email. Confirm email is unread and has attachments. |
| OCR returns empty or error | Check OCR URL, status code, and supported file types. Log the response body. |
| Wrong or missing dates or hours | Review OpenAI prompt and a sample output. Ensure JSON keys in Set Timesheet JSON Fields match the AI output. |
| Folders not found or created | Confirm the Client Invoices root exists and that Client Name and Folder Name text matches what the workflow expects. |
| Files in wrong year folder | Check Current Year extraction and Year Folder search logic. |
| Duplicate sheets for same period | Check file naming code and Drive search nodes for exact match on names. |
| Due Date incorrect | Confirm Due Date Calculation in PO sheet and date math formats in Set and append nodes. |
Want to customize this workflow for your business or integrate it with your existing tools?
Our team at Digital Biz Tech can tailor it precisely to your use case from automation logic to AI-powered enhancements.
We can help you set it up for free — from connecting credentials to deploying it live.
Contact: [email protected]
Website: https://www.digitalbiz.tech
LinkedIn: https://www.linkedin.com/company/digital-biz-tech/
You can also DM us on LinkedIn for any help.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 56 workflow blocks. Download the JSON for the full node graph.
| Workflow | Automate timesheet to invoice conversion with OpenAI, Gmail & Google Workspace |
|---|---|
| Complexity | advanced |
| Nodes | 56 |
| Categories | Invoice Processing, AI Summarization |
| Author | DIGITAL BIZ TECH |
| Published | 28 Nov 2025 |
Use the JSON export at /data/workflows/11327/11327.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
This workflow converts emailed timesheets into structured invoice rows in Google Sheets and stores them in the correct Google Drive folder structure. It: Listens to Gmail for timesheet attachments ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Invoice Processing, AI Summarization use case.