Shopify Flow is an eCommerce automation platform that lets you easily automate tasks so you and your team can focus on expanding your business. It allows you to increase your operational efficiency and ability to experiment with new business opportunities by offloading time-consuming, repetitive tasks.

Shopify Flow's visual workflow builder can automate business processes in just a few clicks. Flow offers many powerful automations to accelerate your business outcomes.

You can find Shopify Flow in the Shopify App Store here:

Note: Shopify Flow is only available to Shopify Plus customers.

NS8 Triggers

Triggers are events that will notify Shopify Flow to execute the sequence you programmed.

NS8 Protect ™ (formerly known as Complete Storefront Protection) has the following triggers available:

NS8 Order Risk Analyzed - This will trigger when an order has been created and scored with conditions available for:

  • Customer Email - An order has an email address identifying a particular customer, and either contains/doesn't contain specific character strings. For example, the email address ends with or contains
  • Fraud Recommendation -  This trigger is based on the NS8 Status field with values equaling: Accept, Approved, Investigate, Cancel, and Cancelled.
  • Fraud Score - This trigger will be based on the order's EQ8 Score.
  • Order Number - The order matches a specific order number or contains/doesn't contain specific character strings. For example, the order number contains the characters UK or equals #013007.

NS8 Order SMS Rejected - This will trigger when an order was rejected by the customer using NS8's SMS Verification process. Available conditions are:

  • Order Number - The order matches a specific order number or contains/doesn't contain specific character strings. For example, the order number contains the characters UK or equals #013007.

Building a Workflow with NS8 Triggers

Creating a workflow will require three elements:

  • Trigger - An event that starts the workflow.
  • Condition - Criteria that determine if and how a workflow should run.
  • Action - The outcome of the workflow.

You can find Shopify's documentation to create workflows here: 

The examples below will demonstrate just some of the workflows you can build using the triggers NS8 has created. 

EQ8 Score Less Than 500

This workflow will send a notification via email when an order is received with an EQ8 Score less than 500. This workflow only takes action when the condition is met and action could be added to the No branch of the flow as well, if desired. In this case notifications of high scoring orders would probably not be useful.

This rule is pretty simple and straight forward. Next, let's examine a more complex workflow.

Compound Condition Workflows

This example workflow has multiple conditions and actions as follows:

  • The first step determines that the order is not quarantined by NS8 Protect with a status of Cancel or Investigate. If the order is either of these statuses, an HTTP Request is sent to the order processing system to place the order on hold.
  • The second step identifies a VIP customer by their email address and sends a Slack message to a team member to handle as a priority.
  • The final step checks the fraud score and either sends an HTTP Request to place the order on hold in the case of a low score, or an email to order processing if the score was above the threshold.

When you save a workflow or use the Shopify Flow preview feature, a summary is available that is helpful for checking that your workflow is going to work as designed. Below is the preview for the above workflow.

If you have questions or encounter issues in setting up a flow with an NS8 trigger, please contact us using the chat icon below.

Did this answer your question?