Skip to content

Latest commit

 

History

History

demonstration-shopify-flow-integration

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Demonstration: Shopify Flow integration

Tags: Demonstration, Integration, Shopify Flow

This task demonstrates how to use the four Mechanic Shopify Flow triggers: General, Customer, Product, and Order.

Default options

{
  "customer_id__number": "",
  "order_id__number": "",
  "product_id__number": "",
  "send_general_trigger__boolean": true
}

Learn about task options in Mechanic

Subscriptions

mechanic/user/trigger

user/flow/customer
user/flow/order
user/flow/product
user/flow/general

Learn about event subscriptions in Mechanic

Documentation

This task demonstrates how to use the four Mechanic Shopify Flow triggers: General, Customer, Product, and Order.

You'll learn about the user-defined data that we can send to Shopify Flow: user_boolean, user_email, user_number, user_string, user_url.

We demonstrate subscribing to an event topic fired by a Shopify Flow action. You'll need to set up a workflow in the Shopify Flow app to trigger this event topic. This example could be in any Mechanic task; we have this as part of this task for demonstration purposes. The event topic can be anything in the user domain. We choose user/flow/customer (etc), but it could be something like user/flow/xyz.

Installing this task

Find this task in the library at tasks.mechanic.dev, and use the "Try this task" button. Or, import this task's JSON export – see Importing and exporting tasks to learn how imports work.

Contributions

Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.

Task requests

Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!