# 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, among other possibilities.

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

{% hint style="danger" %}
**This feature 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 through “Find Services”. Or just type the name, and the function 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 a descriptive name for your flow.
* **Enter a description:** detail of what will happen in the flow.
* **Configure a Segment:** Choose one of your preference.
* **Category:** Choose one of your preference. This is optional
* **Allow leads to restart the flow?:** It depends on your strategy.
* If set to “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. **Save the Automation Flow:**

After making the necessary creations and changes. Save your Flow and publish.

* **Published:** By 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;

The use of this feature 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 tests and improve sales performance.


---

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