# SAC 360° Automation - Action when resolving a case

***

## Initial settings

For this example, an automation called "**Finished without Trigger**" was created. The purpose is to segment Leads that have already been finished, with the intent of using this information in filters or other automations. For this, there will be no Triggers, but Conditions can be used if applicable.

<figure><img src="/files/9de91bf432213fb1f08ba2fdf1dd65fa4b7fe146" alt=""><figcaption><p>Adding title to the automation.</p></figcaption></figure>

## Configuring action and status limitation

In Actions was added *'Modify Lead segments'*, edited to add the Lead to an instance segment — To learn how to create a segment, [*click here*](/en/topics/relate/segments.md).

In Limit to channels, you can include only '*Completed*' in Limit to statuses; this way, the automation will occur only for finished attendances.

Click '*Save Automation*' and it'll be ready!

<figure><img src="/files/e1fb935b73a9f2de5f04edc1f029b71b9ddcefbf" alt=""><figcaption><p>Adding to the segment and limiting to the status '<em>Completed</em>'.</p></figcaption></figure>


---

# 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.sprinthub.com/en/topics/general/sac-360/sac-360o-automations/sac-360-automation-action-when-resolving-a-ticket.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.
