> For the complete documentation index, see [llms.txt](https://docs.pixeleyes.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pixeleyes.de/anleitungen-instructions/english/documentation-of-our-shopware-6-plugins/bonus-points-and-loyalty-program-for-shopware-6/features/flow-actions.md).

# Flow actions

The plugin provides two custom **Shopware Flow actions** for awarding points on any event.

## Available actions

### Award bonus points

Credits a customer with a fixed number of bonus points.

**Parameters:**

* Number of points (integer)
* Booking comment (optional, appears in the customer's transaction list)

### Bonus points by factor

Awards a number of points multiplied by a factor. Useful, for example, for loyalty-level bonus campaigns.

**Parameters:**

* Base points (integer)
* Factor (e.g. `1.5`)
* Booking comment (optional)

## Usage examples

### Reward a large order

**Trigger:** `Checkout Order Placed`\
**Condition:** Order value ≥ €500\
**Action:** Award bonus points – 200 points, "Large-order bonus"

### Gold level: extra points with a factor

**Trigger:** `Checkout Order Placed`\
**Condition:** Customer group = "Bonus Gold"\
**Action:** Bonus points by factor – 100 points × 1.5, "Gold bonus"

## Creating a flow

You can find a complete guide to setting up flows under Setup → Creating flows.

{% hint style="info" %}
Flow bookings appear in the customer's transaction list with the configured comment as the description.
{% endhint %}
