MyInvoice2u icon

MyInvoice2u

MyInvoice2U action operations: Authentication, Invoice management, and Customer operations

Customer → Get Expiring Customers

AI-generated

Overview

This node operation retrieves a list of customers whose subscriptions or services are expiring within a specified number of days. It is useful for businesses that need to proactively manage customer renewals, send reminders, or offer promotions to retain customers before their subscriptions expire. For example, a SaaS company could use this to identify customers with licenses expiring in the next 30 days and send them renewal offers.

Use Case Examples

  1. Retrieve customers expiring in the next 30 days to send renewal reminders.
  2. Get a paginated list of expiring customers to analyze churn risk.

Properties

Name Meaning
Days Number of days to check for expiring customers, defining the time window for expiration.
Limit Maximum number of customers to return. Can be set to 'unlimited' to fetch all matching customers.
Page Page number for pagination to navigate through large sets of expiring customers.
Per Page Number of customers to return per page, controlling the size of each paginated result set.

Output

JSON

  • customers - Array of customer objects that are expiring within the specified time frame.
  • pagination
    • page - Current page number of the paginated results.
    • perPage - Number of customers returned per page.
    • total - Total number of expiring customers available.

Dependencies

  • This operation likely requires API authentication credentials to access customer data from the external service.

Troubleshooting

  • If the node returns an error about unknown operation or resource, verify that 'resource' is set to 'customers' and 'operation' is set to 'expiring'.
  • Pagination parameters (page, perPage) must be positive integers; invalid values may cause errors or empty results.
  • If no customers are returned, check that the 'days' parameter is set correctly and that there are customers expiring within that timeframe.

Discussion