> For the complete documentation index, see [llms.txt](https://docs.getpurpledot.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getpurpledot.com/integrations/marketing/klaviyo/trigger-flows.md). Agents can also search and read this documentation through its [MCP server](https://docs.getpurpledot.com/~gitbook/mcp).

# Trigger Klaviyo flows for pre-order shoppers

Use purchase and subscription events to trigger Klaviyo flows.

Background: [How marketing integrations work](https://docs.getpurpledot.com/integrations/marketing/how-marketing-integrations-work.md#campaigns-and-revenue).

## Before you start

* [Connect Klaviyo](https://docs.getpurpledot.com/integrations/marketing/klaviyo/connect.md).
* For subscription flows, turn on **Subscribe shoppers when they pre-order** and the matching email or SMS consent setting in **Settings** > **Checkout**.

## Steps

1. For an order purchase flow, set its Klaviyo trigger metric to `Placed Order`.
2. In the Purple Dot Klaviyo integration settings, turn on **Send placed pre-order events** and set **Placed pre-order event name** to `Placed Order`. Save the integration.

<figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-5dbc526ccb9341aa17389cef119a420275d1d632%2Fhow-to-use-klaviyo-with-purple-dot-6.png?alt=media" alt="Placed Order trigger for a Klaviyo email flow"><figcaption></figcaption></figure>

3. For an SMS subscription flow, use the shopper becoming subscribed to SMS marketing as its Klaviyo trigger.

<figure><img src="https://2758444809-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM5A7csYKEplvsuQqHenE%2Fuploads%2Fgit-blob-ea11e086b239937fe6def0af34370bc4467ebc0d%2Fhow-to-use-klaviyo-with-purple-dot-9.png?alt=media" alt="Klaviyo SMS flow triggered by a marketing subscription"><figcaption></figcaption></figure>

## Verify

Place a test pre-order. Check that it appears against the intended flow trigger. For SMS subscription flows, give SMS consent during checkout.

## Troubleshooting

* [My integration is not syncing](https://docs.getpurpledot.com/troubleshooting/orders-and-inventory/integration-is-not-syncing.md)

## Related

* **Concept:** [How marketing integrations work](https://docs.getpurpledot.com/integrations/marketing/how-marketing-integrations-work.md#how-it-works)
* **Do this:** [Connect Klaviyo](https://docs.getpurpledot.com/integrations/marketing/klaviyo/connect.md)
* **Look up:** [Klaviyo events and settings](https://docs.getpurpledot.com/integrations/marketing/klaviyo/events-and-settings.md)
* **Fix it:** [My integration is not syncing](https://docs.getpurpledot.com/troubleshooting/orders-and-inventory/integration-is-not-syncing.md)


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.getpurpledot.com/integrations/marketing/klaviyo/trigger-flows.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
