Implement a Sales Playbook Using LeMUR
This guide will show you how to use AssemblyAI’s LeMUR framework to implement a sales playbook with a call from a sales representative to a client.
This guide aims to show different ways of using the question-answer
feature with a hypothetical sales use case to produce personalized, precise responses. Using this feature, a user can immediately evaluate large numbers of sales calls and ensure that prospecting steps are followed, including quotes in the response, which can inform future sales by identifying trends and quantitative performance tracking.
In this example, we will demonstrate how to use request variables such as context, answer_format, and answer_options to make the most of LeMUR’s Question & Answer feature. You can use the concepts in this guide to create custom specifications to evalute your sales representatives.
Quickstart
Get Started
Before we begin, make sure you have an AssemblyAI account and an API key. You can sign up for an AssemblyAI account and get your API key from your dashboard.
LeMUR features are currently only available to paid users at two pricing tiers: LeMUR and LeMUR Basic. See the pricing page for more detail.
Step-by-Step Instructions
In this guide, we will ask three questions evaluating the prospecting performance of the sales representative. Each question has slightly different paremeters based on the use case but largely has a fixed context
that we will apply to each question.
Import the assemblyai
package and set your API key.
Use the Transcriber
object’s transcribe
method and pass in the audio file’s path as a parameter. The transcribe
method will save the results of the transcription to the Transcriber
object’s transcript
attribute.
Define your LeMUR context
, answer_format
, and answer_options
request variables.
Next, define your LeMUR request parameters for your sales playbook processes using the Question & Answer feature. Note: You can edit the variables to provide custom answers for each question.
Run the question
method on transcript
and print the result to your terminal.