Back to Catalog

Invoice creator with Google Sheets & automated email payment reminder system

Oneclick AI SquadOneclick AI Squad
845 views
2/3/2026
Official Page

This automated n8n workflow streamlines invoice creation and payment reminders. It generates invoices on a monthly schedule and sends reminders for overdue payments, updating records in Google Sheets.

Good to Know

  • Supports monthly invoice generation and daily overdue checks
  • Integrates with Google Sheets for data management
  • Uses email notifications for invoice delivery and reminders
  • Includes logging for tracking and auditing
  • Features multiple reminder types based on overdue duration

How It Works

Invoice Creation Flow:

  • Monthly Invoice Trigger - Initiates workflow on a set monthly schedule
  • Get Clients for Invoicing - Reads client data from Google Sheet
  • Filter Active Clients - Filters out inactive clients
  • Generate Invoice Data - Creates invoice details in required format
  • Save Invoice to Google Sheets - Appends or updates invoice record in the sheet
  • Send Invoice Email - Sends the invoice to the client via email
  • Log Invoice Creation - Logs invoice creation for records/auditing

Reminder Flow:

  • Daily Payment Reminder Check - Triggers workflow daily to check overdue invoices
  • Get Overdue Invoices - Reads overdue invoices from Google Sheet
  • Filter Overdue Invoices - Filters invoices still unpaid
  • Calculate Reminder Type - Calculates how many days overdue
  • Switch Reminder Type - Decides which type of reminder to send
  • Send Gentle / Follow-up / Urgent / Final Notice - Sends respective reminder email
  • Update Reminder Log - Updates reminder status in the sheet

How to Use

  • Import workflow into n8n
  • Configure Google Sheets API for data access
  • Set up email service for notifications
  • Define monthly schedule for invoice trigger
  • Test with sample client data and monitor reminders
  • Adjust reminder thresholds as needed

Requirements

  • Access to Google Sheets API
  • Email service configuration
  • Scheduled trigger setup in n8n

Sheet Columns:

  • Client Name
  • Invoice ID
  • Amount
  • Due Date
  • Status
  • Reminder Type
  • Last Updated

Customizing This Workflow

  • Modify invoice generation schedule
  • Adjust reminder email templates
  • Configure custom Google Sheet columns
  • Set custom overdue thresholds
  • Integrate additional notification methods

Automated Invoice Creator with Google Sheets and Email Payment Reminder System

This n8n workflow automates the process of creating invoices, tracking their payment status in a Google Sheet, and sending automated payment reminders via email. It's designed to streamline invoicing and follow-up, reducing manual effort and ensuring timely payments.

What it does

  1. Schedules Execution: The workflow runs periodically (e.g., daily, weekly) to check for pending invoices.
  2. Reads Invoice Data: It connects to a specified Google Sheet to retrieve invoice details, including customer information, invoice amount, due date, and payment status.
  3. Processes Invoices:
    • It filters invoices based on their payment status (e.g., "Pending", "Overdue").
    • For new invoices, it might generate and send the initial invoice.
    • For overdue invoices, it prepares a payment reminder.
  4. Sends Email Reminders: Based on the invoice status, it constructs and sends personalized email reminders to customers.
  5. Updates Google Sheet: After sending reminders or processing invoices, it updates the Google Sheet with the latest payment status or reminder sent date.

Prerequisites/Requirements

  • n8n Instance: A running n8n instance (self-hosted or cloud).
  • Google Account: A Google account with access to Google Sheets.
    • You will need to create a Google Sheet to store your invoice data. The sheet should ideally contain columns such as Invoice ID, Customer Name, Customer Email, Amount, Due Date, Status (e.g., "Pending", "Paid", "Overdue"), and potentially Last Reminder Sent.
  • SMTP Credentials: Access to an SMTP server for sending emails. This could be a traditional email service (Gmail, Outlook, SendGrid, etc.) or a custom SMTP setup.

