# Get Started

## 🗂️ <mark style="color:blue;">Overview</mark>

Get started with the **iAlert - Low Stock Alert** app! Quickly notify merchants when their stock levels fall below a predefined threshold, designed for ease and efficient inventory management..

***

## 🗃️ <mark style="color:blue;">Introduction</mark>

The **iAlert – Low Stock Alert** app helps merchants stay informed when stock levels drop below a set threshold. Users can define a minimum stock value, and when inventory reaches or falls below this limit, a notification is automatically sent to the designated email. This ensures timely restocking, preventing inventory shortages from disrupting business operations.

***

## 📌 <mark style="color:blue;">How To Get Started?</mark>

This section guides you through the essential steps to efficiently send an e-mail notification alert, when the stock level of a product is low.

{% hint style="success" %}
All the images in this section can be enlarged by clicking on them
{% endhint %}

***

### **📑&#x20;**<mark style="color:blue;">**Step 1: Details And Filters**</mark>

***

{% stepper %}
{% step %}
Start by clicking the **Create Alert** button. This will take you to the **Details & Filters** section, where you can refine your alert settings.
{% endstep %}

{% step %}
Next, enter the required **Details** to customize your notifier according to your preferences.&#x20;

<figure><img src="https://548074640-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcYkg6VKLmTxCPP7zSbuj%2Fuploads%2FxfiqYr8MehAdHrYqRi7I%2FUntitled%20design_page-0001.jpg?alt=media&#x26;token=980b840c-0461-47a1-bc97-553722489e50" alt=""><figcaption><p>Details &#x26; Filters</p></figcaption></figure>
{% endstep %}

{% step %}
To add a filter, click the **Add Filter** tab, choose one of the predefined options that best suit your preferences, and then click **Next**.

<figure><img src="https://548074640-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcYkg6VKLmTxCPP7zSbuj%2Fuploads%2FD0Ce9WHpfEDSTbTgR7aC%2FUntitled%20design_page-0002.jpg?alt=media&#x26;token=b01b261b-3a83-4185-9cc0-6536e5faeaf0" alt=""><figcaption><p>Add Filters</p></figcaption></figure>
{% endstep %}
{% endstepper %}

***

### **📄**<mark style="color:blue;">**Step 2: Rules And Frequency**</mark>

***

{% stepper %}
{% step %}
Define the **Stock Calculation Rule** by selecting inventory locations using **Select Locations** and specifying quantity types with **Select Quantity Types**, based on your store’s requirements.
{% endstep %}

{% step %}
In the next step, set the Minimum Stock Threshold using the **Stock Threshold Rule**, which determines when an alert will be triggered based on the stock levels and then click on **Next** to proceed.

<figure><img src="https://548074640-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcYkg6VKLmTxCPP7zSbuj%2Fuploads%2FHdy815fgSVaECDsfON1h%2FUntitled%20design_page-0003.jpg?alt=media&#x26;token=f3864d89-b2ec-4996-91a9-3f3fe777ff30" alt=""><figcaption><p>Rules Section</p></figcaption></figure>
{% endstep %}

{% step %}
After setting the rules, go to the **Frequency** section and choose how often you want to receive notifications—either **Scheduled** or **Instant**, based on your needs.

<figure><img src="https://548074640-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcYkg6VKLmTxCPP7zSbuj%2Fuploads%2FGKFA6S2EZOm3YDR3GvBa%2FUntitled%20design%20(1)_page-0001.jpg?alt=media&#x26;token=a12f4008-900b-45fd-b077-e47aaff6eaeb" alt=""><figcaption><p>Frequency</p></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="success" %}
You can set different value for MIN\_STOCK\_THRESHOLD for different items
{% endhint %}

***

### **🗳️&#x20;**<mark style="color:blue;">**Step 3: Configure Notification Channels**</mark>

***

{% stepper %}
{% step %}
To receive an alert, enter the **E-mail** address where you’d like to get notifications in the predefined email template. Alternatively, you can link your **Slack** account to receive alerts directly on Slack.
{% endstep %}

{% step %}
Once you have entered all the details and configured the notification channels, click the **Save** button. The created notifier will now be visible on the Alerts section.

<figure><img src="https://548074640-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcYkg6VKLmTxCPP7zSbuj%2Fuploads%2FbPklm8ZBeNz2Z0AL0sLB%2FUntitled%20design%20(1)_page-0002.jpg?alt=media&#x26;token=57fbf230-476e-4d6b-88f6-592c96c3054b" alt=""><figcaption><p>Notifications Channel</p></figcaption></figure>
{% endstep %}
{% endstepper %}
