> 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="https://295845546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MQfDsLur3-X4nSbZ6jH%2Fuploads%2FB4gUj6bXeSlAN9xH8mJB%2Fimage.png?alt=media&amp;token=857774d6-5034-4cc9-8792-3ee9948ed176" alt=""><figcaption></figcaption></figure>
