Event - API - Incoming Call
-
OSS/BSS Answers
Access Control Admin Audit B3Network Master Account Channel App Contract App Customer App Discount App Edge Server File Management Finance App Invoice App Number Management Payment Portal Settings Price List Product App Release V2 SMS Gateway Supplier App Support Center Support Hub Business Hub Sales Hub
- App Model - Organization Management
- App Model - Communication Apps Answers
- License Model - Organization Management
-
License Model - CPaaS Solution Answers
Phone System - Admin Guide Phone System - End-user Guide Mobile App Desktop App Web Phone Auto Attendant - Admin Guide Developer Hub - Admin Guide Microsoft Teams Operator Connect - Admin Guide Microsoft Teams Direct Routing - Admin Guide Contact Center - Supervisor Guide Contact Center - Agent Guide Omni-Channel SIP Trunk CPaaS - SIP Trunk Power SIP Trunk CPaaS Fax Contact Dashboard Campaign File Explorer
- Telcoflow
- Integrations Answers
- Updated Regulations
- Ideas Portal
Table of Contents
Overview
Example
Requirement
- 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.
- 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.
![](https://d2x3xhvgiqkx42.cloudfront.net/c94ab348-5fb1-4c1d-89b1-fa79e3e916d0/81ec6e6f-2b1b-45dc-9193-b23c4a10d966/2022/04/12/813d0d2b-d095-43ec-aead-d5f039ec6b68/7cb3ad34-44da-4084-a182-bde9f1c754d7.png)
Configuration
In order to create a flow that can fulfill this request, follow the steps below:
Flow 1:
- Create a new flow with the event: Incoming Call to Phone Numbers
- Choose the action: Notify New Call
- Click Deploy to make this flow active.
Flow 1
Flow 2
- Create a new flow with Event: API - Incoming Call
- Add Action - Split Flow by the API - Customer Type
- Configure Action - Play a Message and Hang Up for each Path
- Click Deploy to make this flow active
- Copy the UUID of Flow 2 and paste it to your Webhook, following the Open API below.
![](https://d2x3xhvgiqkx42.cloudfront.net/c94ab348-5fb1-4c1d-89b1-fa79e3e916d0/81ec6e6f-2b1b-45dc-9193-b23c4a10d966/2021/12/08/5456df9e-b48d-40d5-be5a-786cbbf30878/e30c0fe3-389b-4234-877a-fa468b09fa70.png)
Open API - Handle Incoming Calls:
Helpjuice Success Callout Body
Flow 2