Building Facebook Chatbot in 10 minutes WITHOUT Coding! [Part.1.1]

Lam Vicky
3 min readMar 15, 2018

--

Click here for Part.1 to start building your chatbot!

In the last part, we have done check current weather function. Today, we will finish the weather bot by completing the remain services. Try to do your self follow the instruction in Part.1 and check your answer here!!

  1. Get weather by date and location.
  • Open a new service and name it as below.
  • Input API URL and edit Request Body, Save the variable as weatherResult.
  • Add a new bot response and name it as below.
  • Edit the bot response and save.
  • Add connection to the service. Go to Connection of EXTRACT_DISTRICT and add one more connection like below.

Then you will have the flow like this.

2. Get weather by date.

  • Open a new service and name it as below.
  • Input API URL and edit Request Body, Save the variable as weatherResult.
  • Add a new bot response and name it as below.
  • Edit the bot response and save.
  • Add connection to the service. Go to Connection of EXTRACT_DISTRICT and add one more connection like below.

Then you will have the flow like this.

3. Get weather by location.

  • Open a new service and name it as below.
  • Input API URL and edit Request Body, Save the variable as weatherResult.
  • Add a new bot response and name it as below.
  • Edit the bot response and save.
  • Add connection to the service. Go to Connection of EXTRACT_DISTRICT and add one more connection like below.

Then you will have the flow like this.

You have done good job! Let’s enter last stage to integrate your weather bot to Facebook Messenger!

Check out Part.2 for integration.

--

--