Giter VIP home page Giter VIP logo

twilio-airtable-survery's Introduction

Dynamic SMS/Voice Survey using Airtable

This repo shows how to create a multilingual voice and SMS survey with questions and answers stored in an airtable base.

Pre-Requisite

  • A Twilio account
  • An airtable account with one base containing:
    • One table for questions. This table needs to have two columns:
      • Question Text (single line of text): the actual question
      • Language (single line of text): language code using one of the following language tags. This is used to generate the Text-To-Speech in the correct language and to apply the correct language for Speech-To-Text. This is not used for SMS Survey

image

  • One (empty) table for answers. This table should have thre columns (self explanatory):
    • Number (single line of text)
    • Question (single line of text)
    • Answer (single line of text)

image

Set-up

  • Clone the repo
  • Install dependencies
npm install
  • Run the provision script
node provision
  • At the end of the process you should have two new Studio Flows created:
    • Airtable SMS Survey
    • Airtable Voice Survey
  • In your Twilio console, set the two flows for When a call coms in and When a message comes in for the number you want to run the surveys from
  • Fill-up some questions in the table for questions. The last row on this table is the final greetings, e.g.

image

To test them, trigger the Studio Flow providing from abd to number. More instructions on how to trigger a flow can be found here

twilio-airtable-survery's People

Contributors

vernig avatar

Stargazers

 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.