# Automation

![](/files/jmDE1lDJmtFKOTUo0Okd)

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](/files/XKp08crZnkrYiFwnOYYp)

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

### Management Dashboard

![](/files/vfVDRkf1VlFhYywvwMiR)

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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide-shine-trust.shinecommerce.co/badges-instruction/automation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
