# Shopware

Source: https://gokarla.io/docs/guides/notify/integrations/shopware

# Shopware

The Shopware integration allows Karla to provide notifications about shipments and claims involved in your orders natively to your admin instance.

## Flows

You can configure your own flows on the data received by our systems with the [Flow Builder](https://www.shopware.com/en/products/ecommerce-automation/flow-builder/).

### Triggers

Karla provides [Event Groups](/docs/platform/events/overview#key-concepts) to your shop, which will be available in the Flow Builder via [Triggers](https://docs.shopware.com/en/shopware-6-en/settings/Flow-Builder#trigger), if the [Webhook Receiver setting is activated](/docs/guides/shops/shopware#webhook-receiver-incoming-events).

![Shopware 1](/docs/content/docs/notify/integrations/assets/shopware-1.png)

### Actions

You can create [Actions](https://docs.shopware.com/en/shopware-6-en/settings/Flow-Builder#action) reacting on those triggers.

![Shopware 2](/docs/content/docs/notify/integrations/assets/shopware-2.png)

A common action is to send an email based on a specific email template.

![Shopware 3](/docs/content/docs/notify/integrations/assets/shopware-3.png)

## Email Templates

You can define your own [Email templates](https://docs.shopware.com/en/shopware-6-en/settings/email-templates?category=shopware-6-en/settings/shop) so they can be used within a Flow action.

You can use any of the [Shopware variables in the mail text](https://docs.shopware.com/en/shopware-6-en/settings/email-templates?category=shopware-6-en/settings/shop#variables-in-the-mail-text).

![Shopware 4](/docs/content/docs/notify/integrations/assets/shopware-4.png)

Karla exposes new variables on its own, received by the trigger, that you can render within the email template.

![Shopware 5](/docs/content/docs/notify/integrations/assets/shopware-5.png)

### Karla variables

Any variable exposed by karla is accessible via the `karla` object, for instance `{{ karla.tracking_number }}`.

The variables exposed in this object are same as documented in [Event-specific Data](/docs/platform/events/overview#payload-envelope), (`karla` is the object instead of `event_data` in this case).
