View Categories

Pre-order Shopify Flow Actions and Triggers

2 min read

Shopify Flow Integration #

PreProduct now supports 15 Shopify Flow actions and 16 Shopify Flow triggers, enabling even more powerful automation and integrations with your pre-order campaign and Shopify store. Whether you’re launching products, managing out-of-stock transitions, or sending targeted Klaviyo campaigns, you can now build flows that connect PreProduct to the rest of your tech stack without reaching for our API.

Actions are available on the Scale plan and above. Triggers are only available to merchants on the “Scale Plus” plan due to the extra compute and risk of infinite loops.

Actions #

Shopify Flow Actions are tools that you call within your workflow. For example, if a condition is true, then put the product on pre-order.

  • Create listing – Create a new pre-order listing for a specific product/variant
  • Get listing – Fetch data for an existing listing
  • Get many listings – Fetch multiple listings at once
  • Get pre-orders – Get a list of pre-orders tied to a listing or product
  • Put listing variant on pre-order
  • Take listing variant off pre-order
  • Update listing customer max limit
  • Update listing deposit
  • Update listing discount
  • Update listing shipping
  • Trigger charges and/or fulfilment – Initiate payment capture and/or fulfilment
  • Link listing to template
  • Sync listing to linked template
  • On pre-order? – Check if a product or variant is currently on pre-order
Flow actions
PreProduct Shopify Flow actions

Triggers #

Shopify Flow Triggers are used to start off a logic workflow. For example, whenever a pre-order is created, do this chain of events.

  • Listing created
  • Listing finished
  • Listing shipping five days out
  • Listing variant limit reached
  • Listing variant limits all reached
  • Pre-order created
  • Pre-order cancelled
  • Pre-order charge failed
  • Pre-order charge succeeded
  • Pre-order paid
  • Pre-order fulfilment released
  • Email – confirmation*
  • Email – update
  • Email – upcoming charge
  • Email – failed charge
  • Email – payment link

*Note that the email triggers fire even if you have the “Disable automatic customer emails” activated in PreProduct.

Output data #

Most PreProduct actions and triggers expose structured response data for further use within your flow. This data can be referenced in subsequent conditions and actions.

  • Listing – Includes pre-order listing state and configuration, as well as some sales data.
  • Preorder – Includes customer details, payment status, and variant quantities.
  • Email – Includes the generated email and body.
Output of a listing object
Listing output

Common patterns #

Here are a few examples of how brands are using Flow with PreProduct:

  • In-stock and Out-of-stock: Shopify has a great and performant Product variant out of stock trigger as well as a Product variant back in stock . These are perfect for using before PreProduct actions.
  • Conditional logic based on pre-order status: Use the On pre-order? action to branch logic. For example, only send a Klaviyo event if a product is on pre-order, or only create a new listing if one doesn’t already exist. The On pre-order? action by default checks if any variant is on pre-order, but you can also specify an specific one.
  • Debug with “Log output”: Use the Shopify Flow “Log output” action to display intermediate values or check data returned from your workflow actions is as you expect. Especially useful when chaining flows.
  • Schedules vs Triggers: Where possible it’s much more efficient to handle tasks according to specific triggers on that resource e.g. “Variant goes out of stock”. This is as opposed to batching through many resources every hour or so e.g. “loop through all products and variants”. It’s possible to do either, but the latter may lead to you hitting PreProduct’s rate limits.

Example workflow #

Below is an example workflow that automatically puts out-of-stock variants on pre-order, then below that is an example of taking variants off pre-order when stock is made available. These two flows, as well as others should be available as ‘templates’ in the Flow app library.

Example out of stock -> pre-order flow
Example out of stock -> pre-order flow
Example back in stock -> finish pre-order flow
Example back in stock -> finish pre-order flow

Powered by BetterDocs

Pre-sell With PreProduct

7 day free trial with all plans