Skip to content

Configuring Your Payload

Add metafield namespaces to Shopify trigger data in MESA and limit what each trigger returns so your workflow payload contains what you need.

By default, Shopify trigger data excludes metafield information. Use MESA’s Metafield Namespaces feature to add metafield data to your workflow’s trigger data.

Screenshot of the Shopify trigger configuration in the MESA workflow builder. Spotlight the Metafield Namespaces field.

For example, to include global metafields, you will need to include the “global” namespace.

Screenshot of the Shopify trigger Metafield Namespaces field in the MESA workflow builder. Spotlight the global namespace entered in the field.

This feature lets you reduce the data included in the trigger payload. Selecting fields from the dropdown limits the payload to only those values from Shopify. This helps minimize unnecessary activity and optimize queries for efficiency. To filter for specific data, use a Filter step after the trigger step instead.

Screenshot of the Shopify trigger configuration in the MESA workflow builder. Spotlight the Limit Trigger Payload at Execution field dropdown.

Using the Limit Trigger Payload at Execution feature won’t limit what you see in MESA’s Testing and Variables features. All data and variables will still appear.