# Review Sales Calls for Sentiment Analysis [View original](https://ittybit.com/guides/review-sales-calls-for-sentiment-analysis) ## Create a Custom Prompt Task ```js const prompt = "Analyze this sales video and generate a report. The output must be a structured JSON object with the following keys: `rep_sentiment`: (Positive, Neutral, or Negative), `prospect_sentiment`: (Positive, Neutral, or Negative), `summary` (string), `actionable_coaching_points` (list of strings)"; const task = await ittybit.tasks.create({ url: 'https://example.com/video.mp4', kind: 'prompt', prompt: prompt, }); ``` ```python prompt = "Analyze this sales video and generate a report. The output must be a structured JSON object with the following keys: `rep_sentiment`: (Positive, Neutral, or Negative), `prospect_sentiment`: (Positive, Neutral, or Negative), `summary` (list of string), `actionable_coaching_points` (list of strings)" task = ittybit.tasks.create( url='https://example.com/video.mp4', kind='prompt', prompt=prompt, ); ``` ```ruby prompt = "Analyze this sales video and generate a report. The output must be a structured JSON object with the following keys: `rep_sentiment`: (Positive, Neutral, or Negative), `prospect_sentiment`: (Positive, Neutral, or Negative), `summary` (list of string), `actionable_coaching_points` (list of strings)" task = ittybit.tasks.create( url: 'https://example.com/video.mp4', kind: 'prompt', prompt: prompt, ); ``` ```php $prompt = "Analyze this sales video and generate a report. The output must be a structured JSON object with the following keys: `rep_sentiment`: (Positive, Neutral, or Negative), `prospect_sentiment`: (Positive, Neutral, or Negative), `summary` (list of string), `actionable_coaching_points` (list of strings)"; $task = $ittybit->tasks->create([ 'url' => 'https://example.com/video.mp4', 'kind' => 'prompt', 'prompt' => $prompt, ]); ``` ```go prompt := "Analyze this sales video and generate a report. The output must be a structured JSON object with the following keys: `rep_sentiment`: (Positive, Neutral, or Negative), `prospect_sentiment`: (Positive, Neutral, or Negative), `summary` (list of string), `actionable_coaching_points` (list of strings)" task, err := ittybit.Tasks.Create( context.TODO(), &ittybit.TaskCreateParams{ Kind: "prompt", Prompt: prompt, URL: "https://example.com/video.mp4" }, ) ``` ```js const prompt = "Analyze this sales video and generate a report. The output must be a structured JSON object with the following keys: `rep_sentiment`: (Positive, Neutral, or Negative), `prospect_sentiment`: (Positive, Neutral, or Negative), `summary` (list of string), `actionable_coaching_points` (list of strings)" const task = await fetch('https://api.ittybit.com/tasks', { method: 'POST', headers: { 'Authorization': `Bearer ${ITTYBIT_API_KEY}` }, body: JSON.stringify({ url: 'https://example.com/video.mp4', kind: 'prompt', prompt: prompt, }) }) ``` *** See the [Prompt Tasks](/docs/prompt) section for more information about available options. *** *(See [SDKs](/sdks) for install and initialization steps.)*