On the 1st of each month, emails finance the Chargebee invoices more than 30 days past due, with each customer's total owed.

UsesChargebeeGmail

Monthly email of Chargebee invoices 30 days overdue, by customer

Collections start with knowing who is late. On the 1st of each month this finds every Chargebee invoice more than 30 days past due and emails finance one table: each customer, their overdue invoices and what they owe in total, biggest first.

In a month with nothing that late, no email is sent.

ScheduleRun every month on day 1 at 08:00.Run every month on day 1 at 08:00.
ValuesFinance's email addressSet finance_email to blank.
ChargebeeInvoices more than 30 days past dueList invoices. Save it as overdue_invoices.Chargebee
Decisions & LoopsAny invoices more than 30 days past due?If overdue_invoices.count is 0
Yes
Decisions & LoopsFinish the run: No invoices are more than 30 days past due.Finish the run: No invoices are more than 30 days past due.
No
HTMLTable of what each customer owesMake a table of overdue_invoices.customers Save it as customers_table.
GmailGmailSend an email to finance_email. Save it as sent.Send an email to finance_email. Save it as sent. Subject: Chargebee invoices more than 30 days past due: overdue_invoices.total_due_display owed<p>Hi,</p><p>Here are the Chargebee invoices more than 30 days past due, grouped by customer.</p><p>Overdue invoices: overdue_invoices.count<br>Total owed: overdue_invoices.total_due_display</p>customers_table.html