Technology

Ticket Management Solution with Cloud Calling Feature

April 25, 2022
5 minutes read

The fast-growing customer support industry is witnessing a transition from manual to automated processes. At the same time, there's a growing demand for ticket management solutions that streamline customer support and field service operations, from sending reminders to customers to handling supportive communications.

Clappia is a No Code platform where designing such Ticket Management applications is as easy as working on Excel Sheets. It provides web-based and app-based interfaces to manage tickets, organize agents and users, set up rules and triggers, set SLA, send emails and SMS notifications etc. Clappia also has a powerful REST API integration module which can be used to connect the ticket management apps with any third-party applications.

One of the core problems that a ticket management solution should solve is ensuring  data privacy. While working on tickets, field agents usually have to call their customers over the phone, but without revealing each other's phone numbers. This is where cloud calling can help. Cloud calling is a telephony service provided through a third-party cloud host where calls are placed over an internet connection. Exotel is one of the leading cloud telephony solution providers that also provides the cloud calling feature. In this article, we will see how ticket management apps built on Clappia can be enhanced with the Cloud Calling Feature using the flexible REST APIs provided by Exotel. You can learn more about Exotel here: https://www.exotel.com/.

The video below shows the ticket management app in action with the Cloud Calling feature

The following points are covered:

  1. The customer enters his personal details, phone number, and describes the problem that he is facing and submits a ticket on Clappia.
  2. The field service agent views the ticket on his mobile app and starts the service.
  3. The agent places a call request. The call is initiated via the Exotel API, which connects the agent and the customer over the phone without revealing each other's phone numbers.
  4. Once the issue is resolved over the phone, the agent closes the ticket.
  5. The App Admin can view the entire ticket log along with the call timings and call recording. 

You can follow the steps below to add the Cloud Calling feature to your Clappia App.

Step 1: Sign up on Exotel
  • Visit https://exotel.com/ and you can sign up for a free trial.
  • Provide your company details to complete the signup.

Step 2: Get API Details from Exotel
  • Upon signing up, you will get access to Exotel’s APIs. Go to the API tab from the left navigation bar.
  • You will find your API keys. Make a note of the API Key and API Token.

Step 3: Add the "Start a Call" button on the Clappia App
  • Visit your Ticket Management App on Clappia in Edit mode.
  • Add a Get Data from REST APIs block in a suitable section of your App.



  • Configure the block with configuration taken from Exotel’s API Dashboard.

  • Server URL: https://api.exotel.com/v1/Accounts/clappia2/Calls/connect.json
  • Query String: ?From=+91 XXXXXX&To={phone_numb}&CallerId=080-768-86756 (Get the called Id from your Exotel dashboard, From Number is the field agent’s number and To Number is the Customer’s number which is taken as input from the app).
  • Headers: Add an Authorization Key with value “”Basic API_TOKEN”. API_TOKEN is the Base64 encoded value of “apikey:apitoken” that you got in the above steps.
  • Exotel API also returns a Call Sid parameter whenever a call is placed. You can fetch that and store it in another field of the Clappia App if you wish to fetch the call details and recordings later.
  • The Rest API Block is ready. It will appear to the field agent like this on his/her mobile app.

Step 4: Get Call Details for Admins (Optional)

Once the call is placed, the call details like start time, end time, call recording are available against a unique SID. In this step, we will see how to fetch these details using the SID once the agent has closed the ticket.

  • Go to the Clappia App in Edit Mode -> Workflows -> Add a REST API node.

  • We will again use the Exotel Rest API to get the call details.

-> Server URL: https://api.exotel.com/v1/Accounts/clappia2/Calls/{call_id}.json (call_id is the SID received in the previous step when the call was placed)

-> Headers: Same as previous step

-> Fields from API response: Fetch all the attributes that you require - StartTime, EndTime, Duration, RecordingUrl

  • You can send all these details to the Admins over email or store them in the same Clappia app or a different one. The details will look something like this.

References:

Similar posts

With over 2,400 apps available in the Slack App Directory.

Start your 30-day free trial

Build Process Apps For You Business
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
No credit card required
Cancel anytime