Solved Call Flow Designer - Webhook

Status
Not open for further replies.

Dan - EAC

Silver Partner
Basic Certified
Joined
May 16, 2024
Messages
8
Reaction score
7
Hi.

I've been looking at Webhook options for 3CX for one of our customers. Looking around people seem to mention installing something on the 3CX machine and using a 3rd party service like creomate.. so I thought how hard can it be.

The idea is:

Caller calls in and hits the IVR
One of the prompts will be dedicated to the webhook.. lets say 8.
When caller presses 8 - they will be greeted with a prompt to say their call will be handled over whatsApp
The number will be recorded and forwarded onto a 3rd party tool.. AI flow handler - After this point its not my problem!

Anywho, I believe I've done the hard part and designed this in CFD.. which testing with a test webhook site seems to work

The script in question performs by..

* Playing the custom prompt
* Captures the caller's number
* Sends that information via a HTTP POST to the destination URL
* Ends call

1776933139220.png

My only silly question is.. how do I prepend a static 0 or +44 before the number being captured as the numbers show like the screenshot above.
 
Hello Dan - EAC,

I would guess that you can add this in the HTTP POST message:

1776936360029.png

Just concatenate the +44 before the number, when sending the information.

Paulo
 
Aha this is what I was trying but not to worry I've found my error...o_O

So.. ahem.
When using the site webhook.site to test this works. The output format has JSON ticked.

1776937699955.png

Unticking this showed my missing digit!

Appreciate the response.
 
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,842
Messages
589,320
Members
164,677
Latest member
skander