Measure hourly missed calls in MySQL with ConnectUC

Count incoming and missed calls by UTC hour for a dedicated ConnectUC line, without storing caller numbers in MySQL.

9 stepsCustomer supportOperations

Free to start, no card required.

How it works

  1. When this happens

    Receive a completed call reference

    ConnectUC

  2. Step 1 · Code

    Set the monitored line and owner

  3. Step 2

    Check the original call reference

    Follows the first path that matches

    • Completed call reference supplied

      1. Step 3 · ConnectUC

        Read the owner’s call detail record

      2. Step 4 · Code

        Confirm direction, line and UTC hour

      3. Step 5

        Check the monitored incoming call

        Follows the first path that matches

        • Call belongs to this direct line

          1. Step 6 · MySQL

            Record one call without caller details

          2. Step 7 · MySQL

            Calculate this hour’s missed-call rate

          3. Step 8 · Code

            Verify the hourly line totals

        • Otherwise

          Nothing happens

    • Otherwise

      Nothing happens

Before you start

Choose one direct ConnectUC line without forwarding or ring groups, connect its owner and enter that user’s UID and the destination number with country code. In MySQL create uc_line_calls with call_key CHAR(64) PRIMARY KEY, line_key CHAR(64) NOT NULL, hour_utc DATETIME NOT NULL and missed TINYINT NOT NULL. Grant SELECT, INSERT and UPDATE on this table to the flow account.

Accounts to connect

Your first automationstarts with one sentence.

Start free with 1,000 credits, no card needed. Rather have it done for you? Our team builds it.

Use template