DEV Community

Nahu
Nahu

Posted on

1 1

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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay