> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.getkoin.io/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/-/c/0/2/5/c02521bae3235800/image_1tugb9a.png =971xauto)

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/-/c/0/2/5/c02521bae3235800/screenshot16_2kmgb8.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**&#160;**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/-/c/0/2/5/c02521bae3235800/image_u2fx17.png =949xauto)

# 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/-/c/0/2/5/c02521bae3235800/image_kf7q6z.png =871xauto)

