Block 1 - OpenAI
- Type / Role
- @n8n/n8n-nodes-langchain.openAi - openAi
- Config choices
- Version 1.8
This workflow is provided as-is. Please review and test before using in production.
Who is it for? Anyone who wants to automatically aggregate their invoices or receipts. Main beneficiaries: small business owners and freelancers. How it works 1. Creates a folder in Google Drive fo...
@n8n/n8n-nodes-langchain.openai, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.noop, n8n-nodes-base.if, n8n-nodes-base.merge, n8n-nodes-base.googledrive, n8n-nodes-base.webhook
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Tom.
Original n8n.io sourceAnyone who wants to automatically aggregate their invoices or receipts. Main beneficiaries: small business owners and freelancers.
{
"name": "getInvoicesAndReceiptsFromEmails",
"description": "Finds and uploads to Google Drive all receipts and invoices from emails within a specified date range.",
"parameters": {
"type": "object",
"properties": {
"startDate": {
"type": "string",
"format": "date-time",
"description": "The start date of the range to search for emails. Must be in ISO 8601 format."
},
"endDate": {
"type": "string",
"format": "date-time",
"description": "The end date of the range to search for emails. Must be in ISO 8601 format."
},
"sendEmail": {
"type": "boolean",
"description": "Indicates whether to send an email with all receipts and invoices after processing. Must be true or false."
}
},
"required": [
"startDate",
"endDate"
]
}
}
Example body:
{
"startDate": "2025-03-01T00:00:00Z",
"endDate": "2025-04-01T00:00:00Z",
"sendEmail": true
}
You can trigger the workflow with an AI chat that supports tool use, such as BrowseWiz. For setup instructions, read the blog post.
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.
| Workflow | Extract & classify invoices & receipts with Gmail, OpenAI and Google Drive |
|---|---|
| Complexity | advanced |
| Nodes | 20 |
| Categories | Invoice Processing, AI Summarization |
| Author | Tom |
| Published | 26 Apr 2025 |
Use the JSON export at /data/workflows/3719/3719.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.
Who is it for? Anyone who wants to automatically aggregate their invoices or receipts. Main beneficiaries: small business owners and freelancers. How it works 1. Creates a folder in Google Drive fo...
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.