Skip to main content

AUT - Automated Sales Actions

Automated sales actions let Willba close, cancel or delete sales, or accept their invoices, automatically when the sales meet the conditions you define. Typical uses:

  • Close sales whose visit has ended and which are fully paid.
  • Cancel unpaid webshop reservations after a few hours.
  • Delete empty drafts that nobody has touched for a week.
  • Accept and send invoices for ended events.

Willba runs the rules on a schedule throughout the day. Each rule is checked separately.

Fields​

FieldWhat it affects
NameName of the rule.
Dry runOn by default. In dry-run mode Willba only records which sales would be affected, without changing anything. Switch it off when you have verified the rule.
FiltersConditions a sale must meet. All filters must match.
Action from / to intervalTime of day when the rule may run, e.g. 02:00–05:00. Outside this window the rule is skipped.
ActionWhat is done to matching sales. Exactly one action. A rule without an action does nothing.
Active in sitesSites where the rule runs. Empty = the rule never runs. Select at least one site.
Test with dry run first

Keep Dry run on for the first days of a new rule, check with Willba support which sales it would have affected, and only then switch it off.

Filters​

FilterMatches sales that…
Simple filtermeet a single condition (see below).
Sales state filterare in one of the selected sales states. If not used, the action's allowed states apply (see Actions).
Sales facet filterare of one of the selected sales types.
Time filterhad the chosen event at least N hours/days ago: last modification of the sale, end of the sale (end of day), or creation of the webshop payment if there is one.
Payment agreement filterhave one of the selected payment agreements. Include empty also matches sales without a payment agreement.
Checked taskshave the selected check tasks completed. For enrolments you can choose whether the enrolment's own tasks or the event's tasks are checked.

Simple filter conditions

ConditionMatches sales that…
No dimensionhave no dimension labels.
No noteshave no notes.
No customerhave no customer.
No productshave no products.
No participantshave no participants.
No resource reservationshave no calendar resource reservations.
No accommodation reservationshave no room reservations.
No participants pending checkshave no participants waiting for check-in or check-out.
All orders paidhave all orders fully paid.
All orders closedhave all orders closed.
Sales is endedhave an end date in the past.

Actions​

ActionEffectOnly affects sales that are
Close salesMoves the sale to its completed state.Open
Cancel salesCancels the sale.Draft, Open, Cancellation in progress
Delete salesDeletes the sale.Draft, Open, Cancelled
Invoice actionAccepts the sale's invoices. With Close sale on, zero-balance invoices are accepted and the sale is closed as well. Invoice date sets the accepted invoices' date: today or the sale's end date.—

Example: delete abandoned drafts​

SettingValue
FiltersSales state filter: Draft · Time filter: sale modified more than 7 days ago · Simple filter: No products
ActionDelete sales
Action interval02:00–05:00
Active in sitesMain site
Dry runOn for the first week, then off