cookbook · Extractor · Meeting notes and transcripts
Get action items out of meeting notes
Meeting notes say who agreed to do what, but the tasks end up scattered through the text. This recipe turns a set of notes into action items with owners and due dates, the decisions, what was postponed, and the next meeting date. The task with no date and the budget nobody mentioned come back null. Long transcripts work the same way: the model reads them in windows and merges the answers.
Request
POST /v1/extract, documented in the Extractor reference.
curl https://meragpt.com/v1/extract \
-H "Authorization: Bearer $MERAGPT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "extractor-1",
"reference_date": "2026-11-24",
"text": "Product sync notes, Monday 24 November 2026\n\nDiscussion\n- CSV import: support logged 31 tickets last week, mostly uploads over 50 MB timing out.\n- Pricing page test: not enough traffic data yet.\n- Staging database is running out of disk.\n\nAgreed\n- Move the CSV upload to streaming, shipped behind a flag.\n- Keep the 50 MB limit until the streaming fix ships.\n\nActions\n- Kofi: streaming upload behind a flag, by Friday.\n- Mei: clearer error copy and a progress bar mock, by Wednesday.\n- Lucas: support macro to send until the fix is out, today.\n- Kofi: ask infra to resize the staging database (no date yet).\n\nParked\n- Pricing page test, to next week.\n\nNext sync: Monday 1 December 2026.",
"schema": {
"type": "object",
"properties": {
"action_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"owner": {
"type": "string",
"description": "Who will do it."
},
"task": {
"type": "string",
"description": "What they will do."
},
"due": {
"type": "string",
"format": "date"
}
}
}
},
"decisions": {
"type": "array",
"description": "What the meeting agreed, each in a few words.",
"items": {
"type": "string"
}
},
"deferred": {
"type": "array",
"items": {
"type": "string"
},
"description": "Topics postponed to a later meeting."
},
"ticket_count": {
"type": "integer",
"description": "Support tickets mentioned about the main topic."
},
"next_meeting": {
"type": "string",
"format": "date"
},
"budget_approved_usd": {
"type": "number"
}
}
}
}'What came back
The real output from running this recipe, unedited.
{
"action_items": [
{
"owner": "Kofi",
"task": "streaming upload behind a flag",
"due": "2026-11-29"
},
{
"owner": "Mei",
"task": "clearer error copy and a progress bar mock",
"due": "2026-11-26"
},
{
"owner": "Lucas",
"task": "support macro to send until the fix is out",
"due": "2026-11-25"
},
{
"owner": "Kofi",
"task": "ask infra to resize the staging database",
"due": null
}
],
"decisions": [
"Move the CSV upload to streaming, shipped behind a flag.",
"Keep the 50 MB limit until the streaming fix ships."
],
"deferred": [
"Pricing page test"
],
"ticket_count": 31,
"next_meeting": "2026-12-01",
"budget_approved_usd": null
}Python
import os, requests
API = "https://meragpt.com/v1"
HEADERS = {"Authorization": f"Bearer {os.environ['MERAGPT_API_KEY']}"}
import re
from datetime import date
notes = open("notes.txt").read()
schema = {
"type": "object",
"properties": {
"action_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"owner": {
"type": "string",
"description": "Who will do it."
},
"task": {
"type": "string",
"description": "What they will do."
},
"due": {
"type": "string",
"format": "date"
}
}
}
},
"decisions": {
"type": "array",
"description": "What the meeting agreed, each in a few words.",
"items": {
"type": "string"
}
},
"deferred": {
"type": "array",
"items": {
"type": "string"
},
"description": "Topics postponed to a later meeting."
},
"ticket_count": {
"type": "integer",
"description": "Support tickets mentioned about the main topic."
},
"next_meeting": {
"type": "string",
"format": "date"
},
"budget_approved_usd": {
"type": "number"
}
}
}
r = requests.post(f"{API}/extract", headers=HEADERS, json={"model": "extractor-1", "text": notes, "schema": schema, "reference_date": "2026-11-24"}).json()
WEEKDAYS = ["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday"]
for item in r["data"]["action_items"]:
line = next((l for l in notes.splitlines() if item["task"] in l), "")
named = next((d for d in WEEKDAYS if d in line.lower()), None)
if item["due"] and named and WEEKDAYS[date.fromisoformat(item["due"]).weekday()] != named:
print("check the date:", item) # the notes name a different weekday
else:
print(item["owner"], "-", item["task"], "-", item["due"])
TypeScript
const API = "https://meragpt.com/v1";
const headers = {
Authorization: `Bearer ${process.env.MERAGPT_API_KEY}`,
"Content-Type": "application/json",
};
import { readFileSync } from "node:fs";
const schema = {
"type": "object",
"properties": {
"action_items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"owner": {
"type": "string",
"description": "Who will do it."
},
"task": {
"type": "string",
"description": "What they will do."
},
"due": {
"type": "string",
"format": "date"
}
}
}
},
"decisions": {
"type": "array",
"description": "What the meeting agreed, each in a few words.",
"items": {
"type": "string"
}
},
"deferred": {
"type": "array",
"items": {
"type": "string"
},
"description": "Topics postponed to a later meeting."
},
"ticket_count": {
"type": "integer",
"description": "Support tickets mentioned about the main topic."
},
"next_meeting": {
"type": "string",
"format": "date"
},
"budget_approved_usd": {
"type": "number"
}
}
};
const r = await fetch(`${API}/extract`, {
method: "POST",
headers,
body: JSON.stringify({ model: "extractor-1", text: readFileSync("notes.txt", "utf8"), schema, reference_date: "2026-11-24" }),
}).then((res) => res.json());
for (const a of r.data.action_items) console.log(a.owner, "-", a.task, "-", a.due ?? "no date");
When to trust it
Owners, tasks, decisions, the postponed topic and the next meeting all came back right. Two relative dates were a day late: 'by Friday' came back as 2026-11-29 (a Saturday; Friday is the 28th) and 'today' as 2026-11-25 (it was the 24th). Check due dates before they go into a tracker: the code below flags any date that lands on a different weekday than the notes name, and notes that already give dates avoid the problem.
Try it without code in the playground, or see more Extractor recipes: read an invoice into your ap system, pull the key terms out of a contract, turn a support email into a ticket, turn a receipt photo into an expense entry, extract memories from a conversation.