> For the complete documentation index, see [llms.txt](https://docs.datajet-app.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.datajet-app.com/liquid/filters/flow.md).

# 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>
