How It works
Zaps are workflows that connect your apps, so they can work together.
Create a Zap
The first step is to create and give to your Zap a name. Zap's Name should identify what is your workflow doing.
Choose the Integration
Here you will be presented with a text search field to Identify the first step to trigger in your work flow.
We are going to Input Sangoma, so that Sangoma - FreePBX/PBXact (1.0.0) is searched then selected
Trigger Event
Here is were the journey starts!
Choose the Trigger Event will start the execution of the Worflow we are defining.
Then confirm with "Continue" button
Choose Account
If you have already a valid Sangoma FreePBX/PBXact account connected, you can select it.
When there is no available active account or you want to "Connect a new account" you'll be prompted with a new window containing the Authentication form to interact with your PBX.
Then confirm with "Continue" button
Test Trigger
Ok! You've selected the Integration, you've chosen the Trigger and finally created the connection between the brand new Zap with your PBX!
Now it's time for Zapier to test if everything is ok and if we can fetch some data from your call history!
Hit the Test Trigger button and....
TA DAAAAA!!!!!
Great we found an Outbound Call on your PBX. The records shown are defined in the Integration prototype Sangoma made for you!
Let's have a look on the available fields you'll retrieve from the received Webhook:
ver 1.0.0 - 20210217 :
uuid : A universally unique identifier for your call
direction : What was the direction of the retrieved call (Inbound, Outbound or Both)
source : The endpoint generated the Call
destination : The endpoint received the Call
cnum: The Calling Number presented from the Source
duration : How long lasted this Call
disposition : What was the final outcome of the call (MISSED, ANSWERED...)
calldate : A UNIX Time representation of the time when the call was Started/Ended
clid : Calling Line IDentification
type: Type of event for this call (START/END)
voicemail : If there is a voicemail that item will read "SUCCESS"
In the next releases more fields can be provided and added.