Giter VIP home page Giter VIP logo

outbound-messaging-iac's Introduction

Setup

  1. Install Twilio CLI following these instructions
  2. Install the Infra Plugin for Twilio CLI
$ twilio plugins:install plugin-twilio-infra
  1. Download and Install the Pulumi CLI
  2. Login in to the Pulumi service. You can either use the Pulumi service backend (you need to sign up to a free account for that) or the local storage, using one of the commands below:
# Pulumi Service backend
$ pulumi login

# Local storage
$ pulumi login --local
  1. If you've never used the Twilio CLI with this project, create a new profile with
$ twilio login
  1. Login to the project using
$ twilio profile:use <profile name>
  1. Add the following environment variables:
  • CHAT_SERVICE_SID
  • FLEX_WORKSPACE_SID
  • SMS_TASK_CHANNEL_SID
  • EVERYONE_TASK_QUEUE_SID
  • TWILIO_PHONE_NUMBER
  • FLEX_PROXY_SERVICE_SID
  1. If you don't have an environment defined, use the following command
$ twilio infra:environment:new <environment name>
  1. Deploy the solution using:
$ TWILIO_AUTH_TOKEN=xxxxxx twilio infra:deploy
  1. In the Twilio Console Settings page for Flex make sure that the "Enable Dialpad" is Enabled

Usage

  1. In Flex click the dialpad button (next to the microhpne on the top right corner). At the bottom of the dialpad you will find the "Outbound SMS" section.
  2. Type the destination number and press on START
  3. A new Task / Reservation is generated: Click the accpet button to accept and start chatting

outbound-messaging-iac's People

Contributors

vernig avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.