Skip to content

bruno222/flex-viber-textit-integration

Repository files navigation

viber-demo

What is it:

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.

How to install:

Twilio side:

  1. npm install
  2. mv .env-example .env - and change the env variables there. Ignore the "FULL_URL_STEP3_FLEX_TO_TEXTIT" variable for now.
  3. npm run deploy
  4. Go to Console > Functions and find the service you just deployed. Copy the full URL of /step3-flex-to-textit and now put it on "FULL_URL_STEP3_FLEX_TO_TEXTIT" that yo had ignored before.
  5. npm deploy again just to update FULL_URL_STEP3_FLEX_TO_TEXTIT

Textit side:

  1. Go to Textit Flow and import the file textit-flow-example.json there.
  2. Change the both Webhooks to have your URLs you just deployed on Twilio.
  3. Open Viber and send the message "bruno" and then "agent" to be forwarded to an agent.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published