This plugin allows your agent to quickly send commonly-used text snippets to customer's messages. This plugin also lets them set a predefined message, the moment they get paired to chat with a customer.
To get started you will need the following:
This can be done in either steps 2A or 2B.
Configure your local environment to use Flex plugins by using the Flex Plugins CLI
twilio plugins:install @twilio-labs/plugin-flex@beta
twilio flex:plugins:create plugin-agent-autoresponse --template https://github.com/twilio-labs/plugin-agent-autoresponse
OR
Clone the code from GitHub
Install the dependencies of the plugin. Read more.
npm install
Run and test the plugin locally by spinning up a local web-server.
twilio flex:plugins:start
Log into your Flex account via the Twilio CLI
twilio login
Visit general usage to learn more about using multiple Flex accounts.
Deploy and enable your plugin for your Flex application
twilio flex:plugins:deploy --major \
--changelog "Adding plugin-agent-notes via Code Exchange" \
--description "Deploying plugin-agent-notes via Code Exchange"
twilio flex:plugins:deploy --major \
--changelog "Adding plugin-agent-notes via Code Exchange" \
--description "Deploying plugin-agent-notes via Code Exchange"