Setup/Usage

  1. Import the Workflow:
    • Download the provided JSON file.
    • In your n8n instance, go to "Workflows" and click "New".
    • Click the three dots menu (...) in the top right and select "Import from JSON".
    • Paste the workflow JSON or upload the file.
  2. Configure Credentials:
    • Google Sheets: You will need to set up a Google Sheets credential.
      • Click on the "Google Sheets" node.
      • Under "Credentials", select "Create New".
      • Choose "Google Sheets API" and follow the authentication steps (OAuth2 is recommended). Ensure you grant access to your Google Sheets.
    • Send Email: You will need to set up an Email (SMTP) credential.
      • Click on the "Send Email" node.
      • Under "Credentials", select "Create New".
      • Enter your SMTP server details (host, port, user, password, security).
  3. Customize Google Sheet Node:
    • In the "Google Sheets" node, select the correct "Spreadsheet ID" and "Sheet Name" where your invoice data is stored.
    • Adjust the "Operation" and "Resource" as needed (e.g., "Read" to get data, "Update" to change status).
  4. Customize Code Node (if present):
    • If there's a "Code" node, it likely contains logic for filtering, formatting, or determining email content. Review and adjust the JavaScript code to match your specific business rules and data structure.
  5. Customize Switch Node:
    • The "Switch" node will likely contain conditions to route the workflow based on invoice status. Configure the conditions to match the values in your Google Sheet (e.g., {{ $json.status === 'Pending' }} or {{ $json.status === 'Overdue' }}).
  6. Customize Send Email Node:
    • Configure the "To" address using an expression like {{ $json.customerEmail }} to dynamically pull the recipient's email from the Google Sheet data.
    • Customize the "Subject" and "Body" of the email to create your invoice or reminder message. You can use expressions to insert dynamic data (e.g., {{ $json.customerName }}, {{ $json.amount }}, {{ $json.dueDate }}).
  7. Configure Cron Trigger:
    • Adjust the "Cron" node to define how often the workflow should run (e.g., daily at a specific time, every weekday).
  8. Activate the Workflow: Once all configurations are complete, activate the workflow. It will start running according to the schedule defined in the "Cron" node.

This workflow provides a robust foundation for automating your invoicing and payment reminder process, ensuring you stay on top of your receivables.

Related Templates

Auto-reply & create Linear tickets from Gmail with GPT-5, gotoHuman & human review

This workflow automatically classifies every new email from your linked mailbox, drafts a personalized reply, and creates Linear tickets for bugs or feature requests. It uses a human-in-the-loop with gotoHuman and continuously improves itself by learning from approved examples. How it works The workflow triggers on every new email from your linked mailbox. Self-learning Email Classifier: an AI model categorizes the email into defined categories (e.g., Bug Report, Feature Request, Sales Opportunity, etc.). It fetches previously approved classification examples from gotoHuman to refine decisions. Self-learning Email Writer: the AI drafts a reply to the email. It learns over time by using previously approved replies from gotoHuman, with per-classification context to tailor tone and style (e.g., different style for sales vs. bug reports). Human Review in gotoHuman: review the classification and the drafted reply. Drafts can be edited or retried. Approved values are used to train the self-learning agents. Send approved Reply: the approved response is sent as a reply to the email thread. Create ticket: if the classification is Bug or Feature Request, a ticket is created by another AI agent in Linear. Human Review in gotoHuman: How to set up Most importantly, install the gotoHuman node before importing this template! (Just add the node to a blank canvas before importing) Set up credentials for gotoHuman, OpenAI, your email provider (e.g. Gmail), and Linear. In gotoHuman, select and create the pre-built review template "Support email agent" or import the ID: 6fzuCJlFYJtlu9mGYcVT. Select this template in the gotoHuman node. In the "gotoHuman: Fetch approved examples" http nodes you need to add your formId. It is the ID of the review template that you just created/imported in gotoHuman. Requirements gotoHuman (human supervision, memory for self-learning) OpenAI (classification, drafting) Gmail or your preferred email provider (for email trigger+replies) Linear (ticketing) How to customize Expand or refine the categories used by the classifier. Update the prompt to reflect your own taxonomy. Filter fetched training data from gotoHuman by reviewer so the writer adapts to their personalized tone and preferences. Add more context to the AI email writer (calendar events, FAQs, product docs) to improve reply quality.

gotoHumanBy gotoHuman
353

Ai website scraper & company intelligence

