Skip to main content

Create Custom point rule

Create a Custom point rule to award points for actions and conditions defined in Shopify Flow.

Written by Bartlomiej Rekosiewicz

Unlike other point rules, a Custom point rule doesn't run automatically. The rule defines how many points members earn, while Shopify Flow determines when points are awarded.

Learn more about different rule types in Points rules overview.

Custom rules use Shopify Flow, so they’re available for Shopify stores only.


Create the rule

  1. Go to Program > Rules.

  2. Select Add point rule.

  3. Select Custom, then select Add.

  4. Configure the rule settings:

    • Turn Status on to make the rule active immediately, or leave it off to activate the rule later.

    • Enter a name for the rule.

    • Upload an image if you want to display one in your Shopify storefront or use it through the Loyalty API.

  5. Configure the Active period:

    • For Start date, select Right now or choose a future date and time.

    • For End date, select No end date or choose when the rule should end automatically.

  6. Select Save rule.

Connect the rule to Shopify Flow

A Custom point rule doesn't award points on its own. You connect it to a workflow in Shopify Flow, and the workflow decides when members earn the points.

Copy the rule ID

  1. In Loyalty, go to Program > Rules.

  2. Select your Custom point rule.

  3. Copy the Rule ID.

Create a workflow in Shopify Flow

  1. In Shopify admin, open Shopify Flow and create a new workflow.

  2. Choose the event that should award points, for example, Customer tagged or Order created.
    Learn how in Shopify Flow documentation.

  3. Select Add action.

  4. Search for Loyalty, then select Earn points.

  5. Paste the rule ID into the Rule ID field.

  6. Turn on the workflow.

Each Earn points action can use only one rule ID.

When the workflow runs, Loyalty awards the points set in your Custom point rule to the member.

Did this answer your question?