Skip to content

twilio-professional-services/plugin-auto-answer-call

Repository files navigation

Twilio

Twilio Flex Plugin - Auto answer task

Twilio Flex Plugins allow you to customize the appearance and behavior of Twilio Flex. If you want to learn more about the capabilities and how to use the API, check out our Flex documentation.

This plugin will automatically accept the incoming task and will alert the agent by playing a notification sound.

Sample demo is provided below :

Any incoming task will be accepted as shown below : Plugin Demo

Customize The Alert Sound

You can customize the sound played to the agent when a call connects through the use of the .env file. See the .env.sample file for instructions and an example alert sound.

Requirements

To deploy this plugin, you will need:

  • An active Twilio account with Flex provisioned. Refer to the Flex Quickstart to create one.
  • npm version 5.0.0 or later installed (type npm -v in your terminal to check)
  • Node.js long term support(LTS) version(type node -v in your terminal to check)

Setup

Make sure you have Node.js as well as npm installed.

  1. Clone this repo:
https://github.com/twilio-professional-services/plugin-auto-answer-call.git
  1. Go to the plugin directory
cd plugin-auto-answer-call
  1. Install the dependencies
npm install
  1. Run plugin on a local environment using Twilio CLI :
twilio flex:plugins:start
  1. Deploy your plugin to your Flex project using Twilio CLI:
twilio flex:plugins:deploy --major --changelog "Notes for this version" --description "Functionality of the plugin"

More detailed information about deploying Flex plugins can be found here: https://www.twilio.com/docs/flex/developer/plugins/cli/deploy-and-release

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published