This article describes how to create a chatbot.
1. Creating a Chatflow
Log in to the LITTLE HELP CONNECT administration page and select "Chatflow" from the "Conversations" menu.
![1-Aug-28-2022-12-44-06-88-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/1-Aug-28-2022-12-44-06-88-PM.png?width=688&name=1-Aug-28-2022-12-44-06-88-PM.png)
Create a new chatflow by clicking the "Create chatflow" button in the upper right corner. Specify the account created in Step.1 for the "Connection accounts.
![2-Aug-28-2022-12-44-20-00-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/2-Aug-28-2022-12-44-20-00-PM.png?width=688&name=2-Aug-28-2022-12-44-20-00-PM.png)
2. Trigger settings
Drag and drop the "Receive message" trigger from the "Choose a trigger" menu on the left side of the page onto the center canvas.
![3-Aug-28-2022-12-44-33-71-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/3-Aug-28-2022-12-44-33-71-PM.png?width=688&name=3-Aug-28-2022-12-44-33-71-PM.png)
Set the trigger to "Equal to Message: Test" and save.
![4-Aug-28-2022-12-44-47-89-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/4-Aug-28-2022-12-44-47-89-PM.png?width=688&name=4-Aug-28-2022-12-44-47-89-PM.png)
3. Action settings
Drag and drop the "Send message" trigger from the "Choose an action" menu on the left side of the page onto the center canvas.
![5-Aug-28-2022-12-45-06-42-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/5-Aug-28-2022-12-45-06-42-PM.png?width=688&name=5-Aug-28-2022-12-45-06-42-PM.png)
Connect the "Receive message" trigger with the "Send message" action.
![6-Aug-28-2022-12-45-21-58-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/6-Aug-28-2022-12-45-21-58-PM.png?width=688&name=6-Aug-28-2022-12-45-21-58-PM.png)
In the action, set "Message 1: Hello!" and save it.
![7-Aug-28-2022-12-45-35-25-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/7-Aug-28-2022-12-45-35-25-PM.png?width=688&name=7-Aug-28-2022-12-45-35-25-PM.png)
Finally, activate the chatflow by pressing the toggle button in the upper right corner.
![8-Aug-28-2022-12-45-47-77-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/8-Aug-28-2022-12-45-47-77-PM.png?width=688&name=8-Aug-28-2022-12-45-47-77-PM.png)
Send a message to the LINE Official Account saying "Test" and if it replies "Hello!" the setup is successful.
![IMG_2602](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/IMG_2602.png?width=226&name=IMG_2602.png)
4. Question action settings
Add an "Ask question" action from the "Choose an action" menu and connect it after the "Send message" action.
![9-Aug-28-2022-12-46-30-47-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/9-Aug-28-2022-12-46-30-47-PM.png?width=688&name=9-Aug-28-2022-12-46-30-47-PM.png)
In the action "Question message: Tell me! " set "Buying Role" as the Update property and save it. You can change the button's color to your preferred color by specifying the color of your choice.
![10-Aug-28-2022-12-46-47-79-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/10-Aug-28-2022-12-46-47-79-PM.png?width=688&height=378&name=10-Aug-28-2022-12-46-47-79-PM.png)
Send a message "Test" to the official LINE account. Tap any button from the choices returned in the response.
![IMG_2603](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/IMG_2603.png?width=220&name=IMG_2603.png)
Open the HubSpot LINE contact and if the property "Buying Roles" is set to the value you selected, you have succeeded.
![11-Aug-28-2022-12-47-13-86-PM](https://knowledge.littlehelp.co.jp/hs-fs/hubfs/11-Aug-28-2022-12-47-13-86-PM.png?width=688&name=11-Aug-28-2022-12-47-13-86-PM.png)
Step.3 Segment Messaging