# flow

{% hint style="info" %}
Deprecated. Use [flow](/liquid/tags/flow.md) tag instead.
{% endhint %}

Use flow filter to send data to Shopify Flow. It expects JSON payload as parameter. Payload needs to contain one of the following keys:

* customer\_id
* product\_id
* order\_id

Sample usage could look like this:

```
{% json payload %}
	{"customer_id": 5287014039740}
{% endjson %}

{% assign result = payload | flow %}
```

Next custom with provided ID is automatically loaded in Shopify Flow:

<figure><img src="/files/93lZJnsZaWN4NA8g6krD" alt=""><figcaption></figcaption></figure>


---

# 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.datajet-app.com/liquid/filters/flow.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.
