Temperature entity

Daria Zaboj product content specialist
Daria Zabój
2 min read
updated: May 27, 2022

Use a chatbot to set up the temperature of your electronic devices. 

The system temperature entity allows your chatbot to validate the temperature provided by the user on chat. Later, you can save it as an attribute and pass it to external services. You can, for instance, set the temperature of milk in your coffee machine.

The system temperature entity validates temperatures provided in Fahrenheit (F) and Celsius (C).
The system temperature entity validates temperatures provided in Fahrenheit (F) and Celsius (C).
Type double curly brackets {{ to trigger the entity window and select the one you need.
Type double curly brackets {{ to trigger the entity window and select the one you need.

How to use the temperature entityLink icon

Let’s say you want to use a chatbot to set the air conditioner’s temperature in your office. The system temperature entity can help you validate, save, and send the temperature value to the external system that controls your air conditioner. 

  1. Open a Story you want to use to ask the user for the temperature. 

  2. Add a Question block in the place you want to ask for the temperature. This action allows you to ask multiple questions and validate the user’s reply.temperature entity

  3. Open the Question action you added. In the Question variant field, ask the user about the temperature. temperature entity

  4. Once the user provides the answer, you can validate their response. To do so, in the Validate response with entity, select Temperaturechatbot temperature entity

  5. After ChatBot validates the user response, it can save it as an attribute. For this Story, you can create a custom temperature attribute in the Save response to attribute field. temperature entity

  6. Now, decide what should happen if the user fails to provide any temperature format. chatbot temperature entity

  7. You can now use the collected attribute later in a Story; for instance, to confirm the new temperature settings with the user. To do so, add a Bot response after the Success block. temperature entity

  8. Open the Bot response and ask the user to confirm the changes.chatbot temperature entity

  9. Last but not least, test your Story to check if everything works as expected. chatbot temperature entity

  10. If your tests go well,  add more actions and interactions to your Story.

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our text| products