Skip to content
Finance

Escalating payment reminders

Email, WhatsApp and a voice agent call based on days overdue.

Request sign-upDownload JSON10 min to set up≈ 3 credits per run

How the flow works

  1. Stripe

    Trigger

    Unpaid invoice

    Stripe·new_invoice

  2. Delay

    Step 1

    Wait 3 days

    Delay·delayFor

  3. Gmail

    Step 2

    First reminder by email

    Gmail·send_email

  4. Delay

    Step 3

    Wait 7 more days

    Delay·delayFor

  5. WhatsApp Business

    Step 4

    Second notice on WhatsApp

    WhatsApp Business·sendMessage

  6. Lyria

    Step 5

    Call from the AI voice agent

    Lyria·outbound_ai_call

Set it up in 4 steps

  1. 1

    Import the template

    In the platform, go to Flows → Import and upload the JSON.

  2. 2

    Connect your accounts

    Each component asks for its connection (Stripe, Delay, Gmail, WhatsApp Business, Lyria). Credentials are stored encrypted.

  3. 3

    Review the highlighted fields

    Pick the channel, sheet, calendar or pipeline. Missing fields are shown in red.

  4. 4

    Test and turn it on

    Run a test with real data, check each step’s output and publish the flow.

View the template JSON
{
  "name": "Escalating payment reminders",
  "description": "Email, WhatsApp and a voice agent call based on days overdue.",
  "tags": [
    "Finance"
  ],
  "pieces": [
    "@flooows/component-stripe",
    "@flooows/component-delay",
    "@flooows/component-gmail",
    "@flooows/component-whatsapp",
    "@flooows/component-lyria"
  ],
  "template": {
    "displayName": "Escalating payment reminders",
    "trigger": {
      "name": "trigger",
      "type": "PIECE_TRIGGER",
      "valid": false,
      "displayName": "Unpaid invoice",
      "settings": {
        "pieceName": "@flooows/component-stripe",
        "pieceVersion": "~0.9.1",
        "pieceType": "OFFICIAL",
        "packageType": "REGISTRY",
        "triggerName": "new_invoice",
        "input": {
          "status": "open"
        },
        "inputUiInfo": {},
        "propertySettings": {}
      },
      "nextAction": {
        "name": "step_1",
        "type": "PIECE",
        "valid": false,
        "skip": false,
        "displayName": "Wait 3 days",
        "settings": {
          "pieceName": "@flooows/component-delay",
          "pieceVersion": "~0.4.1",
          "pieceType": "OFFICIAL",
          "packageType": "REGISTRY",
          "actionName": "delayFor",
          "input": {
            "delayFor": 3,
            "unit": "days"
          },
          "inputUiInfo": {},
          "propertySettings": {},
          "errorHandlingOptions": {
            "retryOnFailure": {
              "value": true
            },
            "continueOnFailure": {
              "value": false
            }
          }
        },
        "nextAction": {
          "name": "step_2",
          "type": "PIECE",
          "valid": false,
          "skip": false,
          "displayName": "First reminder by email",
          "settings": {
            "pieceName": "@flooows/component-gmail",
            "pieceVersion": "~0.18.6",
            "pieceType": "OFFICIAL",
            "packageType": "REGISTRY",
            "actionName": "send_email",
            "input": {
              "receiver": [
                "{{trigger.customer_email}}"
              ],
              "subject": "Recordatorio de pago · {{trigger.number}}",
              "body_type": "plain_text",
              "body": "Hola, te recordamos que la factura {{trigger.number}} sigue pendiente. Puedes pagarla aquí: {{trigger.hosted_invoice_url}}"
            },
            "inputUiInfo": {},
            "propertySettings": {},
            "errorHandlingOptions": {
              "retryOnFailure": {
                "value": true
              },
              "continueOnFailure": {
                "value": false
              }
            }
          },
          "nextAction": {
            "name": "step_3",
            "type": "PIECE",
            "valid": false,
            "skip": false,
            "displayName": "Wait 7 more days",
            "settings": {
              "pieceName": "@flooows/component-delay",
              "pieceVersion": "~0.4.1",
              "pieceType": "OFFICIAL",
              "packageType": "REGISTRY",
              "actionName": "delayFor",
              "input": {
                "delayFor": 7,
                "unit": "days"
              },
              "inputUiInfo": {},
              "propertySettings": {},
              "errorHandlingOptions": {
                "retryOnFailure": {
                  "value": true
                },
                "continueOnFailure": {
                  "value": false
                }
              }
            },
            "nextAction": {
              "name": "step_4",
              "type": "PIECE",
              "valid": false,
              "skip": false,
              "displayName": "Second notice on WhatsApp",
              "settings": {
                "pieceName": "@flooows/component-whatsapp",
                "pieceVersion": "~1.0.1",
                "pieceType": "OFFICIAL",
                "packageType": "REGISTRY",
                "actionName": "sendMessage",
                "input": {
                  "to": "{{trigger.customer_phone}}",
                  "text": "Te escribimos por la factura {{trigger.number}}, aún pendiente: {{trigger.hosted_invoice_url}}"
                },
                "inputUiInfo": {},
                "propertySettings": {},
                "errorHandlingOptions": {
                  "retryOnFailure": {
                    "value": true
                  },
                  "continueOnFailure": {
                    "value": false
                  }
                }
              },
              "nextAction": {
                "name": "step_5",
                "type": "PIECE",
                "valid": false,
                "skip": false,
                "displayName": "Call from the AI voice agent",
                "settings": {
                  "pieceName": "@flooows/component-lyria",
                  "pieceVersion": "~1.0.0",
                  "pieceType": "OFFICIAL",
                  "packageType": "REGISTRY",
                  "actionName": "outbound_ai_call",
                  "input": {
                    "to": "{{trigger.customer_phone}}",
                    "goal": "Recordar amablemente el pago de la factura {{trigger.number}} y anotar la fecha comprometida."
                  },
                  "inputUiInfo": {},
                  "propertySettings": {},
                  "errorHandlingOptions": {
                    "retryOnFailure": {
                      "value": true
                    },
                    "continueOnFailure": {
                      "value": false
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "valid": false,
    "schemaVersion": "1"
  },
  "blogUrl": "https://flooows.com/en/templates/stepped-payment-reminders",
  "metadata": {
    "publisher": "flooows",
    "lang": "en",
    "setupMinutes": 10,
    "creditsPerRun": 3
  }
}

More templates

Your first floow, running today.

Work out the price of your plan in a minute and request your sign-up, or book a demo and we will help your team design its first flows.

✓ No credit card✓ Human support✓ Data hosted in Spain