Automation

How to Set up Automatic Reminders in Openkoda PAS

Reminders that run themselves: a workflow, a reminder email with a pay-now link, a grace period and escalation, run from an overdue invoice to paid.

What are automatic reminders in insurance software?

An instalment falls due and nobody pays it. A policy is six weeks from expiry and nobody has sent the renewal offer. In most insurers what happens next depends on a person noticing: someone scans a list, picks a record, and sends a message by hand. If they are busy, the record waits. If they are on holiday, it waits longer. And when the customer finally acts, somebody has to remember to stop chasing.

Automatic reminders turn that into a process the system runs on its own. The time saved is the time those lists used to take: nobody works through an overdue report or an expiry list each morning, and nobody has to remember which customers were already chased. Whatever the reminder is about, the pieces are the same four:

  • A workflow: the chase itself. What starts it, how many messages go out, how long the system waits between them, and what it does when the last one is ignored.
  • A reminder email: what the customer actually receives. It has to carry the record's own numbers and dates, and a way to act, to pay or to renew, that does not involve a phone call.
  • A timing window: when the chase begins. For a payment it is a grace period after the due date, because a payment that is one day late is usually a bank, not a customer. For a renewal it is a lead time before expiry.
  • Escalation: the wait between messages, and the decision at the end: cancel the policy, let it lapse, or hand it to a person.

The part that makes the whole thing trustworthy is an exit at every stage. A chase that keeps sending notices after the customer has paid is worse than no chase at all, so every wait in the workflow has to listen for the event it is chasing and leave the moment it arrives.

This guide builds the most demanding of them, a payment chase, in Openkoda PAS, then runs it: an overdue invoice is picked up, the reminder goes out, the customer pays from the link, and the run ends at Paid - cured. Renewal reminders are built from the same pieces: a workflow on the product, an email template carrying the policy's fields, and a lead time on the same settings card as the grace period in Step 8. Our email templates tutorial drafts a renewal reminder from scratch.

The whole walkthrough is also on video, if you would rather watch it done than read the steps. It follows the same thirteen steps in one pass; the written version below is the one to keep open while you set up your own reminders.

How to set up automatic payment reminders in Openkoda PAS

The walkthrough starts from one overdue instalment on a home policy and ends with it paid. On the way it opens the product's collections workflow, changes its timing, builds the reminder email as a template with a pay-now button, assigns that template to every notice, sets the grace period and the auto-cancel rule, and then lets the daily collections job run the whole thing.

Before you start, you'll need: a product with an in-force policy and at least one unpaid invoice on it, a card payment provider connected (the demo uses Stripe in sandbox mode), and an account that can reach the Product Builder, Email Templates and Settings.

Step 1 - Find the overdue invoice

Open Collections under Queues. The queue lists every overdue invoice across the book, with the policy, the insured, the balance, the due date and how many days late it is. Here there is one: an instalment of USD 544.60 due on 25 October, eighteen days overdue, billing status still Current.

The Collections queue in Openkoda PAS showing one overdue invoice, eighteen days past due, with Record payment, Charge card, Send notice and Cancel NP buttons
The Collections queue: one instalment, eighteen days overdue, and a Send notice button that only works if someone presses it.

Every button on that row is a manual action. Send notice would send a reminder right now, but only because somebody opened this page and clicked it. The rest of this guide makes the click unnecessary.

Step 2 - Open the collections workflow

Every product carries a collections workflow. Open the product in the Product Builder and go to its Workflows tab; the chase sits beside the other lifecycle flows as Collections / dunning (default), twelve steps, active.

The Workflows tab of the Openkoda Home product listing the lifecycle workflows, including Collections / dunning (default) with twelve steps
Every product carries a collections workflow next to its other lifecycle flows: this one is the default, twelve steps, active.

Open it. The canvas shows the chase as a single column. An overdue invoice starts it; the policy is flagged past due; a payment reminder goes out; then the flow waits.

The top of the collections workflow on the canvas: Invoice overdue, Flag past due, Payment reminder, Wait: payment, Pending cancel, Second notice
The chase, top half: the overdue invoice starts it, the policy is flagged, a reminder goes out, and the flow waits.

If no payment arrives within seven days, the policy is marked Pending cancel and a second notice goes out. After another seven days, a final notice. When a third wait runs out, the policy is cancelled for non-payment.

The bottom of the collections workflow: Final notice, a third Wait, Cancel - non-payment, Cancelled (non-payment), and a Paid - cured end node that every wait's payment exit leads to
The bottom half: a final notice, a last wait, and the cancellation, with every wait's payment exit sweeping across to Paid - cured.

Notice the node on the right, Paid - cured. Three lines run into it, one from each wait. That is the payment exit, and it is the whole point of the next step.

Step 3 - Read the wait and its two exits

