> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.qikify.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Notify customers about expiring Credits

With Koin, you can set up Expired dates for Credit, which encourages customers to buy again soon to take advantage of their earned amount.

![](https://storage.crisp.chat/users/helpdesk/website/-/8/2/3/1/823116ac9d020000/39827fa6-4b3a-471e-b1b5-57e945_7p8lm3.png)

On Customer Profile, if you [embed the Credit History block](https://support.getkoin.io/en/article/set-up-store-credit-history-on-profile-customer-account-page-kx94z0/), the expiration date will show beside each transaction:

![](https://storage.crisp.chat/users/helpdesk/website/-/5/4/2/4/54243f360d3aec00/0b51b893-f476-480f-a91f-42a7ed_15snm1x.png)

Moreover, if you want to notify customers about almost-expiring credits via email, You can use Shopify Segments - Shopify Flow - Shopify Email/Klaviyo altogether to set up this flow.

# Step 1: Create specific Customer Segment.

On Shopify Customers section, create a ****Customers segment**** for those customers that have almost-expired store credits.

****Shopify**** create some segment templates that can be used in certain cases.

* Notify customers about expiring Credits: use ****Customers with store credit expiring in the next 7 days.****
* Notifying** **customers who haven’t used their store credit for a certain period: use ****Customers who have not used their store credit after 1 month****

![](https://storage.crisp.chat/users/helpdesk/website/-/3/5/8/a/358aa60b387be800/273ec61d-9ce8-42df-b7ba-9cd1d3_5qilac.png)

# Step 2: Create Shopify Flow to send email when customers join that segment

|| Flow description: When customer joins the segment “Customers with store credit expiring in the next 7 days” > send them an email.

At this step, you will need to use Shopify Email and Shopify Flow to set up and send the email.

* Select trigger: Customer joins Segments, and select the exact segment you created above
* Action: Send Marketing Email
* Select an Email Template or code your own template that fit this case

![Use Shopify Flow and Shopify Email to send email](https://storage.crisp.chat/users/helpdesk/website/-/8/c/f/6/8cf6f2a3ee76f000/128eb095-bfda-48c4-a5aa-ac67dc_eatxo0.png)