This Flex plugin adds a timeout to automatically complete tasks in wrapup status.
-
Clone this repository
-
Copy .env.example to .env and populate the appropriate environment variables.
-
cd into ./serverless/ then run
npm install
and thentwilio serverless:deploy
(optionally you can run locally withtwilio serverless:start --ngrok=""
-
Copy
public/appConfig.example.js
topublic/appConfig.js
-
Run
npm install
-
cd back to the root folder and run
npm start
to run locally ornpm run-script build
and deploy the generated ./build/plugin-dialpad.js to twilio assests to include plugin with hosted Flex. Also, you want to use Twilio Serverless, just runnpm run deploy
to send your plugin directly to your Flex.