> 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-lead-tag-verification-with-invert-condition.md).

# SAC 360º Automation - Lead Tag Verification with 'Invert Condition'

How to check whether the lead does not have a specific tag with the "Invert Condition" option; this approach can also be applied to CRM automations, Automation Flow conditions, and Chatbot.

## Creating 360° customer service automation

The main objective is to run only for leads that do not have the tag '*💱 Active Customer*', that is, for customers who are not yet active.

To illustrate how to perform this check, an automation was created with the following structure:

* Trigger: "The lead sends a message containing 'coupon'";
* Condition: "Does the lead have a tag? Yes, but including '*💱 Active Customer*'" with the "Invert Condition" option enabled;
* Action: "Change automation flows", or any other desired action.

By inverting the condition, we can read it as follows, negating its logical value (true or false): "\[It is not the case that] Does the lead have a tag? Yes, but including '*💱 Active Customer*'"; therefore, it is the case that the lead cannot have this specific tag to pass the condition.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F3qZHcRPYOrikKsoDR21g%2Fgitbook.png?alt=media&amp;token=b9c06bb0-5d87-4c2a-b074-ad4a1fc2632c" 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-lead-tag-verification-with-invert-condition.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.
