This repository demonstrates how to retrieve transcripts from a Microsoft Teams meeting using Recall.ai. To do this, you’ll need to send a bot to the meeting.
Clone the repository and follow the steps below.
- Real-time transcription
- Async transcription
git clone <your-repo-url>
cd <repo-name>- Get your Recall.ai API key
Rename the .env.example file to .env and replace the following
RECALL_API_KEY=your_recall_api_key
RECALL_REGION=your_api_base_when_you_signup
RECALL_API_BASE is the base URL for your Recall region and is determined when you sign up for Recall.ai
US West 2 -> https://www.us-west-2.recall.ai
US East 1 -> https://www.us-east-1.recall.ai
EU -> https://www.eu-central-1.recall.ai
Asia -> https://www.ap-northeast-1.recall.ai
In your terminal, run:
npm installRecall.ai requires a public webhook endpoint, so we expose the backend with ngrok.
First make sure you add the authtoken on ngrok:
ngrok config add-authtoken <token>Open a new terminal in your root directory, run:
ngrok http 3000You will receive a URL similar to:
https://abc123.ngrok-free.app // this is YOUR_NGROK_URL
Login to Recall.ai and it will take you to your dashboard, then configure the webhook URL under the Webhooks section.
Add the following endpoint:
https://YOUR_NGROK_URL/webhooks/recall
Example:
https://abc123.ngrok-free.app/webhooks/recall
Add events such as:
recording.donetranscript.done
Replace YOUR_TEAMS_MEETING_LINK with the Microsoft Teams meeting link you want to send your meeting bot to. Replace YOUR_NGROK_LINK with your ngrok link.
In your terminal, run:
node backend.js
Open a new terminal, copy everything in curl.json, and run the curl command in the terminal.
Let the bot into the meeting. Both real-time and async transcription are now available to you.
- Send meeting bot into Microsoft Teams meeting
- Real-time transcription begins
- When the meeting ends, Recall.ai returns
recording.done - Async transcription begins, Recall.ai returns
transcription.donewhen transcript URL is ready
- Recall.ai's Meeting Bot API
- Ngrok
