> For the complete documentation index, see [llms.txt](https://docs.swish.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.swish.app/integrations/klaviyo-integration/setting-up-klaviyo-flows.md).

# Setting Up Klaviyo Flows

## Wishlist Flows

Each event type sent from Swish can be used to trigger flows in Klaviyo.

Each metric (ie. Event) will be triggered either by a customer wishlist update, price or inventory update change

## **Klaviyo Flow Setup**

Setting up Klaviyo flows requires some basic knowledge of Klaviyo Flows as well as template tags and variables, but it is not overly complicated.

Firstly, setup a new Flow

Click **Flows → Create flow**

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FzrakmprpY1JzALjOB3Az%2F4.avif?alt=media&amp;token=7dcd9dcb-8085-40c7-9a98-95139553cd45" alt=""><figcaption></figcaption></figure>

Select **Build your own**

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FFH8QzYRA7qFiCQj5R5WX%2F5.avif?alt=media&amp;token=b1bc5e34-ccb6-4ee7-a9a0-08dbffc127bb" alt=""><figcaption></figcaption></figure>

Name your flow (eg. "Wishlist - Low In Stock")

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FriLJro5hpmGCritJSlwb%2F6.avif?alt=media&amp;token=f24588c2-dc5b-4345-b527-6b5d1902d502" alt=""><figcaption></figcaption></figure>

Under **Select Trigger** choose **Your Metrics** and then **API**:

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FuDEADKKTOXVus8Exe1M9%2F7.avif?alt=media&amp;token=595b50cf-24d2-4004-aef4-22d631a3fc79" alt=""><figcaption></figcaption></figure>

Select the Wishlist metric you would like to use to trigger your flow (eg. Wishlist product low in stock)

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FAWqXcAuAuscOlXH7rDfY%2F8.avif?alt=media&amp;token=dfb89f94-e2dd-4bad-b891-b32ac1bdcec1" alt=""><figcaption></figcaption></figure>

Click **Save**. Now it's time to create the email.

#### Add an email step

Under **Actions**, click and drag **Email** beneath the flow trigger

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2FRatKIsBfShMydaCB2FOX%2F9.webp?alt=media&amp;token=141926a2-015a-4bdc-ba2d-5dfa99d27188" alt=""><figcaption></figcaption></figure>

Select the **Email** you’ve just added to the **Flow**

Enter the email name, subject line and preview text. You can also edit the sender name and sender email address at this step.

<figure><img src="https://1937747638-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnXXi1yNhTBzSF0GRtx54%2Fuploads%2F4EtR8CoVxZOBQZZkQhzm%2F10.avif?alt=media&amp;token=9f629deb-3332-410b-984f-04aafa7144d5" alt=""><figcaption></figcaption></figure>

The final step to setting up a flow is to [configure email content.](/integrations/klaviyo-integration/configuring-email-content.md)&#x20;

Once you're familiar with setting up a Flow, you can set up Wishlist Emails and Notifications using the following Flow guides:

{% content-ref url="/pages/DTvU9gcrlfcpkr2bQSes" %}
[Wishlist Welcome Flow](/integrations/klaviyo-integration/setting-up-klaviyo-flows/wishlist-welcome-flow.md)
{% endcontent-ref %}

{% content-ref url="/pages/bRuRw4dcrdIKdxOuVHcC" %}
[Wishlist Reminder Flow](/integrations/klaviyo-integration/setting-up-klaviyo-flows/wishlist-reminder-flow.md)
{% endcontent-ref %}

{% content-ref url="/pages/h3oPNymxidQgCbIGsUt3" %}
[Low In Stock Flow](/integrations/klaviyo-integration/setting-up-klaviyo-flows/low-in-stock-flow.md)
{% endcontent-ref %}

{% content-ref url="/pages/lymThg2rsX0usrhUzNYK" %}
[Back In Stock Flow](/integrations/klaviyo-integration/setting-up-klaviyo-flows/back-in-stock-flow.md)
{% endcontent-ref %}

{% content-ref url="/pages/dHtOG591sn04IQngfMP0" %}
[Price Drop Flow](/integrations/klaviyo-integration/setting-up-klaviyo-flows/price-drop-flow.md)
{% endcontent-ref %}
