Skip to main content

Event - API - Incoming Call

Overview

API - Incoming Call:

  • This trigger receives an incoming call request from Open API and starts a flow.
  • It can only be triggered when receiving input data*(TXN UUID and Flow UUID)* from Open API.
  • Compatible with Project - Voice.

Example

Requirement

  1. When there is an incoming call to the developer's purchased number: +65xxxx, a notification (including call details) will be sent to the developer's Webhook endpoint.
  2. After receiving the notification, the developer will use their logic to check if the caller's number is in the VIP List or not. Then, they will call Handle Incoming Calls - Open API to connect the caller to the appropriate destinations.

Configuration

In order to create a flow that can fulfill this request, follow the steps below:

Flow 1:

  1. Create a new flow with the event: Incoming Call to Phone Numbers
  2. Choose the action: Notify New Call
  3. Click Deploy to make this flow active.

Flow 1

Flow 2

  1. Create a new flow with Event: API - Incoming Call
  2. Add Action - Split Flowby the API - Customer Type
  3. Configure Action - Play a Messageand Hang Upfor each Path
  4. Click Deploy to make this flow active
  5. Copythe UUID of Flow 2 and paste it to your Webhook, following the Open API below.

Open API - Handle Incoming Calls:

Helpjuice Success Callout Body

 

Flow 2