AI Website Scraper & Company Intelligence Description This workflow automates the process of transforming any website URL into a structured, intelligent company profile. It's triggered by a form, allowing a user to submit a website and choose between a "basic" or "deep" scrape. The workflow extracts key information (mission, services, contacts, SEO keywords), stores it in a structured Supabase database, and archives a full JSON backup to Google Drive. It also features a secondary AI agent that automatically finds and saves competitors for each company, building a rich, interconnected database of company intelligence. --- Quick Implementation Steps Import the Workflow: Import the provided JSON file into your n8n instance. Install Custom Community Node: You must install the community node from: https://www.npmjs.com/package/n8n-nodes-crawl-and-scrape FIRECRAWL N8N Documentation https://docs.firecrawl.dev/developer-guides/workflow-automation/n8n Install Additional Nodes: n8n-nodes-crawl-and-scrape and n8n-nodes-mcp fire crawl mcp . Set up Credentials: Create credentials in n8n for FIRE CRAWL API,Supabase, Mistral AI, and Google Drive. Configure API Key (CRITICAL): Open the Web Search tool node. Go to Parameters → Headers and replace the hardcoded Tavily AI API key with your own. Configure Supabase Nodes: Assign your Supabase credential to all Supabase nodes. Ensure table names (e.g., companies, competitors) match your schema. Configure Google Drive Nodes: Assign your Google Drive credential to the Google Drive2 and save to Google Drive1 nodes. Select the correct Folder ID. Activate Workflow: Turn on the workflow and open the Webhook URL in the “On form submission” node to access the form. --- What It Does Form Trigger Captures user input: “Website URL” and “Scraping Type” (basic or deep). Scraping Router A Switch node routes the flow: Deep Scraping → AI-based MCP Firecrawler agent. Basic Scraping → Crawlee node. Deep Scraping (Firecrawl AI Agent) Uses Firecrawl and Tavily Web Search. Extracts a detailed JSON profile: mission, services, contacts, SEO keywords, etc. Basic Scraping (Crawlee) Uses Crawl and Scrape node to collect raw text. A Mistral-based AI extractor structures the data into JSON. Data Storage Stores structured data in Supabase tables (companies, company_basicprofiles). Archives a full JSON backup to Google Drive. Automated Competitor Analysis Runs after a deep scrape. Uses Tavily web search to find competitors (e.g., from Crunchbase). Saves competitor data to Supabase, linked by company_id. --- Who's It For Sales & Marketing Teams: Enrich leads with deep company info. Market Researchers: Build structured, searchable company databases. B2B Data Providers: Automate company intelligence collection. Developers: Use as a base for RAG or enrichment pipelines. --- Requirements n8n instance (self-hosted or cloud) Supabase Account: With tables like companies, competitors, social_links, etc. Mistral AI API Key Google Drive Credentials Tavily AI API Key (Optional) Custom Nodes: n8n-nodes-crawl-and-scrape --- How It Works Flow Summary Form Trigger: Captures “Website URL” and “Scraping Type”. Switch Node: deep → MCP Firecrawler (AI Agent). basic → Crawl and Scrape node. Scraping & Extraction: Deep path: Firecrawler → JSON structure. Basic path: Crawlee → Mistral extractor → JSON. Storage: Save JSON to Supabase. Archive in Google Drive. Competitor Analysis (Deep Only): Finds competitors via Tavily. Saves to Supabase competitors table. End: Finishes with a No Operation node. --- How To Set Up Import workflow JSON. Install community nodes (especially n8n-nodes-crawl-and-scrape from npm). Configure credentials (Supabase, Mistral AI, Google Drive). Add your Tavily API key. Connect Supabase and Drive nodes properly. Fix disconnected “basic” path if needed. Activate workflow. Test via the webhook form URL. --- How To Customize Change LLMs: Swap Mistral for OpenAI or Claude. Edit Scraper Prompts: Modify system prompts in AI agent nodes. Change Extraction Schema: Update JSON Schema in extractor nodes. Fix Relational Tables: Add Items node before Supabase inserts for arrays (social links, keywords). Enhance Automation: Add email/slack notifications, or replace form trigger with a Google Sheets trigger. --- Add-ons Automated Trigger: Run on new sheet rows. Notifications: Email or Slack alerts after completion. RAG Integration: Use the Supabase database as a chatbot knowledge source. --- Use Case Examples Sales Lead Enrichment: Instantly get company + competitor data from a URL. Market Research: Collect and compare companies in a niche. B2B Database Creation: Build a proprietary company dataset. --- WORKFLOW IMAGE --- Troubleshooting Guide | Issue | Possible Cause | Solution | |-------|----------------|-----------| | Form Trigger 404 | Workflow not active | Activate the workflow | | Web Search Tool fails | Missing Tavily API key | Replace the placeholder key | | FIRECRAWLER / find competitor fails | Missing MCP node | Install n8n-nodes-mcp | | Basic scrape does nothing | Switch node path disconnected | Reconnect “basic” output | | Supabase node error | Wrong table/column names | Match schema exactly | --- Need Help or More Workflows? 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. Contact: shilpa.raju@digitalbiz.tech For more such offerings, visit us: https://www.digitalbiz.tech ---

