hubot-twilio-whatsapp

Twilio adapter for Hubot

Usage no npm install needed!

<script type="module">
  import hubotTwilioWhatsapp from 'https://cdn.skypack.dev/hubot-twilio-whatsapp';
</script>

README

hubot-twilio-whatsapp

A Hubot Adapter for Twilio Whastapp messages.

Based on Hubot Twilio Adapter

Seting up

  1. Create a Twilio account at http://www.twilio.com

  2. Setup Whats Sandbox for Twilio: https://www.twilio.com/console/sms/whatsapp/learn

  3. Add twilio-whatsapp adapter to your Hubot

npm install --save hubot-twilio-whatsapp
  1. Set Twilio account ID, token and phone number in env vars.
export HUBOT_SMS_FROM=<your twilio phone number>
export HUBOT_SMS_SID=<your twilio account id>
export HUBOT_SMS_TOKEN=<your twilio token>
  1. Start Hubot with adapter
./bin/hubot -a twilio-whatsapp