This repo is an integration between Textit and Twilio Flex, to allow customers to send messages via the digital channels Textit supports - like Viber for example - directly to an Agent using Flex.
This repo can also be used as an inspiration to be adapted to any other integration involving a custom digital channel and Twilio Flex.
We are using the newest Flex Conversations on this repo, not the legacy Programmable Chat.
npm installmv .env-example .env- and change the env variables there. Ignore the "FULL_URL_STEP3_FLEX_TO_TEXTIT" variable for now.npm run deploy- Go to Console > Functions and find the service you just deployed. Copy the full URL of
/step3-flex-to-textitand now put it on "FULL_URL_STEP3_FLEX_TO_TEXTIT" that yo had ignored before. npm deployagain just to updateFULL_URL_STEP3_FLEX_TO_TEXTIT
- Go to Textit Flow and import the file textit-flow-example.json there.
- Change the both Webhooks to have your URLs you just deployed on Twilio.
- Open Viber and send the message "bruno" and then "agent" to be forwarded to an agent.