Select any of the Wait: payment steps. Its properties say exactly what it does: wait until an event happens or a timeout is reached; the event is Payment received; the timeout is 168 hours. Underneath, the two ways out are listed by name.

The properties panel of the Wait step: wait until an event happens or a timeout is reached, wait for Payment received, give up after 168 hours, with the two exits listed
One event, one timeout, two ways out: Payment received leads to Paid - cured, No payment after 7 days leads to Pending cancel.

Whenever the customer pays, at any stage, the run leaves the chase through the first exit and ends at Paid - cured. The timeout is the second exit, and that is where the escalation lives. Say it plainly, because it is the property that makes the chase safe to switch on: every stage has a payment exit, and only silence moves the run forward.

Step 4 - Change the timing

The timing is a field. With the first wait selected, change Give up after (hours) from 168 to 72. The node on the canvas re-labels itself to No payment after 3 days as you type, and the toolbar reports unsaved changes.

The first Wait step edited to give up after 72 hours; the node on the canvas now reads No payment after 3 days, and the toolbar shows Unsaved changes with a Save button
The timing is a field. Seventy-two hours instead of 168, and the canvas already says three days.

Adding a stage is the same kind of edit. A fourth notice would be one more Send message and one more Wait from the palette on the left, dropped into the column and linked up like the others.

The workflow editor's step palette beside the canvas, with Send message under Communications and Wait under Flow highlighted
A fourth notice would be one more Send message and one more Wait from this palette, linked up like the others.

Save. Because this product version is live, the editor asks you to confirm that you are changing the live version, and from that moment the shortened first wait applies to every new run. To stage a change instead and publish it later, make it in a draft, as the product versioning tutorial shows.

Step 5 - Create the reminder email template

The reminder itself is an email template, built in Email Templates like any other. Create a new one and fill in the header: a name, the product, and, the line that matters, Entity Type: Invoice. That choice is what makes every field of the invoice, and of the policy it belongs to, available as a placeholder.

The Create Email Template form: name Openkoda Home - Payment reminder, entity type Invoice, product Openkoda Home, and a subject line with invoice and policy placeholders
Entity type Invoice is the line that matters: it is what makes every invoice and policy field available as a placeholder.

The subject line already uses two of them: the invoice number and the policy number. The body is a modern HTML email with a branded header, a short message, a table of the four facts the customer needs, and a Pay now button.

The email body in the editor: a branded header, Your premium payment is overdue, a table of policy number, invoice number, due date and amount due as placeholders, and a Pay now button
The reminder as a template: four placeholders in the table, and a Pay now button whose link is a placeholder too.

