Qualify leads using custom callouts, AMD, and IVR using the Java SDK

This tutorial will walk you through how to create your own lead qualification app using the Sinch Java SDK. You will learn how to use Sinch's Answering Machine Detection service to screen out answering machines and how to set up a simple Interactive Voice Response system to connect interested callees to a sales rep.

Prerequesites:

To successfully complete this tutorial, there're a few things you need already installed:

  • A Sinch account.
  • A Voice app with your Sinch phone number assigned to it.
  • JDK 21 or later and a familiarity with how to create a new Java application.
  • Apache Maven and a familiarity with how to use the Maven CLI.
  • ngrok. You'll use ngrok to open a tunnel to your local server.
  • Since you're testing an IVR and answering a phone call, have a phone handy.

The tutorial is broken out into sections so we can spend a bit more time examining each part in more detail. We recommend following along from the beginning, but if you want you can skip to the section you want:

  1. Clone the repo and set up the application
  2. Custom callouts and Answering Machine Detection
  3. Interactive Voice Response, or IVR
  4. Test the application

So let's get started!

We'd love to hear from you!
Rate this content:
Still have a question?
 
Ask the community.