Hi Nuttapong, It all depends on how is the request and response of REST API. Of course, the API REST is the front end for querying and validating information data in an external database.
For example:
- You create a data action with this API rest.
- You need to send an ID Card in request.
- If this ID card is in the Database External, the API REST has a response = {"status": "1"}, if not available = {"status": "0"}.
- With this information, you can make your decision or switch flow.
Att,
------------------------------
Breno Canyggia Ferreira Marreco
https://www.linkedin.com/in/brenocfm-40b62182/------------------------------
Original Message:
Sent: 03-12-2024 00:26
From: Nuttapong Limadisai
Subject: Data action & API Check data from external database
If I want the IVR to check the ID Card from another database, if the ID matches the information in the database, send a call to Agent group A, but if it doesn't match the information in the database, send a call to Agent group B.
The question is, should Data Action be used in the call flow? So which API should be used to check data?

#ArchitectureandDesign
#Implementation
#Integrations
#Routing(ACD/IVR)
------------------------------
Nuttapong Limadisai
G-Able Public Company Limited
------------------------------