# Create Automation

For example when you will display lead automation to set the label, set owner, and set lead status, then you must configure the **trigger, filter,** and **action** as follows:

![Configure Automation](/files/KbPKwsLELOmz221ySpDT)

In the example case above, when the **Sales and Sales Manager** from **Any Group** is unarchived lead with status 'Cold Lead', the lead will have a label ‘Hot Lead’ status on the active lead list page, as shown images below.

![Automation Running](/files/6QmrtpoiWpMluL0hcpIb)

If you want to create automation for archived leads, for example, you can configure the **trigger, filter,** and **action** as follows:

![Automation for Archived Lead](/files/NcTAwAigmSQdxbx4FLi3)

So when **Sales** from **Any Group** is archiving the lead with label 'Cold Lead', the label of the lead will become 'Warm Lead' with the owner is 'Afianti Rosa' and the lead status is 'Archived' as shown in the image below.

![Automation for Archived Lead Running](/files/rBrHsBGtoH8pt5kY7SY1)


---

# 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://docs.3dolphins.ai/sales-activity/lead/lead-automation/create-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.
