Automate emailing invoices
This topic describes common Rebilly invoice email automations. For a complete list of automation options, and how to configure them, see Events.
Send an invoice when it is issued
This process describes how to send the customer an invoice by email when it is issued.
This automation uses the Invoice issued event and the Send email action.
- In the left navigation bar, press Automations .
- In the Rules engine section, press Rules engine.
- Press Billing events, then press the Invoice issued event.
- Press Rule set, then press Create rule.
- In the Rule name field, enter a name for the rule.
- In the Actions section, press Add action, and select Send email.
- In the Title field, enter a name. This name is referenced in reports.
- In the From field, select your email address. If your address is not listed, press Add email address.
- In the To field, press in the field, and select the
invoice.customer.primaryAddress.emails.0.value
placeholder text. - In the Subject field, enter
New invoice issued
. - In the Email content field, compose your email.
Press Add placeholders, to add dynamic content such as a payment link and customer information. - Select the Attach invoice checkbox.
- Press Save rule.
Send an upcoming renewal notification
This process describes how to send a customer an invoice by email in advance of the renewal date.
To use this automation, you must have a pricing plan with recurring settings, and invoice time shift must be active. For more information, see Create a product and pricing plan.
This automation uses the Renewal invoice issued event and the Send email action.
- In the left navigation bar, press Automations .
- In the Rules engine section, press Rules engine.
- Press Billing events, then press the Renewal invoice issued event.
- Press Rule set, then press Create rule.
- In the Rule name field, enter a name for the rule.
- In the Actions section, press Add action, and select Send email.
- In the Title field, enter a name. This name is referenced in reports.
- In the From field, select your email address. If your address is not listed, press Add email address.
- In the To field, press in the field, and select the
invoice.customer.primaryAddress.emails.0.value
placeholder text. - In the Subject field, enter
New invoice issued
. - In the Email content field, compose your email. Press Add placeholders, to add dynamic content such as a payment link and customer information.
- Select the Attach invoice checkbox.
- Press Save rule.
Send a paid invoice notification
This process describes how to send the customer an email when an invoice is paid.
This automation uses the Invoice paid event and the Send email action.
- In the left navigation bar, press Automations .
- In the Rules engine section, press Rules engine.
- Press Billing events, then press the Invoice paid event.
- Press Rule set, then press Create rule.
- In the Rule name field, enter a name for the rule.
- In the Actions section, press Add action, and select Send email.
- In the Title field, enter a name. This name is referenced in reports.
- In the From field, select your email address. If your address is not listed, press Add email address.
- In the To field, press in the field, and select the
invoice.customer.primaryAddress.emails.0.value
placeholder text. - In the Subject field, enter
New invoice issued
. - In the Email content field, compose your email. Press Add placeholders, to add dynamic content such as customer information.
- Select the Attach invoice checkbox.
- Press Save rule.
Send a welcome email to new customers
This process describes how to send new customers a welcome email which includes dynamically added content, such as their first name, last name, or other related customer information.
This automation uses the Customer created event and the Send email action.
- In the left navigation bar, press Automations .
- In the Rules engine section, press Rules engine.
- Press Core events, then press the Customer created event.
- Press Rule set, then press Create rule.
- In the Rule name field, enter a name for the rule.
- In the Actions section, press Add action, and select Send email.
- In the Title field, enter a name. This name is referenced in reports.
- In the From field, select your email address. If your address is not listed, press Add email address.
- In the To field, press in the field, and select the
invoice.customer.primaryAddress.emails.0.value
placeholder text. - In the Subject field, enter
Welcome to <your product name here> !
. - In the Email content field, compose your email.
- Press Add placeholders, to add dynamic content such as customer first name and last name, or any other customer related information.
- Press Save rule.
Send a declined payment notification
This process describes how to send a declined payment email to a customer.
This automation uses the Renewal invoice payment declined event and the Send email action.
- In the left navigation bar, press Automations .
- In the Rules engine section, press Rules engine.
- Press Billing events, then press the Renewal invoice payment declined event.
- Press Rule set, then press Create rule.
- In the Rule name field, enter a name for the rule.
- In the Actions section, press Add action, and select Send email.
- In the Title field, enter a name. This name is referenced in reports.
- In the From field, select your email address. If your address is not listed, press Add email address.
- In the To field, press in the field, and select the
invoice.customer.primaryAddress.emails.0.value
placeholder text. - In the Subject field, enter
New invoice issued
. - In the Email content field, compose your email. Press Add placeholders, to add dynamic content such as a payment link and customer information.
- Select the Attach invoice checkbox.
- Press Save rule.
When notifying a customer that a payment is declined, do not use the payment declined event. In most cases, you do not want to send an email when a customer's first payment is declined. If the first payment is declined, the customer's order is not activated.
Send a past due invoice reminder
This process describes how to send the customer a payment past due reminder.
This automation uses the Invoice past due reminder event and the Send email action.
- In the left navigation bar, press Automations .
- In the Data and alerts section, press Email notifications.
- In the Customer notifications section, select the Show all billing events radio button, then select the Invoice past due reminder event.
- Press Create notification.
- In the Notification name field, enter a unique name for the notification.
- In the Labels field, and enter one or more labels to help categorize the notification.
- Optionally, to specify additional conditions on when the notification is sent:
- In the Conditions section, clear the No conditions checkbox.
- In the Filter dropdown, select a filter.
- In the Operation dropdown, select an operation.
- In the Value field, enter or select values.
- Optionally, to add another filter, press Add filter.
- In the Emails section, press Add email.
- In the Title field, enter a meaningful title.
- In the From field, select your address. If your address is not listed, press Add email address.
- In the To field, add a placeholder or an email address.
- Optionally, to stay informed on all emails, press Add BCC your email or a support email.
- In the Subject field, enter a subject or placeholder.
- In the Email content field, press Pick template.
- Select a layout, then press Next.
- Depending on the tone you would like to use, select: Aggressive, Polite, Standard, or Curious.
- Press Next.
- If you are happy with the email preview, press Save.
- To attach the invoice to the email, select the Attach invoice checkbox.
- Press Save notification.