Look at the button. Its link is a placeholder as well, {##pay_url##}. Nothing in the template knows which invoice it will be sent for; the workflow fills that in with a payment link for exactly this invoice at the moment it sends.

Step 6 - Check the placeholder mapping

Create the template. Openkoda scans the subject and the body, finds every placeholder, and maps each one to the field it reads: the policy number from the policy, the due date formatted as a date, the amount as money. Six placeholders are detected and five are mapped automatically.

The saved template's Detected Placeholders panel listing six tokens, with pay_url highlighted, above the Field Mapping that maps the other five to invoice and policy fields
Six placeholders found, five mapped to fields. The pay link is left open on purpose: the workflow fills it in when it sends.

The sixth, the pay link, is shown in a different colour and deliberately left unmapped. It is not a field of the invoice; it is supplied by the workflow when the message goes out. If your count does not match what you typed, a placeholder is misspelt; fix it here rather than in a customer's inbox.

Open the preview to see the email as the customer will see it, with the fields still marked where the invoice's own values will go.

The Email Preview dialog showing the subject line and the rendered reminder with the placeholders still marked where the invoice's own values will go
The preview, as the customer will see it, with the fields still marked where this invoice's values will land.

Step 7 - Assign the template to the notices

Back in the workflow, each notice is a Send message step. Select Payment reminder and set three things: the channel is email, the template is the one just created, and the recipient is the customer rather than a hard-coded address. Then tick Add a 'Pay now' link, which is what fills the button's placeholder with a link for this invoice.

The Payment reminder Send message step selected on the canvas, with its properties set to channel Email, template Openkoda Home - Payment reminder, send to Customer (insured), and Add a Pay now link ticked
Each notice is a Send message step: the template, the recipient, and the Pay now link switched on.

Do the same for Second notice and Final notice. Using one template at every stage keeps the wording consistent; if the tone should harden as the chase goes on, make a second template and assign it to the later steps instead. Save, and the chase has its voice.

Step 8 - Set the grace period

The rules around the workflow live in Settings, under Servicing & Billing, and any product can override them. The one that decides when the chase begins is the dunning grace period: how many days past the due date an invoice counts as overdue. Five days here, so an invoice due on the twenty-fifth is chased from the thirtieth.

The Servicing & Billing section of Settings: renewal lead time 45, invoice payment terms 30, dunning grace period 5 days, reminder email template Built-in reminder text, and Auto-cancel for non-payment ticked
Five days of grace: an invoice due on the twenty-fifth is chased from the thirtieth.

Pick the number from how your customers actually pay. A direct-debit book can afford a short grace period; a book paid by cheque cannot.

Step 9 - Choose the template and decide what the final step does

Two more settings on the same card. Reminder email template is the default for notices a person sends by hand from the Collections queue; set it to the new template so a hand-sent notice looks the same as an automatic one. And Auto-cancel for non-payment decides what the final step of the workflow does. Untick it.

The same settings with the reminder email template set to Openkoda Home - Payment reminder and the Auto-cancel for non-payment checkbox now unticked
The new template is now the default for hand-sent notices too, and automatic cancellation is off.

Save, and go back to the workflow. The rule is read when the step runs, not when the workflow is saved, and the canvas says so: the final step now reads Auto-cancel is off: raises a task for a person. Nothing in the workflow had to change.

The Cancel - non-payment step on the canvas now reads Auto-cancel is off: raises a task for a person, with the step's description in the properties panel
The workflow reads the rule when it runs and says so on the canvas: the final step raises a task instead of cancelling.

That is the choice to make deliberately. Automatic cancellation is the cheaper process; a task at the end is the safer one, and the right answer differs by product and by regulator.

Step 10 - Run it

Nothing here needs a person to start it. A daily collections job looks for invoices past their grace period, marks each one past due, and starts the workflow for it. The run log shows what happened: the policy was flagged, the reminder was sent, and the flow is now waiting for a payment.

The Workflow Step Logs for a run of Collections / dunning - WAITING: Invoice overdue OK, Flag past due OK, Payment reminder OK in 55 ms, Wait: payment in Wait status
The run log: flagged, reminded, and now waiting for a payment. No person touched it.

Check the status column on the last row. Wait means the run is alive and listening; it will stay there for three days or until a payment arrives, whichever comes first.

Step 11 - What the customer receives

The sent message is in the Emails log, filed against the invoice. It is the template with the invoice's own values in it: the policy number, the invoice number, the due date, the amount, and a Pay now button.

The sent reminder email in the email log: to harriet.homeowner@example.com, about invoice INV-6EC500-A3D47C21, policy POL-OK-HOME-4B6EC500, due Oct 25 2026, amount due USD 544.60, with a Pay now button
What Harriet received: her policy and invoice numbers, the due date, the amount, and a Pay now button that is hers alone.

Every value came from the invoice, and the link behind the button was generated for this invoice alone. Two things worth checking the first time: that the amount matches the queue, and that no placeholder survived unsubstituted.

Step 12 - Pay from the link

The link opens a payment page for this one invoice. There is no sign-in and no account to create: the page shows the invoice number and the amount, and one button.

The public payment page for invoice INV-6EC500-A3D47C21: Pay your premium, amount due USD 544.60, secure payment powered by Stripe, and a Pay USD 544.60 button
The link opens a payment page for this one invoice. No sign-in, no account to create.

The button hands over to the card provider's hosted checkout. The customer enters the card details there; the platform never sees the card.

The Stripe checkout for the premium payment with the card number, expiry, CVC and cardholder name being entered and a Pay button
Card details go into the hosted checkout; the platform never sees the card.

When the payment clears, the customer is brought back to a receipt. The payment is recorded against the invoice at the same moment.

The Payment received confirmation for invoice INV-6EC500-A3D47C21: this invoice has been paid in full
The receipt, on the spot.

Step 13 - Paid, cured

That payment is the event the wait was listening for. Open the run again: it is now COMPLETED, and the log is one row longer: Paid - cured. The flow left the chase at the first wait. No second notice, no cancellation, nothing for anyone to undo.

The Workflow Step Logs for the same run, now COMPLETED, with a fifth row: control.end, Paid - cured, OK
The same run, one row longer: the wait heard the payment, and the flow ended at Paid - cured.

On the policy, the billing section tells the same story from the customer's side: the invoice is Paid with a zero balance, the card payment is in the list of recent payments with its provider reference, and the billing status is back to Current.

The Billing section of the policy: billing status Current, both invoices marked Paid with zero balance, and a credit card payment of USD 544.60 dated Nov 12 2026 in recent payments
On the policy: the invoice is paid, the card payment is recorded, and the account is current again.

A reminder chase is three decisions (when it starts, how it escalates, and how it ends), and the whole of it here is a column of steps on a canvas, a template with six placeholders, and two settings. The part to insist on when you build your own is the exit: every wait listens for the payment, so the first thing the system does when a customer pays is stop asking.

See Openkoda in your context

Book a live, personalized demo with our product team - tell us your use case and see the platform work with your data. No commitment.