Hourly HubSpot notes from Drive sales calls with Azure Speech

By General Input

Every hour, transcribe new sales call recordings from a Google Drive folder and file a clean summary, sentiment, and next steps on the right HubSpot contact.

Integrations

  • Google Drive
  • Azure AI Speech
  • HubSpot

Type

Agentic Task

Categories

  • Sales
  • Operations

Build an agent workflow that files a structured recap of every new sales call recording as a note on the right HubSpot contact, running once an hour.

Trigger: cron, every hour on the hour.

On each run:

1. Use Google Drive List Files to find recordings in a shared sales-calls folder (folder ID configurable) that were created since the previous run. Only include audio files (mp3, wav, m4a, mp4). Track the last processed timestamp so files are not handled twice in the same run.

2. For each new file, use Google Drive Download File Content to fetch the audio bytes.

3. Transcribe it with Azure AI Speech Fast Transcribe Audio, with speaker diarization enabled so the rep and the prospect are labeled separately.

4. Read the transcript and extract: a short call summary (2 to 4 sentences), overall sentiment (positive, neutral, or negative) with a one-line rationale, the top two objections raised by the prospect, and next steps with owners and rough due dates.

5. Match the call to a HubSpot contact using Search Contacts. First try the email or full name inferred from the filename. If that fails, fall back to the first name plus company, or any email addresses, mentioned in the transcript itself. Pick the best single match with reasonable confidence.

6. Use HubSpot Create Note to attach the structured recap to that contact. Associate the note to the matched contact and to any open deal linked to that contact. Format the note with clear headings: Summary, Sentiment, Top Objections, Next Steps.

7. If a call cannot be confidently matched to a contact, skip filing the note and append the filename, best guesses, and reason to a running "unmatched-calls" log the agent keeps in its memory for the next run, so a human can resolve it later.

Design notes for the workflow author: contact matching is the part that genuinely needs an agent, since filenames vary and transcripts often reference the contact by first name plus company only. Keep the note body plain and readable so a rep can scan it in the HubSpot timeline without reformatting.

Related prompts

Explore more prompts
Turn Mailjet email clicks into ranked HubSpot follow-upsiMessage campaign console with pre-flight checks and delivery boardA searchable RFP answer library your bid team drafts fromSee which target accounts just started advertising on LinkedInAccount health board that puts product usage next to your CRMLook up a customer's full chat history mid conversationLusha prospecting workbench with credit-safe revealsWhich companies your LinkedIn ads reach, matched to your CRMLead response desk with a running clock on every new leadApprove Lusha enrichment field by field before HubSpot saves it