Call to Whatsapp message

Overview of My Submission

Some times we can not answer calls and can’t respond to them on call for some time, so instead of rejecting their call and telling them to text, we get thier messege and convert it to text and whatsapp it to our own…


This content originally appeared on DEV Community and was authored by abhigoyani

Overview of My Submission

Some times we can not answer calls and can't respond to them on call for some time, so instead of rejecting their call and telling them to text, we get thier messege and convert it to text and whatsapp it to our own number.

Submission Category:

Wacky Wildcards

Link to Code on GitHub

GitHub logo abhigoyani / callToWhatsapp

Uses deepgram to convert incoming calls into text and send it to the whatsapp.

callToWhatsapp

Overview of My Submission

Some times we can not answer calls and can't respond to them on call for some time, so instead of rejecting their call and telling them to text, we get thier messege and convert it to text and whatsapp it to our own number.

Prerequisites

  • python
  • DeepGram API key
  • Twilio Python Helper Library
  • Twilio WhatsApp sandbox
  • Subscribed to twilio whatsapp sandbox from your number

Installation

Export Following environment variables

  • RECORD_STS_WEBHOOK
  • TWILIO_ACCOUNT_SID
  • RECORD_STS_WEBHOOK (webhook URL for recording status updates)
  • DEEPGRAM_API_KEY
  • TWILIO_WHATSAPP_NO
  • PERSONAL_WHATSAPP_NO

Now run the flask app which is main.py

Now whenever someone calls your Twilio number Twilio will record the call and once the call ends our flask application will receive a webhook call. Once our application receives a webhook called DeepGram will take the recording and returns the Text of that recording which will be sent to our number via WhatsApp.

Whatsapp msg




Prerequisites

  • python
  • DeepGram API key
  • Twilio Python Helper Library
  • Twilio WhatsApp sandbox
  • Subscribed to twilio whatsapp sandbox from your number

Installation

Export Following environment variables

  • RECORD_STS_WEBHOOK
  • TWILIO_ACCOUNT_SID
  • RECORD_STS_WEBHOOK (webhook URL for recording status updates)
  • DEEPGRAM_API_KEY
  • TWILIO_WHATSAPP_NO
  • PERSONAL_WHATSAPP_NO

Now run the flask app which is main.py

Now whenever someone calls your Twilio number Twilio will record the call and once the call ends our flask application will receive a webhook call.
Once our application receives a webhook called DeepGram will take the recording and returns the Text of that recording which will be sent to our number via WhatsApp.

Whatsapp msg


This content originally appeared on DEV Community and was authored by abhigoyani


Print Share Comment Cite Upload Translate Updates
APA

abhigoyani | Sciencx (2022-04-11T09:27:36+00:00) Call to Whatsapp message. Retrieved from https://www.scien.cx/2022/04/11/call-to-whatsapp-message/

MLA
" » Call to Whatsapp message." abhigoyani | Sciencx - Monday April 11, 2022, https://www.scien.cx/2022/04/11/call-to-whatsapp-message/
HARVARD
abhigoyani | Sciencx Monday April 11, 2022 » Call to Whatsapp message., viewed ,<https://www.scien.cx/2022/04/11/call-to-whatsapp-message/>
VANCOUVER
abhigoyani | Sciencx - » Call to Whatsapp message. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/04/11/call-to-whatsapp-message/
CHICAGO
" » Call to Whatsapp message." abhigoyani | Sciencx - Accessed . https://www.scien.cx/2022/04/11/call-to-whatsapp-message/
IEEE
" » Call to Whatsapp message." abhigoyani | Sciencx [Online]. Available: https://www.scien.cx/2022/04/11/call-to-whatsapp-message/. [Accessed: ]
rf:citation
» Call to Whatsapp message | abhigoyani | Sciencx | https://www.scien.cx/2022/04/11/call-to-whatsapp-message/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.