Skip to main content

Bulk generate payment reminder PDFs from NocoDB with Autype

Workflow preview

Workflow preview
100%
Bulk generate payment reminder PDFs from NocoDB with Autype preview
Open on n8n.io

1. Workflow Overview

️ Important: This workflow uses the Autype community node and requires a self hosted n8n instance. This workflow reads overdue invoices from a NocoDB database, gener...

Best for

  • Invoice Processing automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.nocodb, n8n-nodes-base.code, n8n-nodes-autype.autype, n8n-nodes-base.emailsend, n8n-nodes-base.manualtrigger, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by 8Automator.

Original n8n.io source

1.1 Workflow description

Title
Bulk generate payment reminder PDFs from NocoDB with Autype
Workflow name
Bulk generate payment reminder PDFs from NocoDB with Autype

⚠️ Important: This workflow uses the Autype community node and requires a self-hosted n8n instance.

This workflow reads overdue invoices from a NocoDB database, generates a personalized payment reminder PDF for each record using the Autype Bulk Render API, and sends the resulting ZIP archive by email via SMTP. Days overdue are calculated automatically from the due date at runtime. Supported output formats: PDF, DOCX (Word), ODT.

Who is this for?

Finance teams, accounting departments, and developers who want to automate recurring document generation from database records. Good fit for payment reminders, invoices, collection letters, dunning notices, or any business correspondence that goes out in batches.

What this workflow does

It reads all overdue invoices from a NocoDB table, maps each row to a set of document variables, and sends everything to the Autype Bulk Render API in a single batch request. The result is a ZIP archive with one PDF per invoice, which gets sent by email via SMTP on a weekly schedule.

The included payment reminder template includes:

  • Company logo in the header, page numbers in the footer
  • Customer name and full address block
  • Invoice details table with USD amounts
  • Styled table with alternating row colors
  • Automatic date insertion via {{date/DD.MM.YYYY}}
  • Days overdue calculated at runtime from due_date (no separate DB column needed)

There is also a one-time setup flow (orange sticky note) that creates the Autype project and document template via API.

NocoDB Table Structure

Create a table called Overdue Invoices with the following columns:

Column Type Example
customer_name Text Jane Smith
customer_address Text 742 Evergreen Terrace, Springfield, IL 62704
invoice_number Text INV-2026-0042
amount_due Number 1,250.00
due_date Date 2026-02-15
company_name Text TechStart Inc.

> days_overdue is not stored in the database. The workflow calculates it from due_date at runtime. Amounts are rendered in USD. Change the template if you need a different currency.

Test Data

Use these two sample records to test the workflow:

Record 1:

Column Value
customer_name Jane Smith
customer_address 742 Evergreen Terrace, Springfield, IL 62704
invoice_number INV-2026-0042
amount_due 1250.00
due_date 2026-02-01
company_name TechStart Inc.

Record 2:

Column Value
customer_name Robert Chen
customer_address 88 Innovation Drive, Suite 400, Austin, TX 73301
invoice_number INV-2026-0078
amount_due 3480.50
due_date 2026-01-15
company_name DataFlow GmbH

How it works

One-time setup (run once, then disable):

  1. Run Setup Once — triggers the setup flow manually.
  2. Create Project — creates an Autype project named "Payment Reminders".
  3. Create Document — creates the payment reminder template and returns the document ID.

Main flow (weekly): 4. Weekly Schedule — runs every Monday by default. 5. Get Overdue Invoices — fetches all NocoDB rows where due_date < today. 6. Build Bulk Items — maps rows to Autype variable sets and calculates daysOverdue from due_date. 7. Bulk Render Payment Reminders — sends all items in one API call, waits for completion, downloads the ZIP. 8. Send ZIP via Email — sends the ZIP via SMTP to a print service, accounting inbox, or document archive.

Setup

  1. Install n8n-nodes-autype via Settings → Community Nodes (self-hosted n8n only).
  2. Get your API key at app.autype.comAPI Keys.
  3. Add an Autype API credential in n8n and update YOUR_CREDENTIAL_ID in each Autype node.
  4. Set up a NocoDB instance and create the "Overdue Invoices" table with the columns listed above. Add NocoDB API credentials in n8n.
  5. Configure SMTP credentials in n8n for email delivery.
  6. Run the one-time setup: Click Run Setup Once, then copy the document id from the Create Document output and paste it into the Build Bulk Items code node (replace YOUR_DOCUMENT_ID). Then disable the setup nodes.

Tip: It is easier to create and edit templates directly in the Autype web editor. The built-in AI agent can generate a full template from a single prompt. Once saved, the document ID is in the URL, e.g. https://app.autype.com/document/a70a811d-a745-46f8-8eeb-bb9f2eb8cegb. Use the JSON/Markdown switch to inspect the document JSON, or the Bulk tab to check the expected variable structure.

Note: This is a community node so it Requires a self-hosted n8n instance.

Requirements

  • Self-hosted n8n instance (community nodes are not available on n8n Cloud)
  • Autype account with API key (free tier available, paid plan recommended for bulk rendering)
  • n8n-nodes-autype community node installed
  • NocoDB instance with API access
  • SMTP server for email delivery

How to customize

  • Currency: Change $ {{amountDue}} in the document JSON to any other symbol if needed.
  • Output format: Set document.type to docx or odt for Word or OpenDocument output.
  • Data source: The NocoDB node can be swapped for Google Sheets, Airtable, PostgreSQL, MySQL, or any other n8n data source. Just map the field names in the Code node.
  • Document type: Replace the payment reminder layout with invoices, contracts, certificates, or any other document. Update the template and variable mappings to match.
  • Individual emails: Use Split In Batches to loop over the output and send each PDF to the corresponding customer directly.
  • Schedule: Adjust the Schedule Trigger to run daily, monthly, or swap it for a webhook trigger.
  • JSON syntax: All available document elements are documented in the Autype JSON Syntax Reference.
  • Post-processing: The Autype Tools API supports watermarks, password protection, compression, merging, and format conversion.

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - Weekly Schedule

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 2 - Get Overdue Invoices

Type / Role
n8n-nodes-base.nocoDb - nocoDb
Config choices
Version 3

Block 3 - Build Bulk Items

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Bulk Render Payment Reminders

Type / Role
n8n-nodes-autype.autype - autype
Config choices
Version 1

Block 5 - Send ZIP via Email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 6 - Run Setup Once

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 7 - Create Project

Type / Role
n8n-nodes-autype.autype - autype
Config choices
Version 1

Block 8 - Create Document

Type / Role
n8n-nodes-autype.autype - autype
Config choices
Version 1

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note Setup

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Bulk generate payment reminder PDFs from NocoDB with Autype
Complexity intermediate
Nodes 14
Categories Invoice Processing, Multimodal AI
Author 8Automator
Published 01 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13786/13786.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Bulk generate payment reminder PDFs from NocoDB with Autype do?

️ Important: This workflow uses the Autype community node and requires a self hosted n8n instance. This workflow reads overdue invoices from a NocoDB database, gener...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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, Multimodal AI use case.