HTTP request element

Modified on Tue, 17 Jun at 4:25 PM

HTTP request — is used to send requests to other web services or APIs during call processing. This allows you to integrate the PBX with other applications to automate processes and expand functionality, for example, to save call records in CRM or send notifications to other systems.


Through an HTTP request, we get a variable that contains an internal number, and assign this variable in the ‘External source’ element.


Call flow:

  • The call comes to the 'HTTP request' element. The client configures it, for example, as a POST request, specifies their CRM system's URL, and in the Body passes the {{num_a}} system variable. Here's an example of the first element setup:

  • In response, we receive a variable, for example, intNumber and an internal number. The variable can be named differently, the important thing is that it matches with the second element.



To add a HTTP request element to the script:

  1. Drag it onto the diagram while holding down the left mouse button. 
  2. To edit the element, click on the pencil button. 
  3. Fill in the fields and press the 'Save' button. 
  4. To limit the waiting time, click on the button with the stopwatch and specify the waiting time. 
  5. Press the 'Save' button.


 

Also see:

Call scenarios

Call Scenario Elements

Call scenario settings





Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article