DEV Community

Nahu
Nahu

Posted on

Dev.to/Twilio Hackathon: Rocket Launch bot (Part TWO)

Oh well, this was kind of a wild ride I guess.

Using Twilio bots

Twilio has a great feature called Autopilot, where you can create bots trainable AI bots that parse the messages based on the user and groups it by intent (works similarly to Dialogflow).

In theory you could build fully fledged out bots by using features provided by Twilio, Functions and Autopilot. But as I wanted to implement my Java wrapper we'll be using only one of the two.

Collecting intent to respond with desired information

For parsing what "type" of request the user intends we are using field types and making samples to our collect task to train it.

type

After collecting what type of request the user wants to make, we just use a web-hook to our Java application.

Ending

With these, we can have our project set up with only a couple of tasks and only one field type.

tasks

Links

Top comments (0)