Manual payload shape
Introduction
You can use the manual payload shape to define a static payload to be used for onward processing. For example, you might define an email template that gets pushed into an email connection, or you might want to test a process flow for a connector that's currently being built by your development team.
Need to know
The maximum number of characters for a single payload is 100k. Anything larger than this may cause the process flow to fail.
Any text-based data format is supported (JSON, XML, CSV, plain)) however, keep in mind that subsequent shapes in the flow may only support JSON and XML.
Accessing manual payload shape settings
To view/update the settings for an existing manual payload shape, click the associated 'cog' icon:
![](https://doc.wearepatchworks.com/~gitbook/image?url=https%3A%2F%2F2440044887-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FLYNcUBVQwSkOMG6KjZfz%252Fuploads%252F7jxLuCEohFIhLlgdRNZW%252Fmanual%2520payload%25201.png%3Falt%3Dmedia%26token%3Dd62f2e3b-59c7-4871-ac6b-122374825cb4&width=768&dpr=4&quality=100&sign=af0b88fd&sv=1)
This opens the options panel - for example:
![](https://doc.wearepatchworks.com/~gitbook/image?url=https%3A%2F%2F2440044887-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FLYNcUBVQwSkOMG6KjZfz%252Fuploads%252FE04qJpwYuWiSYnw7PGWg%252Fmanual%2520payload%25202a.png%3Falt%3Dmedia%26token%3De79bc0a0-7007-4838-8800-6d2060b1305c&width=768&dpr=4&quality=100&sign=47efa2a2&sv=1)
Configuring settings for a new manual payload shape
To configure a manual payload shape, all you need to do is paste the required payload and save the shape for example:
![](https://doc.wearepatchworks.com/~gitbook/image?url=https%3A%2F%2F2440044887-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FLYNcUBVQwSkOMG6KjZfz%252Fuploads%252Fx98QQ0SD5c6bpLKJ2sqU%252Fmanual%2520payload%25203.png%3Falt%3Dmedia%26token%3Dc08b724d-7416-461f-8582-7165573dc609&width=768&dpr=4&quality=100&sign=f0dadfea&sv=1)
A manual payload shape can only be saved if a payload is present. If you add a manual payload shape but don't have the required payload immediately to hand, you can just enter {}
and save.
Last updated