Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 1.84 KB

File metadata and controls

35 lines (21 loc) · 1.84 KB

Node - Dequeue a Member Tutorial

This project serves as a guide to help you build an application with Persephony. Specifically, the project will:

  • Remove a call from a call queue and interact with the dequeue call

Setting up your new app within your Persephony account

To get started using a persephony account, follow the instructions here.

Setting up the Tutorial

  1. Install the node packages necessary using command:

    $ yarn install
  2. Configure environment variables (this tutorial uses the dotenv package).

    ENV VARIABLE DESCRIPTION
    ACCOUNT_ID Account ID which can be found under API Keys in Dashboard
    AUTH_TOKEN Authentication Token which can be found under API Keys in Dashboard
  3. Provide a value for the variables queueuId and callId. More about queues can be found here and more about calls can be found here

Runnning the Tutorial

  1. Run the application using command:

    $ node dequeueMember.js