Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Flow is a fantastic concept, allowing us to build nice integrations. But I find the current Action implementation limiting.
Suppose Action would have an output that allows the creation of more connected workflows. Action output avoids fracturing a single workflow into multiple disconnected smaller ones.
Our customers want to use our Flow action "Generate PDF" in their workflows. PDF action is a tiny step in a more extensive workflow, not a core part. Our Action generates a downloadable document. Technically we can return an action outcome (URL) immediately, and a merchant could continue the same workflow incorporating a PDF URL. But because there is no such thing as Action output - the merchant is forced to introduce another workflow to handle our app output via Trigger. The current situation is not great as it forces merchants to create a separate workflow for each app output. This situation does not help analyze the sequence of events associated with an initial trigger.
Let's take a look at existing and active YAML-based workflow engines:
They support output or a result. Naturally, more sophisticated workflow engines that use code to define workflows also support outputs. Example: Temporal.io.
Here is a small example of a workflow that uses Action output.
Component | Name | Input | Output |
Trigger | Order Fulfilled | Order Object | Order, Store, All Line Items Shippable |
Action | Generate Commercial Invoice | Order ID | PDF URL |
Action | Send Email | PDF URL | None |
Action | Send HTTP Request | Not important | None |
Note that steps that follow "Generate Commercial Invoice" use PDF URL as input. The workflow is one piece.
Do you plan to support Action outputs sometime in the future?
Solved! Go to the solution
This is an accepted solution.
Hi EBC,
Thanks for the thorough post on partner-defined Action outputs for Flow Connector Actions!
This is something we are exploring and plan to offer in the future so I'll share your feedback with the wider team.
Thanks again!
This is an accepted solution.
Hi EBC,
Thanks for the thorough post on partner-defined Action outputs for Flow Connector Actions!
This is something we are exploring and plan to offer in the future so I'll share your feedback with the wider team.
Thanks again!
User | RANK |
---|---|
3 | |
1 | |
1 | |
1 | |
1 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023