> 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/contacts/leads-common-questions/contacts-token-tester.md).

# Contacts - Token Tester

The **Token Tester** is a tool available within the **Contact** that allows you to validate how the variables (conversion tokens) work before using them in messages, emails, documents, and automations.

The tool replaces the tokens with the actual values registered in the system, allowing you to see exactly how the content will be presented to the recipient.

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

***

### Accessing the Token Tester

To use the tool:

1. Access the record of a **Contact**.
2. Open the option **Token Tester**.
3. Select the entity you want to use as a reference for the test.
4. Enter the text containing the conversion tokens.
5. Click on **Test**.

The system will display the result with all variables replaced by their respective values.

### Available entities

In addition to the information from the own **Contact**, it is possible to link the test to the following entities:

* Contact
* Invoice
* Proposal
* Recurring
* Installment Plan
* Tax Invoice
* Opportunity

When selecting one of these entities, the corresponding tokens will be filled with the information from the record linked to the contact.

***

### Example

#### Entered text

```
Hello {contactfield=firstname}!

Your proposal no. {proposal=id} was approved.

The invoice amount is R$ 1,250.00.

Thank you for contacting us!
```

#### Result

```
Hello João Silva!

Your proposal no. 10235 was approved.

The invoice amount is R$ 1,250.00.

Thank you for contacting us!
```

***

### When to use

The Token Tester is recommended for validating content before using it in:

* WhatsApp messages;
* Emails;
* Documents;
* Automation flows;
* Campaigns;
* Automatic notifications.

This way, it is possible to identify possible inconsistencies before the communication is sent to the client.

***

### Best practices

* Check whether the tokens used belong to the selected entity.
* Make sure the contact has linked records (such as Proposals, Invoices, or Opportunities), so the values can be returned correctly.
* If any variable remains blank, check whether the information is registered in the corresponding record.
* Always run a test before publishing messages, templates, or automations.

***

### Conclusion

The **Token Tester** makes it easier to validate conversion variables, allowing you to view the final result before sending communications. With support for the entities **Contact, Invoice, Proposal, Recurring, Installment Plan, Tax Invoice** and **Opportunity**, the tool helps create more accurate, personalized, and error-free messages.
