Collect and track lien waivers with Google Sheets, Gmail, and GPT-4o-mini
Ready for 3.0What this workflow does
This AI workflow has 41 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects Gmail, OpenAI Chat Model and Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Normalize Invoice (Edit Fields (Set)): sets 10 fields: vendor_name, vendor_email, invoice_number…
- Normalize Receipt (Edit Fields (Set)): sets 5 fields: invoice_number, vendor_name, received_date…
- Read Open Waivers (Google Sheets): read
- Read All Waivers (Google Sheets): read
- Validate Waiver Request (If): checks a condition and branches into true / false
- Find Waiver Row (Google Sheets): read
- Flag Overdue Waivers (Code): runs custom JavaScript code
- Pick Vendor Reminders (Code): runs custom JavaScript code
- Collate Tracker Data (Code): runs custom JavaScript code
- Read Existing Waivers (Google Sheets): read
…plus 24 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
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 (9)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Payments wait on paperwork, and lien waivers are the paperwork nobody wants to chase. This workflow asks each vendor for a signed waiver as soon as their invoice is ready, checks the AI email before it goes out, reminds vendors before the due date, only…