> 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/relate/automation-flows/common-questions/automation-flows-advanced-comparisons-with-tokens-in-the-condition-the-field-value-is.md).

# Automation Flows: Advanced Comparisons with Tokens in the condition "The field value is"

#### With SprintHub, you can compare Lead fields, enabling strategies such as A/B testing, sales performance analysis, and other possibilities.

{% hint style="info" %}
**This condition is also in the 360° Customer Service and CRM Automations and in the Chatbot.**
{% endhint %}

{% hint style="danger" %}
**This function is not available for use in filters (segments and leads).**
{% endhint %}

To create and run your flow, follow these steps:&#x20;

1. **Create the Automation Flow:**

* Go to Automation Flows via “Find Services”. Or just type the name, and the feature appears.
* To create, click “+ New”.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcMkp7rXVzFGWPIPnLq7-sekZiXGr2-V_0Z8wVzaiYmGIs81f_J3nF0NO8ZWrKtdAth3JtE-jG7xqx-wF71_RS5-l1GIrtLtSDUKKua67Ec_awxPhc3PID7jhDzGcLvjO5Uc8g7EA?key=fYnbMWqvLSQffPSzk9gpKLMz" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcqJ2d7FMmQM0_9qQSPInCEvsnO_-lGcEOzKLY0zBcv0vToSVeLU7ivwmS8djrqUxd51km9DFXwe0QLMHOIIPNFfddCQULPnGwrIOo5jW9P465cMfeFXlZhwa4gx45SWds0W4zgUA?key=fYnbMWqvLSQffPSzk9gpKLMz" alt=""><figcaption></figcaption></figure>

2. **Configure and Create:**

* **Enter a Name:** Give your flow a descriptive name.
* **Enter a description:** detail of what will happen in the flow.
* **Set up a Segment:** Choose one you prefer.
* **Category:** Choose one you prefer. This is optional
* **Allow leads to restart the flow?:** It depends on your strategy.
* If left as “YES”, it will go through the flow more than once.
* **Click “Open Builder”**, to create the flow with your actions and conditions.\ <br>

  <figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXenVpKGYEVNrkOvsy5F-uxABdTJNElydJYAs3OECCCsuU-Imx1UGJ1uO98lWa8_pHmsX0OSyIa7q-yM4KQwdpIbn3zCb5Odm041IjqTTz0bF162aJHt-RNiBu4KbqRQFyE-siVnaQ?key=fYnbMWqvLSQffPSzk9gpKLMz" alt=""><figcaption></figcaption></figure>

3. **Building the Flow:**

{% embed url="<https://youtu.be/g5ToTcAzbs8>" %}

4. **Saving the Automation Flow:**

After creating and making the necessary changes, save your Flow and publish it.

* **Published:** When selecting "YES", the flow will start working immediately.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXcPjLvcjKb26NTDSlAv5fYxbvPlbdPZCwAlqrVFdoNfK5zAI9Yw2LPPn_ESyuKopV0pedtKszIYjucKzNfkjHEesiFUc0uPufobxU5LtBqx_NZxaSl5b-kbgeiGq_da5Jmwgoiy?key=fYnbMWqvLSQffPSzk9gpKLMz" alt=""><figcaption></figcaption></figure>

Next, you will be able to view the statistics and the Leads that went through the flow.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeUz2Qg6-7vCSuDOCLXoCyNCCrodEh__CLS9L8PS9bjcWEMqPqkbHnOb5pz_-AOcrcgGezowI3ClC4hNoZMIuNlcnvPCkcefWoWI__BFdFHUgjcFnOKThup_rLKbCMlVtBo9pSQDg?key=fYnbMWqvLSQffPSzk9gpKLMz" alt=""><figcaption></figcaption></figure>

The Lead history displays all changes.

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXeI8NNlIVQvh_SgE2uhdhQ9LCNzXGWD5_fUnc2oBQX3h5wGRzQsczXDxWeRF7Xqo9dO3RCWx5hE0TGFYB87nDneD14StSJibnVYBrsSNBB7uW8RVDxKVcAZE496x_4f5L0JXr3mmQ?key=fYnbMWqvLSQffPSzk9gpKLMz" alt=""><figcaption></figcaption></figure>

**CONCLUSION:**&#x20;

Using this function significantly expands the possibilities for personalization and intelligence in automation flows, allowing dynamic comparisons between Lead fields. Although it is not available for filters, its strategic application in automations can generate valuable insights, optimize A/B testing, and improve sales performance.


---

# 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/relate/automation-flows/common-questions/automation-flows-advanced-comparisons-with-tokens-in-the-condition-the-field-value-is.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.
