# Overdue Invoice Reminder

With workflows, you can automate actions like sending a copy of an invoice to a customer when it is generated.

Another common use case is sending a payment reminder when an invoice becomes overdue — that is, the due date has passed and the invoice remains unpaid.

To set this up, follow these steps:

1. **Create a new workflow**
2. **Configure the trigger:**
   * **Module**: Invoice
   * **Event**: Invoice Overdue Event
3. **Add a trigger condition** to ensure the invoice is still overdue before the reminder is sent:
   * **Property**: Invoice | Is Overdue
   * **Operator**: Equals
   * **Value**: `true`
4. **Optional: Add a "Wait" action** if you want to delay the reminder (e.g. send it 5 days after the invoice becomes overdue):
   * **Action type**: Wait
   * **Wait time**: For a defined period
   * **Duration**: 5 days
5. **Add the email action** to send the reminder:

   * **Action type**: Send Email
   * **Send to**: Invoice Owner
   * **Email template**: Overdue Invoice Reminder
     * &#x20;If you haven't already, create an "Overdue Invoice Reminder" email template from the predefined templates list

   &#x20;

   <figure><img src="/files/XixBhFTu11Hgl34nIM6t" alt=""><figcaption><p>Create Overdue Invoice Reminder email template from the predefined list</p></figcaption></figure>

Your workflow should look like this:

<figure><img src="/files/in2779F1WSjt8XGKhUlp" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.loopit.co/settings/workflows/overdue-invoice-reminder.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
