In this tutorial, you will use the express web application framework to create the server and define the routes for your webhook endpoints.
You will access the JSON bodies of the requests that the Vonage API platform makes to your webhooks, so you'll need the
body-parser package too.
Create a directory called
phone-ivr for your application and change into it:
mkdir phone-ivr cd phone-ivr
npm init to create a node application in the
phone-ivr directory and accept all the defaults.
npm install express body-parser
Build a Call MenuCreate an interactive voice response (IVR) menu to handle customer calls