> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/general/sac-360/sac-360o-automations/sac-360o-automation-tag-leads-when-closing-a-service.md).

# SAC 360º Automation – Tag Leads when Closing a Service

## Configuring the automation

The purpose of this automation is to automatically apply a tag to the lead as soon as it reaches the status *"Resolved"*, that is, when the support interaction is completed — whether by automation or manually. This makes it possible, in the future, to easily identify which leads have already gone through a support interaction.

**Important:** this automation **does not** is retroactive, that is, it will not be applied to support interactions that have already been archived.

In addition, the automation does not have a specific trigger. It is executed automatically as soon as the support interaction reaches the status defined in *"Limit to the status"*, in this case, *"Completed"*.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FiMoKYPOH79vTZwjKPzmk%2F1.png?alt=media&amp;token=95a8d340-e16f-4747-8dad-a91a675c1844" alt=""><figcaption></figcaption></figure>

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2Faueo9StdEgXoYmy3dWyR%2F2.png?alt=media&amp;token=ae0965f7-fa06-4c94-b6db-a92bb39610da" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.sprinthub.com/en/topics/general/sac-360/sac-360o-automations/sac-360o-automation-tag-leads-when-closing-a-service.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
