With the Shopify Flow app, you can trigger a MESA workflow or use a MESA workflow to trigger a Shopify Flow workflow. This lets you integrate Shopify Flow with other apps that do not currently support Shopify Flow. You can even connect with your third-party services that are entirely separate from Shopify.
Trigger a Shopify Flow workflow
1. In MESA, create a new workflow and add a Trigger.
2. Click the Plus ( + ) to add a new step and select the Shopify Flow Trigger Action.
You can optionally pass a text string to Shopify Flow by setting the Payload field in the MESA workflow builder, which supports variables.
3. In Shopify Flow, create a new workflow. Within the " Start When" block, select the Mesa Action.
For an example, see our Trigger a Shopify Flow workflow from any service template.
Start a MESA workflow from a Shopify Flow workflow
1. In MESA, create a new workflow. For the trigger, select Shopify Flow Action.
2. In Shopify Flow, create a new workflow and select a trigger. Add any necessary conditions and click the Add action button. Select Send To Mesa under the Mesa headline in the right sidebar.
3. In the configuration field in the right sidebar, you will need to enter your MESA Workflow's Key.
You can copy the Workflow Key from the Settings tab of your Workflow in the MESA dashboard and under the Key setting.
If you would like to pass data to MESA as part of the Payload variable, set a value for the Payload field. You can use any Shopify Flow template variables.
Important: MESA can only support one variable in the Payload at this time.
For an example, see our Trigger custom code from a Shopify Flow workflow template.
Note: The Shopify Flow trigger sends a JSON object as a payload. You will need to use a Custom Code step in your workflow to parse the JSON object into variables. Our team can assist with these requests via our Expert Workflow Setup.