> For the complete documentation index, see [llms.txt](https://docs.b2b-sellers.com/b2b-platform/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.b2b-sellers.com/b2b-platform/user-guide/configuration/business-events.md).

# Flow & Business Events

The Shopware Flow Builder is a powerful automation tool that allows you to trigger specific actions based on events within your store. For example, when a "Order Placed" event occurs, the Flow Builder can automatically trigger a "Send Email" action.

The B2Bsellers Suite extends this functionality by providing a wide array of specialized B2B triggers, allowing you to automate complex business workflows.

## Finding B2Bsellers Events

To view or customize the flows provided by our suite:

1. Navigate to Settings > Flow Builder.
2. In the search bar, type "b2b" or "b2bsellers".
3. This will display all pre-configured B2B flows, such as those for registration requests or budget approvals.

<figure><img src="/files/T8xJ9QNqb7lCtcOq0MmE" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If a flow displays an "Unknown Trigger" error, it usually means the corresponding B2Bsellers Add-on (e.g., Offers or Budgets) was not active when the flow was generated. To fix this, ensure the Add-on is active, then deactivate and reactivate the B2Bsellers Core plugin to refresh the trigger list.
{% endhint %}

## Available B2B Triggers

Depending on which B2Bsellers modules you have active, you can utilize the following events:

### B2Bsellers Core

* Account Request Created: Triggered when a new company applies via the registration form.
* Account Activation Created: Triggered when a new B2B account is confirmed.
* Passwordless Login Request: Triggered when a user requests a magic login link.

### Offer Management Add-on

* Offer Request Created: Triggered when a customer requests a quote.
* PDF Offer Creation: Triggered when the system generates an official offer document.
* Price Adjustment: Triggered when a product price in the cart is manually adjusted for an offer.

### Employee Budgets & Approvals

* Order Request Created: Triggered when an employee exceeds their budget and requires approval.
* Order Request Approved: Triggered when a supervisor clears a pending order.
* Order Request Declined: Triggered when a supervisor rejects an order request.

## Example: Order Rejection

When a supervisor declines an order request, you can use the Flow Builder to:

1. Change the Order Status to "Cancelled".
2. Send a personalized email to the employee explaining the rejection.
3. Add a tag to the customer for internal reporting.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.b2b-sellers.com/b2b-platform/user-guide/configuration/business-events.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
