# Describe a RefillFlow routing rule in plain English

Type a replenishment rule in plain English, answer the AI's question about missing details, inspect the complete proposed rule and save it deliberately as a draft.

Source: https://help.smartfact.ai/automation/guides/refillflow-assistance

Audience: Author

Type a replenishment rule in plain English, answer the AI's question about missing details, inspect the complete proposed rule and save it deliberately as a draft.

## Plain English to a checked draft

1. **Load the current RefillFlow draft**

   Load the current RefillFlow draft

   Load the draft replenishment policy from RefillFlow. It routes refills to Main Stores by default and already holds a supervisor alert schedule.

2. **Choose Add routing rule**

   Choose Add routing rule

   Choose Add routing rule. The new rule will sit in front of the default route.

3. **Load the routing rule controls**

   Load the routing rule controls

   Load the controls for a new routing rule. This reads RefillFlow and does not save anything.

4. **Choose Prepare complete routing rule**

   Choose Prepare complete routing rule

   Choose the complete routing rule, so the proposal covers both when the rule applies and where the refill goes.

5. **Type the requirement in plain English**

   Type the requirement in plain English

   Type the requirement as the team wrote it: packaging for LINE-2 goes to Packing Stores, due in 60 working minutes, with a supervisor alert after 30 working minutes unaccepted.

6. **Ask for a proposal**

   Ask for a proposal

   Ask for a proposal. The AI replies with a question instead of guessing: a new rule needs a name, a precedence, a priority and an urgency approval setting.

7. **Add the details the AI asked for**

   Add the details the AI asked for

   Keep the requirement and add the missing details: call the rule Line 2 packaging, give it precedence 10 and routine priority, and do not require separate supervisor approval for urgent requests.

8. **Ask for the complete proposal**

   Ask for the complete proposal

   Ask again. The AI now returns a complete routing rule. Nothing is saved until you choose to save it.

9. **Read the restatement of the rule**

   Read the restatement of the rule

   Read the restatement. It says in plain words when the rule applies and what it will save: packaging for LINE-2 goes to Packing Stores, routine priority, due after 60 working minutes, with the supervisor alert after 30 working minutes.

10. **Inspect the proposed condition**

   Inspect the proposed condition

   Inspect the condition in the same controls RefillFlow uses: the item family is packaging and the receiving location is LINE-2.

11. **Check what will be saved**

   Check what will be saved

   Read what the rule will save, field by field. Every value has its name, and Packing Stores and the supervisor alert schedule are shown by name, not by code.

12. **Check the rule name and precedence**

   Check the rule name and precedence

   Check the rule is called Line 2 packaging with precedence 10.

13. **Check the queue, due time and alert**

   Check Packing Stores, 60 working minutes and the supervisor alert

   Check the outcome: Packing Stores, routine priority, due after 60 working minutes, no separate urgency approval, and the supervisor alert after 30 working minutes.

14. **Confirm you checked the whole proposal**

   Confirm you checked the whole proposal

   Confirm that you checked the condition and every value. RefillFlow still validates the whole policy when it saves.

15. **Save the proposal as a draft**

   Save the proposal as a draft

   Save the proposal as a draft. Saving does not approve, release or run the rule: expected results, proof and an independent review come next.

[Watch or practise this chapter](https://help.smartfact.ai/automation/demo?guide=refillflow-assistance&chapter=assisted-rule&audience=office)

Only a draft was saved. Expected results, the native proof and an independent review come next.