DIGITAL BIZ TECHBy DIGITAL BIZ TECH
923

Generate Funny AI Videos with Sora 2 and Auto-Publish to TikTok

This automation creates a fully integrated pipeline to generate AI-powered videos, store them, and publish them on TikTok — all automatically. It connects OpenAI Sora 2, and Postiz (for TikTok publishing) to streamline content creation. --- Key Benefits ✅ Full Automation – From text prompt to TikTok upload, everything happens automatically with no manual intervention once set up. ✅ Centralized Control – Google Sheets acts as a simple dashboard to manage prompts, durations, and generated results. ✅ AI-Powered Creativity – Uses OpenAI Sora 2 for realistic video generation and GPT-5 for optimized titles. ✅ Social Media Integration – Seamlessly posts videos to TikTok via Postiz, ready for your audience. ✅ Scalable & Customizable – Can easily be extended to other platforms like YouTube, Instagram, or LinkedIn. ✅ Time-Saving – Eliminates repetitive steps like manual video uploads or caption writing. --- How it works This workflow automates the end-to-end process of generating AI videos and publishing them to TikTok. It is triggered either manually or on a recurring schedule. Trigger & Data Fetch: The workflow starts by checking a specified Form for new entries. It looks for rows where a video has been requested (a "PROMPT" is filled) but not yet generated (the "VIDEO" column is empty). AI Video Generation: For each new prompt found, the workflow sends a request to the Fal.ai Sora 2 model to generate a video. It then enters a polling loop, repeatedly checking the status of the generation request every 60 seconds until the video is "COMPLETED". Post-Processing & Upload: Once the video is ready, the workflow performs several actions in parallel: Fetch Video & Store: It retrieves the final video URL, downloads the video file Generate Title: It uses the OpenAI GPT-4o-mini model to analyze the original prompt and generate an optimized, engaging title for the video. Publish to TikTok: The video file is uploaded to Postiz, a social media scheduling tool, which then automatically publishes it to a connected TikTok channel, using the AI-generated title as the post's caption. --- Set up steps To make this workflow functional, you need to complete the following configuration steps: Prepare the Google Sheet: Create a Form with at least "PROMPT", "DURATION", and "VIDEO" fields. Configure Fal.ai for Video Generation: Create an account at Fal.ai and obtain your API key. In both the "Create Video" and "Get status" HTTP Request nodes, set up the "Header Auth" credential. Set the Name to Authorization and the Value to Key YOURAPIKEY. Set up TikTok Publishing via Postiz: Create an account on Postiz and connect your TikTok account to get a Channel ID. Obtain your Postiz API key. In the "Upload Video to Postiz" and "TikTok" (Postiz) nodes, configure the API credentials. In the "TikTok" node, replace the placeholder "XXX" in the integrationId field with your actual TikTok Channel ID from Postiz. (Optional) Configure AI Title Generation: The "Generate title" node uses OpenAI. Ensure you have valid OpenAI API credentials configured in n8n for this node to work. --- Need help customizing? Contact me for consulting and support or add me on Linkedin. Header 2

DavideBy Davide
24772