# Orders

The **Orders** section shows how your back-in-stock campaigns directly generate revenue.

You can see which orders were influenced by restock alerts, how much revenue was attributed, and exactly which product and subscription drove the purchase.

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

## View attributed orders&#x20;

{% hint style="success" %}
Steps:

1. Open **XFlow** in your Shopify admin
2. Go to **Orders**
   {% endhint %}

You'll see a list of orders that XFlow attributes to your campaigns and workflows.

## View order attribution details

Click an order to open the **Attributed order details** view.

<details>

<summary>Attribution summary</summary>

Shows:

* Revenue attributed by XFlow
* Attribution percentage (full or partial)

</details>

<details>

<summary>Attribution breakdown</summary>

You can clearly see:

* Campaign – Which restock campaign drove the order
* Workflow – The workflow that sent the notification
* Subscription – The subscription that led to the purchase

</details>

<details>

<summary>Attributed items</summary>

Lists the exact product(s) whose revenue was attributed.

</details>

<details>

<summary>Order summary</summary>

Displays standard Shopify order data:

* Subtotal
* Discounts
* Shipping
* Tax
* Order total
* XFlow attribution amount

</details>

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

### See XFlow attribution inside Shopify orders

{% hint style="success" %}
In **Shopify > Orders**, add the **XFlow Revenue Attribution** block to your order details to instantly see where the revenue came from—without leaving Shopify.
{% endhint %}

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

***

#### 📩 **Need help?**

We’re here to make your XFlow experience smooth and successful.\
Our support team is always ready to assist you—no matter how big or small your question is.

<a href="https://admin.shopify.com/apps/xflow?chat=true&#x26;utm_source=foxecom&#x26;utm_medium=help_center_xflow_orders&#x26;utm_campaign=cta_button&#x26;utm_term=chat_now" class="button primary" data-icon="comment-lines">Chat now</a> <a href="mailto:contact@help.xflow.so" class="button secondary" data-icon="envelopes">Message us</a>


---

# Agent Instructions: 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:

```
GET https://docs.foxecom.com/xflow-app/store-management/orders.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
