Stop Chasing Past Due Invoices Manually! ๐
Complete N8N Automation Guide for Printavo Users
๐ธ Tired of manual follow-ups? This free automation checks for overdue invoices every 2 days and sends professional follow-up emails automatically!
๐ฏ What This Automation Does
Smart Invoice Detection
Automatically scans your Printavo account for invoices with specific completion statuses that are past due
Days Late Calculation
Calculates exactly how many days each invoice is overdue for personalized follow-up messaging
Professional Email Follow-ups
Sends courteous, professional reminder emails with invoice details and payment links
Automated Scheduling
Runs every 2 days at 10 AM automatically - set it and forget it!
๐ Before You Start
โ What You Need:
- Active Printavo account
- Printavo API credentials (email + token)
- Gmail account for sending emails
- Free N8N account or self-hosted instance
- 15 minutes of setup time
๐ฏ Targeted Invoice Statuses:
๐ Job Complete - Shipped ๐
*Job Complete - Delivered ๐
๐Job Complete - Payment Request
Only invoices with these exact statuses and outstanding balances will trigger follow-ups.
๐ Step 1: Get Your Printavo API Credentials
Log into Printavo
Go to your Printavo dashboard and navigate to your account settings.
Find API Section
Look for "API" or "Integrations" in your account settings menu.
Generate API Token
Create a new API token if you don't have one. Copy both your email and the generated token.
โ๏ธ Step 2: Set Up N8N Workflow
Create New Workflow
In your N8N instance, click "New Workflow" and give it a descriptive name like "Printavo Invoice Follow-up".
Import Workflow JSON
Copy and paste the complete workflow JSON below into N8N's import function:
This is a friendly reminder that you have an outstanding balance on invoice #{{ $json.visualId }}, which is now {{ $json.daysLate }} days past due.
Please take a moment to review the invoice and make payment as soon as possible to avoid any late fees or interruptions in service.
If you've already sent payment, please disregard this message. Otherwise, feel free to reach out if you have any questions or need help accessing the invoice.
Thank you,
Your Print Shop Team", "options": {} }, "type": "n8n-nodes-base.gmail", "typeVersion": 2.1, "position": [768, 0], "id": "4843f080-665d-405f-85e5-f3f339f87e4b", "name": "Send Email", "credentials": { "gmailOAuth2": { "id": "YOUR_GMAIL_CREDENTIAL_ID", "name": "Your Gmail Account" } } } ], "connections": { "Schedule Trigger": { "main": [ [ { "node": "Fetch Invoices", "type": "main", "index": 0 } ] ] }, "Fetch Invoices": { "main": [ [ { "node": "Filter Exact Statuses", "type": "main", "index": 0 } ] ] }, "Filter Exact Statuses": { "main": [ [ { "node": "Calculate Days Late", "type": "main", "index": 0 } ] ] }, "Calculate Days Late": { "main": [ [ { "node": "Send Email", "type": "main", "index": 0 } ] ] } } }
๐ง Step 3: Configure Each Node
Schedule Trigger Node
This node automatically runs your workflow every 2 days at 10 AM. You can customize the timing:
Current Settings:
- Interval: Every 2 days
- Time: 10:00 AM
- Timezone: Your local timezone
Fetch Invoices Node
This HTTP Request node connects to Printavo's GraphQL API to fetch your invoice data.
Configuration Steps:
- Click on the "Fetch Invoices" node
- In the Headers section, find the JSON:
- Replace "YOUR_PRINTAVO_EMAIL" with your actual Printavo email
- Replace "YOUR_PRINTAVO_TOKEN" with your API token from Step 1
What This Query Fetches:
- โข Invoice ID and visual ID
- โข Current status name
- โข Payment due date
- โข Outstanding amount
- โข Customer contact info (name & email)
- โข Public invoice URL
Filter Exact Statuses Node
This JavaScript function filters invoices to only include those that meet our follow-up criteria.
Filter Criteria:
- Status matches one of the three completion statuses
- Payment due date is today or earlier
- Outstanding balance is greater than $0
Calculate Days Late Node
This Set node calculates how many days past due each invoice is for personalized messaging.
Calculation Formula:
This ensures we never show negative days and rounds down to whole days.
No configuration needed - this node automatically calculates based on the payment due date from Printavo.
Gmail Node Setup
This node sends the automated follow-up emails through your Gmail account.
Gmail Authentication Steps:
- Click on the "Send Email" node
- Click "Create New" next to Gmail credentials
- Follow N8N's OAuth flow to connect your Gmail
- Test the connection to ensure it works
Email Template Configuration:
Recipients:
Replace "YOUR_SHOP_EMAIL@domain.com" with your shop's email for BCC copies.
Subject Line:
Email Body Template:
๐งช Step 4: Test Your Workflow
Before activating the automation, it's crucial to test each step to ensure everything works correctly.
Manual Execution
Click the "Execute Workflow" button to run a manual test. This will help you verify:
- Printavo API connection is working
- Invoice filtering logic is correct
- Days late calculation is accurate
- Email formatting looks good
Check Each Node Output
Click on each node after execution to see the data flow:
- Fetch Invoices: Should show all your recent invoices
- Filter Statuses: Should only show overdue completed jobs
- Calculate Days: Should add the "daysLate" field
- Send Email: Should show successful email delivery
Verify Email Delivery
Check that test emails were sent correctly and review the formatting in your email client.
๐ Step 5: Activate Your Automation
Save Your Workflow
Use Ctrl+S (or Cmd+S on Mac) to save all your configurations.
Activate the Trigger
Toggle the "Active" switch in the top-right corner of your workflow. The Schedule Trigger will show as "Active" when properly enabled.
Monitor Execution
Check the execution history regularly to ensure the workflow runs successfully every 2 days.
๐ Congratulations!
Your automated invoice follow-up system is now live! It will check for overdue invoices every 2 days at 10 AM and send professional reminder emails automatically.
๐จ Customization Options
Email Personalization
- โข Add your company logo and branding
- โข Include direct payment links from Printavo
- โข Adjust tone based on days late (gentle vs. firm)
- โข Add late fee information
- โข Include contact phone numbers
Timing Adjustments
- โข Change frequency (daily, weekly, etc.)
- โข Adjust execution time
- โข Add business day filtering
- โข Create escalation schedules
- โข Skip holidays and weekends
Advanced Filtering
- โข Add minimum amount thresholds
- โข Exclude specific customers
- โข Filter by invoice age ranges
- โข Add customer payment history checks
- โข Include/exclude certain statuses
Reporting & Tracking
- โข Add Google Sheets logging
- โข Track email open rates
- โข Monitor payment responses
- โข Generate overdue reports
- โข Set up Slack notifications
๐ง Troubleshooting Common Issues
โ "Unauthorized" Error in Fetch Invoices
Cause: Incorrect Printavo API credentials
Solution:
- Double-check your Printavo email in the headers
- Verify your API token is correct and active
- Ensure there are no extra spaces in the credentials
- Try regenerating your API token in Printavo
โ No Invoices Found in Filter
Cause: Status names don't match exactly
Solution:
- Check your exact status names in Printavo
- Update the status array in the filter function
- Ensure emojis and spacing match exactly
- Test with a broader date range temporarily
โ Gmail Authentication Failed
Cause: Gmail security settings or OAuth issues
Solution:
- Enable 2-factor authentication on your Gmail account
- Use an app-specific password if needed
- Check Google account security settings
- Try re-authenticating the Gmail connection
โ Workflow Not Executing on Schedule
Cause: Trigger not properly activated or N8N instance issues
Solution:
- Ensure the workflow is marked as "Active"
- Check that your N8N instance is running continuously
- Verify timezone settings match your expectation
- Review execution logs for error details
๐ก Best Practices & Tips
Security
- โข Store API credentials securely in N8N
- โข Use environment variables for sensitive data
- โข Regularly rotate your API tokens
- โข Monitor workflow execution logs
Email Best Practices
- โข Keep messages professional and friendly
- โข Include clear payment instructions
- โข Provide multiple contact methods
- โข Test email formatting across devices
Performance
- โข Monitor execution times and success rates
- โข Set up error notifications
- โข Keep workflow simple and reliable
- โข Backup your workflow configuration
Customer Relations
- โข Avoid over-sending follow-ups
- โข Personalize messages when possible
- โข Provide easy payment options
- โข Track customer responses
๐ What's Next?
Congratulations! You've successfully automated your invoice follow-ups. Here are some ideas to expand your automation:
๐ผ Business Process Automation
- โข Automate job status notifications to customers
- โข Create automatic shipping confirmations
- โข Set up inventory low-stock alerts
- โข Generate monthly business reports
๐ Advanced Features
- โข Add progressive email sequences
- โข Integrate with accounting software
- โข Create customer payment portals
- โข Set up SMS notifications via Twilio
Want More Automation Ideas?
Join the ScreenPrint GPT community for more automation workflows, AI tools, and print shop growth strategies!
๐ Visit: ScreenPrintGPT.com
๐ธ Follow: @screenprint_gpt on Instagram
๐ฌ Comment "AUTOMATION" for more workflows like this one!