Track retail layaway plans and payment reminders with gpt-6-luna and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 25 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Google Sheets, Gmail and OpenAI Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).
- Normalize Plan (Edit Fields (Set)): sets 16 fields: plan_id, customer_name, customer_email…
- Read Plans (Google Sheets): uses Google Sheets
- Read Plans Monthly (Google Sheets): uses Google Sheets
- Validate Plan (If): checks a condition and branches into true / false
- Compute Payment State (Code): runs custom JavaScript code
- Compute Month Stats (Code): runs custom JavaScript code
- Log Plan (Google Sheets): append
- Email Reject Notice (Gmail): uses Gmail
- If: checks a condition and branches into true / false
- AI Write Review (AI Agent): runs an AI agent, with model: Monthly Review Model
…plus 11 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 - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Layaway plans are easy to start and easy to lose track of, which is where the money quietly walks out of the store. This workflow logs each new plan to Google Sheets, emails the customer their payment schedule, chases due and overdue payments every morning,…