Skip to main content

Phonet

Phonet is business telephony. On every call it sends events to an address of your choice: the call started, the call was answered, the call ended. Sent to the Flows address, the end of a call starts your flows: a customer called and nobody picked up — and a few minutes later the customer gets a message in Viber or SMS. If the customer calls again and gets through first, the message is not sent.

Written from Phonet documentation

This page is written from the public documentation of Phonet and has not been checked on a live account yet.

What you need​

  • Access to the settings of your Phonet personal cabinet (<account>.phonet.com.ua). Which plans have the transfer of call events is not confirmed by the documentation.
  • One address for the call events of the whole account. Whether several CRMs can receive them side by side is not confirmed by the documentation.
  • Phonet sends events of outgoing and internal calls too. AlphaFlow skips internal calls and pauses, and an outgoing call the customer did not answer — see the events below.

Step 1. Create a connection​

  1. Open Flows → Connections, press Connect a system and choose Phonet.
  2. Press Copy address. It looks like https://events.alphasms.net/hooks/<TOKEN> — keep it secret.

Step 2. Set up Phonet​

  1. In the personal cabinet open Settings → Integrations and choose the tile of another CRM — the page Connect other application opens.
  2. In the Calls block, under Users events, paste the address from the cabinet into the field of Hangup call. Leave Get client info empty: that request waits for an answer with the name of the customer.
  3. Ringing and Answer call are not needed: AlphaFlow skips them.
  4. Press Save.

Step 3. Send a test​

The documentation describes no test button. Call your company number and hang up before anyone answers — call_missed comes. Then make a call that is answered — call_finished comes. Both appear in Flows → Connections → Event journal, and the connection shows Recognised: Phonet.

Events​

Phonet eventAlphaFlow eventProperties
call.hangup after an answer (bridgeAt is filled), incoming or outgoingcall_finishedcall_id, direction, answered_at, employee
call.hangup of an incoming call without bridgeAt — nobody answeredcall_missedcall_id, direction, employee, pbx_number
call.hangup of an outgoing call without bridgeAt — the customer did not answer—taken and skipped
Internal calls (direction 1) and pauses (32, 64)—taken and skipped
call.dial — the call started, call.bridge — the call was answered—taken and skipped
  • direction: 1 — internal, 2 — outgoing, 4 — incoming, 32 and 64 — a pause.
  • answered_at — when the call was answered; empty for a missed call.
  • employee and employee_ext — the employee and their extension; pbx_number and pbx_number_name — the company number and its name; parent_call_id — the parent call; account — your Phonet account.
  • The event carries no length of the conversation.

The contact is found by the customer's number from the call (otherLegs[0].num); the name comes from the same place. Call events are not among the events of the ready-made templates (see Recommended events): create the flow from scratch, as below.

A message after a missed call​

  1. Create a flow From scratch with call_missed as its start. No filter by direction is needed: only incoming calls come as call_missed.
  2. Add the Wait for an event step: the event call_finished, for example 15 minutes since the start event.
  3. The event came — the customer called again and got through, or your employee called back and the customer answered: end the branch with Leave the flow. The event did not come — add a Send step with the message in Viber or SMS.

Good to know​

  • Phonet warns that events may come twice. A repeat has the same call id and event, and it is not recorded twice. Retries are not described in its documentation.
  • Phonet does not sign its requests: the secret in the address is enough.
  • The other webhooks of Phonet — getting the contact name and passing UTM tags — are not needed for flows.
  • The address always answers 200. Above the daily event limit the event is refused in AlphaFlow with quota_exceeded and shown in the journal; the transfer of events in Phonet stays on.

Phonet documentation​