# Chatbot setup

**URL:** <https://community.hubspot.com/t/chatbot-setup/70288>\
**Category:** Tips, Tricks & Best Practices\
**Tags:** chat\
**Created:** [November 30, 2022, 4:32pm UTC](https://community.hubspot.com/t/chatbot-setup/70288 "2022-11-30T16:32:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JDijksman](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@JDijksman](https://community.hubspot.com/u/JDijksman)\
**Post date:** [November 30, 2022, 4:32pm UTC](https://community.hubspot.com/t/chatbot-setup/70288/1 "2022-11-30T16:32:59Z")

</div>

Hi

I am trying to create a chatbot for our website through Hubspot and I am a little stuck. I have two main issues at present.

1. Please could you someone explain how I can create an action that prompts a visitor to enter an order number, in order to progress to the next action in the flow?

2. Is it possible to have an if/then branch based on quick choices in the chat flow? When I create an if/then branch it wants me to set it up based on property values in Hubspot, but I am setting up the chat bot to provide yes/no options and have different branches based on whichever is chosen.

Thanks in advance.

Jonathan

---

<div class="post-metadata">

**Author:** ![TitiCuisset](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@TitiCuisset](https://community.hubspot.com/u/TitiCuisset)\
**Post date:** [December 1, 2022, 10:38am UTC](https://community.hubspot.com/t/chatbot-setup/70288/2 "2022-12-01T10:38:22Z")

</div>

Hi @JDijksman

Thank you for reaching out.

I want to tag some of our experts here - @ChrisoKlepke @jolle @Jnix284 do you have any advice for @JDijksman on this?

Thank you!

Best

Tiphaine

---

<div class="post-metadata">

**Author:** ![jnix284](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jnix284/32/29_2.png) [@jnix284](https://community.hubspot.com/u/jnix284)\
**Post date:** [December 16, 2022, 12:47am UTC](https://community.hubspot.com/t/chatbot-setup/70288/3 "2022-12-16T00:47:56Z")

</div>

Hi @JDijksman Happy to help work through your questions.

1. Is the order number a property you already have stored somewhere or are you trying to capture a new value in the CRM?

If you want to capture a new value, you could create a property for “chat order number” and prompt them to enter their order number using this [bot action for create contact property](https://knowledge.hubspot.com/conversations/a-guide-to-bot-actions#set-contact-property-value).

2. yes you can use if/then in the chatflow based on their responses, unless you are using Free/Starter tier. Here is the [documentation for if/then branches with the steps](https://knowledge.hubspot.com/conversations/use-if-then-branches-with-chatflows)

Thanks [@TitiCuisset](https://community.hubspot.com/t5/user/viewprofilepage/user-id/89150) 🙂
