Skip to main content

Ringostat

Ringostat is call tracking and telephony. Its Webhooks send the data of an incoming call when the call ends — answered or missed. Sent to the Flows address, they start 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 Ringostat documentation

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

What you need​

  • Access to Integration → Webhooks in the Ringostat personal account. Which plans have webhooks is not confirmed by the documentation.
  • One webhook on Incoming call → After call. It covers both missed and answered calls, and one address takes them all.
  • Ringostat sends only the parameters you add, under the names you type. AlphaFlow recognises the request by these names, so type them exactly as below.

Step 1. Create a connection​

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

Step 2. Set up a webhook in Ringostat​

  1. In the personal account open Integration → Webhooks and press Add event.
  2. Name — AlphaFlow — calls.
  3. The event — Incoming call, the moment — After call.
  4. Direction — the address from the cabinet.
  5. Data sending method — POST, Data sending format — json, Date format — Standard date. Leave Headers as they are: Ringostat sets Content-Type by itself.
  6. Add the parameters. Each one has the type Text, the name in Latin letters exactly as in the table, and the value from the Ringostat list:
NameValue
callerCaller's numberrequired
statusCall statusrequired
call_idCall IDrequired
dateCall daterequired
call_durationCall duration
calleeDestination number
employee_fioEmployee
record_linkConversation recording
call_cardCall card link
source, medium, campaignSource, Channel, Campaignif you need them
  1. Filters — leave them empty: then every incoming call comes, answered ones as call_finished and missed ones as call_missed. The ready-made filter Missed calls keeps only missed calls, but then a flow cannot see that the customer called again and got through.
  2. At the bottom press Preview → Show sample, check the body and save.

Step 3. Send a test​

Execute and show sample in the preview sends the sample body to the address. Which data it carries is not confirmed by the documentation: if it is the sample number 380441112233, a switched-on flow that starts on a call event may write to that number — test before you switch the flow on. Then call the number of your project and do not answer — call_missed comes. The events appear in Flows → Connections → Event journal, and the connection shows Recognised: Ringostat.

Events​

Ringostat status (status)AlphaFlow eventProperties
ANSWERED, PROPER, REPEATEDcall_finishedcall_id, duration, employee, record_link, call_card
NO ANSWER, BUSY, VOICEMAIL, DECLINE, FAILED, NO-FORWARD, WRONG EXTENSION, NO EXTENSION, FAILED FORBIDDEN DESTINATION, CLIENT NO ANSWERcall_missedcall_id, status, callee, call_card
  • PROPER is a targeted call — answered and long enough. REPEATED is a repeated call; that it counts as answered is not confirmed by the documentation.
  • FAILED — the call scheme did not work and the caller did not get through. CLIENT NO ANSWER — Ringostat called the customer back (Callback), and the customer did not pick up.
  • Every event carries the parameters you added: call_id, duration, status, callee (the number that was called), employee, record_link, call_card, and utm_source, utm_medium, utm_campaign from source, medium and campaign.
  • duration comes from Call duration: the table of parameters gives it as MM:SS, the sample as seconds (61). Which one comes is not confirmed by the documentation.
  • date has no time zone and is read in the time zone of the account.

The contact is found by the caller's number (caller, in the form 380441112233). The call parameters hold no name of the customer. 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.
  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: end the branch with Leave the flow. The event did not come — add a Send step with the message in Viber or SMS.

This webhook carries incoming calls only. A call back by your employee is an outgoing call — a separate Ringostat event, Outgoing call → After call, which this connection does not take.

Good to know​

  • Ringostat does not repeat. If the address does not answer 200 OK, the webhook is marked as failed (the page Webhook Error Check), and this call is not sent again. The Flows address answers 200 at once.
  • No signature is needed: the secret is in the address.
  • A typo in caller, status, call_id or date, and AlphaFlow does not recognise the request. Check the names in Show sample.
  • 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 webhook in Ringostat stays on.

Ringostat documentation​