Table of contents
What are streaming data types?
Whenever you connect a system to Plecto, you would usually import and store your data in data sources, and you would have to build formulas to see your metrics on dashboards.
Streaming data types work differently. They allow you to pull KPIs directly from a system such as Aircall and display them on specifically made streaming widgets on your dashboards using webhooks.
We currently offer the following streaming dashboard widgets: Streaming Number (number box), Streaming Speedometer, and Streaming Table.
Streaming data types for Aircall integration
There's currently one streaming data type for Aircall, Real-time metrics, and it allows you to see the following metrics:
Calls in queue
Longest waiting time in queue
How to add Aircall streaming widgets to a dashboard
First, make sure you've added all the phone numbers you want to track in your Aircall account. Here's Aircall's help guide on how to assign phone numbers to an integration.
Step 1: Create a new Aircall data source in Plecto
Open Plecto, then go to Data management > Data sources > + New data source > Aircall.
Click Next and log in to your Aircall account.
Click Authorize to give Plecto read access to your Aircall data. You will be redirected back to Plecto.
Select Real-time metrics data type.
Choose one or more dimensions. These are the phone numbers you added in Aircall.
Click Next. Plecto will now create a data source, but it will be empty. It's not intended to store data (we don't import any anyway), but it allows you to add or remove the dimensions in the data source settings.
Step 2: Add streaming widgets to your dashboard
Open a dashboard or create a new one.
Click + Add widget and select one of the streaming widgets.
Drag the widget onto the dashboard and configure the settings:
(Optional) Title – Enter a title in the widget header. For example, Reception or Customer Support.
Data source – Select your streaming data source.
Dimension – Choose the phone number whose metrics you want to see.
Metric – Select either Calls in queue or the Longest waiting time in queue.
(Optional) Target value – Manually add a target value.
Number formatting – Calls in queue = Decimal number, Longest waiting time in queue = Duration.
(Optional) Conditional colors – Make the widget automatically change color to see if you're on track with the target.
Click Save to finish.
If you select Real-time metrics, you must choose Dimensions. A dimension is a phone number, and you can add one or multiple dimensions (it's possible to change these settings later on).
Once you connect Realtime metrics, Plecto will create a data source, but it will be empty. All your data will get streamed to dashboard widgets, but having a data source (even though empty) allows you to access the settings and change the dimensions, data source title, and other parameters.
The streaming widgets allow you to add one dimension per widget (one phone number) and choose one of the two metrics to show for that dimension: Calls in queue or Longest waiting time in queue.