> For the complete documentation index, see [llms.txt](https://doc.wearepatchworks.com/product-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.wearepatchworks.com/product-documentation/process-flows/building-process-flows/process-flow-shapes/standard-shapes/assert-shape.md).

# Assert shape

## Introduction

You can use the **assert** shape is typically used for testing purposes -you can define a static payload which is used to validate that the current payload (i.e. the payload generated up to the point that the **assert** shape is encountered) is as expected.

{% hint style="info" %}
A single incoming payload for [any process flow shape](https://open.gitbook.com/~site/site_dIV1g/~/revisions/9dTvdvRJIRVZQXuBMMnJ/process-flows/building-process-flows/process-flow-shapes) should not exceed 500MB.

We recommend processing multiple, smaller payloads rather than one single payload (1000 x 0.5MB payloads are more efficient than 1 x 500MB payload!).

For payloads up to 500MB, consider adding a[ flow control shape](https://open.gitbook.com/~site/site_dIV1g/~/revisions/9dTvdvRJIRVZQXuBMMnJ/process-flows/building-process-flows/process-flow-shapes/standard-shapes/flow-control-shape) to batch data into multiple, smaller payloads. Payloads exceeding 500MB should be batched at source.
{% endhint %}

## Accessing assert payload shape settings

To view/update the settings for an existing **assert** shape, click the associated 'cog' icon:

<div align="left"><figure><img src="/files/NGczHtV6wbo9N9A0E7KY" alt="" width="327"><figcaption></figcaption></figure></div>

This opens the [options panel](#configuring-settings-for-a-new-manual-payload-shape) - for example:

<div align="left"><figure><img src="/files/F5RIXtTpIzdfLSaANPOf" alt="" width="375"><figcaption></figcaption></figure></div>

## Configuring settings for a new assert shape

<details>

<summary><img src="/files/JOYoP4EdSu7WJ3CMdAAS" alt="" data-size="line"> Show me</summary>

![](/files/EjNOHxZrQke9la6MMLnm)

</details>

To configure an **assert** shape, all you need to do is paste the required payload and save the shape for example:

<div align="left"><figure><img src="/files/pyhdNaAQJ1gV2rrHOZ0j" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="info" %}
An **assert** shape can only be saved if a payload is present. If you add an **assert payload** shape but don't have the required payload immediately to hand, you can just enter `{}`and save.
{% endhint %}
