Metadata variables

Introduction

Using a custom script, it's possible to add metadata to a payload in the form:

$data['meta']['unique_key'] = value;

For example:

$data['meta']['user_id'] = 000001

There may be times when you need to define variables or parameters for a process flow step using values from the incoming payload metadata. This can be achieved using a specific payload syntax in the process flow connection shape.

Need to know

Payload metadata cannot exceed 10240 bytes. Exceeding this limit will cause the process flow to fail on the associated step.

Metadata variable syntax

Payload metadata can be accessed via a variable or parameter field using the syntax below:

[[meta.unique_key]]

For example:

[[meta.id]]

When defining variables you can 'mix and match' payload, metadata and flow variables. For example:

Last updated