# Automation

![](https://3137359664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1RAeIMFPQkdVfsP2GGGB%2Fuploads%2FyL4pS7YLXpCMpSHqSHoU%2Fautomation.png?alt=media\&token=d035f538-68fc-4887-880f-0a6819b3cf7a)

There are 5 types in Automation:

1. **New Arrival**: Show badge on new products.
2. **On Sale**: Show badge on products with discount.
3. **Low Stock**: Show badges on products with limited stock.
4. **Out Stock**: Show badge on products that are out of stock.
5. **Custom**: Show badge on products with custom filter condition.

### **Interface add / edit Automation**

![Interface add/edit Automation](https://3137359664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1RAeIMFPQkdVfsP2GGGB%2Fuploads%2FufyCmCzyrLj9RLcwal1c%2Fedit-automation.png?alt=media\&token=f0220cec-0886-4da3-a706-5f55bc29f6f2)

1. **Choose a script**: Select the type of Automation you want to add.
2. **Our Library:** Choose badge from [**Gallery**](https://guide-shine-trust.shinecommerce.co/badges-instruction/my-badges/custom-badge).&#x20;
3. **Badge Preview:** Preview the badge image displayed on the product.
4. **Badge Editor:** [**Customize badge**](https://guide-shine-trust.shinecommerce.co/badges-instruction/my-badges/custom-badge) display properties.
5. **Matching Product:** Show products that match the condition.

### Management Dashboard

![](https://3137359664-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1RAeIMFPQkdVfsP2GGGB%2Fuploads%2Fu6GtTCFiCaICdAsvhJl9%2Fautomation-item-d%C3%A1hboard.png?alt=media\&token=ad376d53-03a2-45a0-8f99-3995add2ec11)

When an automation is created, it will be shown parameters such as: Status, execution time, edit, execute now button, cancel button.&#x20;

**Status**: Displays the operating status of the automation. Can click to quickly change the status.&#x20;

**Edit**: Click the 'Edit' button to edit the automation properties.&#x20;

**Run**: Click to execute automation immediately.&#x20;

**Reset**: Cancel automation initialization.
