vernig / twilio-flex-plugin-whatsapp-attachment

Plugin and Serverless to handle WhatsApp attachments in Twilio Flex

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flex plugin and Serverless for WhatsApp attachment

image

This repo contains a Flex plugin and the Twilio serverless function needed to receive WhatsApp attachments in Flex.

Set-up

Pre-requisites

Provision Serverless

  • cd into serverless folder
  • Copy env.template into a new .env file
  • In the .env file fill in Twilio Account SID and Auth Token
  • Install dependencies
npm install
  • Provision your Flex istance using
node provision.js

Flex plugin

  • cd into plugin-whatsapp-attachment
  • Install dependencies
npm install
  • Run locally
twilio flex:plugins:start
  • Deploy
twilio flex:plugins:deploy

About

Plugin and Serverless to handle WhatsApp attachments in Twilio Flex


Languages

Language:JavaScript 100.0%