DEV Community

Cover image for Twilio Challenge: Language Translator via Twilio Functions, WhatsApp, Appwrite & OpenAI

Twilio Challenge: Language Translator via Twilio Functions, WhatsApp, Appwrite & OpenAI

Aditya Oberai on June 16, 2024

This is a submission for Twilio Challenge v24.06.12 What I Built As an avid translator who often faces challenges with different langua...
Collapse
 
sojinsamuel profile image
Sojin Samuel • Edited

Wonderful contribution adi :)

Collapse
 
adityaoberai profile image
Aditya Oberai

Thank you!

Collapse
 
sojinsamuel profile image
Sojin Samuel • Edited

You're welcome, you might like my extended version of this same whatsapp chatbot:
How to create a whatsapp chatbot with custom knowledge base (with twilio, supabase)

Thread Thread
 
adityaoberai profile image
Aditya Oberai

I did extend the application to save and check state using Appwrite

Collapse
 
chintanonweb profile image
chintanonweb

I don't have idea for two way communication in twilio whatsapp and how to confuigure function for response can you please guide me!

Thread Thread
 
sojinsamuel profile image
Sojin Samuel

Are you planning to use twilio functions instead of tunneling via ngrok?

aditya has already given the open source example for a serverless function you can easily migrate it. but if you face any difficulties feel free to reach out.

Make sure to read about:
Twilio functions (Implement very basic ones first), Twilio code exchange has starter examples.
How to use the sandbox environment, and implement webhooks for a 2 way conversation have already listed on my article.

Can't wait to see what you come up with and best of luck with @twilio1 challenge.

Thread Thread
 
adityaoberai profile image
Aditya Oberai

I'll probably also write a blog on how I built my function but not until a little while later.

@chintanonweb Twilio also has their help chatbot here: help.twilio.com/

Collapse
 
devarshishimpi profile image
Devarshi Shimpi

Well made!

Collapse
 
adityaoberai profile image
Aditya Oberai

Thank you!

Collapse
 
neurabot profile image
Neurabot

Innovative and exciting.

Collapse
 
adityaoberai profile image
Aditya Oberai

Thank you!

Collapse
 
tonic profile image
Tonic

i came for the source code and i wasnt disappointed. thank you !

Collapse
 
adityaoberai profile image
Aditya Oberai

NGL, it's a bit janky at the moment (need to add proper error handling and all 😆)

But I will be improving it going further and writing some content on how to build this sort of a tool 😌