Send escalating invoice reminders with Notion, Claude, Gmail and Telegram
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Notion
n8n-nodes-base.notion - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram
What it does
Quick overview This workflow runs every morning to pull unpaid invoices from a Notion database, calculates how overdue each one is, uses Anthropic Claude to draft an escalation-appropriate reminder, emails the client via Gmail, updates the invoice record in Notion, and alerts you in Telegram for high-risk late payments. How it works 1. Runs every day at 8:00 AM on a schedule. 2. Fetches all unpaid invoice pages from a Notion database and normalizes the key invoice fields into a flat structure. 3. Calculates days overdue from the due date, determines which reminder tier (1/2/3) is due based on thresholds and what was already sent, and skips invoices that are not yet due for the next escalation. 4. Uses Anthropic Claude to generate a subject line and message body that matches the escalation tier. 5. Sends the reminder email to the client via Gmail and updates the Notion page to record the latest reminder tier sent. 6. If the invoice reaches the final (tier 3) escalation, sends a Telegram message to the freelancer to flag the invoice as a payment risk. Setup 1. Create or choose a Notion invoice database with the properties referenced by the workflow (including Status, Due Date, Client Email, and Reminder Tier Sent) and paste the database ID into the Notion node configuration. 2. Add credentials for Notion, Anthropic (Claude), Gmail, and Telegram, and select them in their respective nodes. 3. Set your Telegram chat ID in the Telegram node and ensure your Notion Status values match the workflow filter (for example, invoices to remind are marked as “unpaid”).