Important:
In this article you'll find:
How does the Rise.ai store credit workflow work
The aim of building store credit workflows is to reward customers automatically after a specific event happens. A workflow would always consist of the following two parts:
'Trigger' - that marks the event that will initiate the workflow
'Action' - that reflects what will happen after the trigger is triggered
Between the above two, you can also add different 'conditions', based on your preference and the aim of the workflow.
For reference, see an example of a workflow, where a customer would be rewarded when they paid for an order, and the total order price is equal to or greater than 99:
How to set up the trigger for your workflow
Within your dashboard, enter the Store Credit tab → Workflows → Create Workflow:
Then, select a trigger, click on Shopify Order Paid → Apply
The Shopify Order Paid trigger activates when an order is successfully paid.
How to add conditions to your workflow
To add conditions to your workflow, click on the blue plus button "Add Step"
Click on Condition
The Condition tool enables automated actions based on specific criteria, with two possible paths: THEN and ELSE. If the criterion is met, the THEN action is executed, if not, the ELSE action occurs.
The Condition can be set up in one of two ways: Basic logic, or Custom code.
Basic Logic Method
The Check if block lets you create logic-based paths in your workflow. The flow will only continue if the condition you set is met.
In the Check if panel, choose a property like:
Total Price - the cart's total value (including shipping fees).
For example: if a customer’s cart value is over $100, the customer automatically receives $10 as store credit.Subtotal Price: The price of the items in the cart, excluding taxes and shipping, while including any discounts applied to the order.
Customer Lifetime Value - the total amount a customer spent at your store.
For example: if a customer’s total lifetime value is over $2000, the customer will automatically receive a $100 reward.Customer Order Count - the number of purchases a customer made.
For example: If customers make 3 purchases at your store, they will automatically receive a $20 reward.Customer Created At - The date the customer account was created in Shopify.
Product ID: Identifies the products associated with a specific order.
Source Location ID: Refers to the location ID tied to the source of the order.
Customer Tags: The tags applied to the customer within your Shopify admin.
Custom Code Method
This section allows you to customize the condition using code snippets written by you, or using the Code with AI option:
These conditions must return either True or False.
Please note - the variables used in the code snippet must be in the Payload of the condition. To see the variables available to use and their type, click on the {...} button to the right of the condition tile:
This will open a sidebar with all available input data:
To review the type, hover over the desired variable:
Test the code using the Test Condition button:
Fill in the desired payload data, then click the Run Tests button. The output test result should be either True, or False.
Once you're done setting up the conditions, click Apply.
Please note:
You can define multiple conditions in one workflow by clicking Add Criterion.
If you define two or more conditions in one workflow, remember to set the conditions from the highest value to the lowest.
How to add an action to your workflow
Within your workflow, click on Action.
After clicking on the action, a side panel will open on the left, where you'll see the list of possible actions:
Issue Store Credit action
This action allows you to automatically issue Store Credit to a customer once the workflow conditions are met.
When selecting this action, a configuration panel will appear on the right. Here's a breakdown of the available settings:
Credit type
Fixed Amount A set amount of Store Credit will be issued once the conditions are met.
Example: $10 store credit for completing a purchase.
Percentage Store Credit will be calculated as a percentage of the selected value type. You can choose from:
Customer lifetime value - The total amount the customer has spent in your store.
Subtotal order price - The order amount before shipping and tax.
Total order price - The full order amount including shipping and tax.
Example: Give back 10% of the order subtotal.
Relative amount: Store Credit is issued based on how much the customer spends. You define how much credit to give for every X amount spent.
For example, you can set:
Give: $5
For every: $50
Of:
Customer lifetime value - The total amount the customer has spent in your store.
Subtotal order price - The order amount before shipping and tax.
Total order price - The full order amount including shipping and tax.
Expiration type
Toggle on Add expiration date, and choose between:
Dynamic – Set the number of days/weeks/months until expiration (e.g., 90 days).
Fixed date – Select a specific expiration date from the calendar.
Delay type
Toggle on “Add delay” if you want to delay when the credit is issued, then set:
Dynamic
Set a delay based on a time period (e.g., days, weeks, hours) from when the trigger occurs.Issue store credit in – Enter the number (e.g., 3)
Select a time – Choose from days, weeks, or hours
Fixed
Set an exact date and time for when the store credit should be issued.Issue store credit on – Choose a specific calendar date and time
How does delayed store credit behaves -
When adding a delay inside the “Issue Store Credit” action, Rise creates the credit immediately, but does not apply it to the customer’s wallet until the scheduled date.
Delayed credits appear in the customer’s wallet under Future transactions, showing the exact date they will be added to the wallet.
For example, a delay of 5 days was added inside the Issue Store Credit action. As a result, the credit appears under Future transactions with a scheduled date of Nov 24, 2025, and will only be applied to the wallet on that date.
Add an internal note Include a note visible only to your team for tracking purposes.
Send email notification Notify the customer via email about the issued store credit. If enabled, Rise will automatically send an email to notify the customer when they receive store credit.
Under Email template, you can choose:
The default store credit email
Or a custom template
If you're using a custom template, enter its Template ID in the Custom template ID field.
To find the Template ID:
Go to the Notifications tab → Click the template → Copy the last part of the URL (e.g.,a53c-5f158af9114e)
Add Shopify Tag
This action allows you to automatically tag customers who meet the workflow conditions. The tag will appear both in their Shopify customer profile and in Rise.
Tag - Enter the tag you want to apply to customers who qualify.
Example: Add a “Gold” tag to customers with a lifetime spend over $2000.
Shop ID - To find your shop ID, add "/shop.json" to your store's URL, then search for "shopId".
* The Shop ID must be added within the workflow setup, so tags are added based on this action.
Once you're done setting up the actions, click on Apply.
Fetch Shopify Collection ID action
The Fetch Shopify Collection ID action allows brands to tailor rewards based on collection-specific criteria. You can choose to reward customers when their order includes at least one item from a designated Shopify collection, or—conversely—when their order excludes items from that collection.
This flexibility is ideal for running targeted promotions, incentivizing purchases from specific collections, or excluding certain products from loyalty campaigns, ensuring your rewards strategy aligns with your business goals.
1. Select the "Fetch Shopify Collection ID" Action:
Add this action to your workflow where you want to check for collection-based purchases.
2. Locate Your Collection ID:
Go to your Shopify admin.
Open the desired manual collection.
The Collection ID appears at the end of the URL, after
collections/.
Example: In.../collections/1234567890, the Collection ID is1234567890.
Please note: This action is only supported for Manual collections.
3. Add a Follow-up Condition:
Insert the condition: "Check if Collection IDs includes any of", then paste the Collection ID from your Shopify admin.
Use the "Then" branch to define actions for orders that include items from the selected collection.
Fetch Shopify Segment action
The 'Fetch Shopify Segment ID action' enables merchants - when this action is followed by a segment-based workflow condition - to either reward customers who are part of one or more specific Shopify segments, or, alternatively, to exclude those customers from receiving certain rewards
Prepare Your Workflow:
Insert a short wait step (recommended: 3 minutes) before the fetch action.
This buffer ensures that any changes, such as a customer entering a segment based on a new order, have time to process before the segment is checked.Select the "Fetch Shopify Segment ID" Action: Add this action to your workflow.
Locate Your Segment ID:
Navigate to the desired segment in your Shopify admin.
The Segment ID is at the end of the URL, after
segments/.
Example: In.../segments/abcdef12345, the Segment ID isabcdef12345.
4. Add a Follow-up Condition:
Insert the condition: "Check if 'is in segment' is true". This ensures that only customers who are in the desired segment will be eligible for the subsequent reward.
IMPORTANT: If this condition is not added, the rest of the workflow will still apply to all customers, not just those in the segment.
5. Continue the Workflow:
Use the "Then" branch to define rewards or other actions for customers in your selected segment.
Please note: This action is available only upon request. If you wish to use Segments in workflows, please reach us at info@rise.ai.
How to add a delay before/after a condition or an action
You can add a delay to pause the workflow for a specific amount of time before or after a condition or action. This gives you control over when the next step in the automation will run, allowing for flexible timing based on your needs.
To begin setup, click on Delay
For example: if you want to wait one day before issuing store credit, you can set a delay to manage this timing.
Once you're done setting up your Workflow, click on Activate.
Important -
When you use Delay as its own action block, the delay applies to the entire workflow execution.
This means the workflow pauses completely until the delay is over.
Because the next action has not been executed yet, no credit is created or displayed anywhere during the delay period. The workflow simply waits, and the next action (such as “Issue Store Credit”) will only run once the delay time has passed.
Including Workflow Rewards in Cashback Analytics and History
When setting up your workflows in Rise.ai, you can ensure that rewards issued by these workflows are included in your store’s Cashback analytics and history. These insights can be viewed and monitored from the dedicated Cashback tab in your Rise.ai dashboard.
To include workflow rewards in Cashback analytics and history:
Navigate to the Workflows tab in your Rise.ai dashboard.
Create a new workflow or edit an existing one.
When adding or customizing a workflow action that issues store credit, look for the Tag field in the left menu.
Enter or select Cashback as the tag for this action.
Click 'Apply' and save or activate your workflow.
Any future rewards issued by workflow actions tagged with Cashback will now be automatically included in your Cashback tab’s analytics and history tables.
How workflows handle post-purchase upsells and manual edits
A post-purchase update occurs when items are added to an existing order after the checkout process is complete.
It is important to note that Rise treats manual order edits and automated upsells in the exact same way. In both scenarios, the original order ID remains the same, but the total order value increases.
This logic applies to:
Manual Edits: When you (the store admin) edit an order in Shopify to add items after the purchase is complete.
Post-Purchase Upsells: When a customer adds products to their existing order via a third-party upsell app immediately after checkout.
To ensure your customers are rewarded accurately and to prevent duplicate rewards, the Rise workflow is designed to trigger only once per order within a 48-hour window.
This means that if an order’s total value increases after the initial purchase (due to either a manual edit or an upsell), the workflow will not run a second time. Consequently, the customer will receive Store Credit based only on the original order amount.
Important: If an order is updated with additional items and you wish to reward the customer for the extra amount, you will need to issue the difference manually through the Rise dashboard → Customer wallets → choose the specific customer → click on Issue store credit.
Example:
A customer places an order for $20 and receives $2 in Store Credit (based on a 10% reward workflow).
Later, items worth $40 are added to the same order (via an upsell app or manual edit).
The same workflow will not automatically issue credit for the additional $40.
If you want to reward the additional amount, you should manually issue the extra $4 to the customer's wallet.
Have more questions or any product feedback?
Feel free to contact us at info@rise.ai or in the chat box.


























