> 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/braze/events-and-settings.md). Agents can also search and read this documentation through its [MCP server](https://docs.getpurpledot.com/~gitbook/mcp).

# Braze events and settings

Data and settings for the Braze integration.

The Braze integration sends data from Purple Dot to Braze. Fields and settings are grouped by purpose.

## Data

Once the integration is enabled, Purple Dot sends a `pre_order_placed` event to your Braze workspace for each pre-order.

| Data              | Direction           | Notes                                                                      |
| ----------------- | ------------------- | -------------------------------------------------------------------------- |
| Profile fields    | Purple Dot to Braze | Basic profile fields for marketing consent.                                |
| Pre-order details | Purple Dot to Braze | The pre-order reference, total pre-order amount, and shipping information. |

## Request fields

The integration sends `POST /users/track`. The field names are grouped by their location in the request.

| Location                               | Fields                                                                                                        | Meaning                                                                |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `attributes[]`                         | `email`, `has_email_marketing_consent`, `has_sms_marketing_consent`                                           | Shopper identity and consent flags.                                    |
| `events[]`                             | `email`, `name`, `time`                                                                                       | Shopper email, `pre_order_placed`, and an ISO 8601 purchase timestamp. |
| `events[].properties`                  | `order_id`, `source`                                                                                          | Pre-order reference and `Purple Dot`.                                  |
| `events[].properties.shipping.address` | `first_name`, `last_name`, `address1`, `address2`, `city`, `region`, `country`, `postal_code`, `phone_number` | Shipping address and contact information.                              |
| `events[].properties.total_price`      | `amount`, `currency`                                                                                          | Total pre-order price and currency.                                    |
| `events[].properties.discounts[]`      | `type`, `code`, `amount`                                                                                      | Applied discounts.                                                     |
| `events[].properties.items[]`          | `product_id`, `product_name`, `variant_id`, `sku`, `quantity`, `item_price`, `row_total`                      | Product identity, quantity, unit price, and line total.                |

## Settings

| Setting                                 | Meaning                                     |
| --------------------------------------- | ------------------------------------------- |
| REST endpoint URL `Purple Dot checkout` | The REST endpoint for your Braze workspace. |
| API key `Purple Dot checkout`           | The key used to send requests to Braze.     |

## Limits

* Purple Dot sends only the `pre_order_placed` event to Braze, with the line items inside it. It doesn't send separate purchase rows, or events for cancellation, release, or shipment.

## Related

* **Concept:** [How marketing integrations work](https://docs.getpurpledot.com/integrations/marketing/how-marketing-integrations-work.md#how-it-works)
* **Do this:** [Connect Braze](https://docs.getpurpledot.com/integrations/marketing/braze.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/braze/events-and-settings.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.
