{
  "schema": "agentflows.config/1",
  "id": "meeting-action-items",
  "version": "1",
  "title": "Meeting notes to action items",
  "short": "Turn a meeting transcript into action items with an owner, a due date and the line it came from, for the organizer to confirm.",
  "owner": "Operations and finance teams",
  "items": [
    "ops-weekly-1123",
    "close-prep-1130",
    "brightline-qbr-1119"
  ],
  "steps": [
    {
      "kind": "tool",
      "id": "load_transcript",
      "title": "Load the transcript",
      "tool": "load_transcript"
    },
    {
      "kind": "model",
      "id": "extract_items",
      "title": "Extract action items",
      "system": "You turn meeting transcripts into action items for a team's task tracker. List every task someone committed to or was clearly given, and every task the group agreed needs doing even if nobody took it yet (owner \"unassigned\", so the organizer can assign it). Leave out topics the group decided not to pursue. You can't create tasks or message anyone; the meeting organizer reviews your list first. Answer with one JSON object and nothing else.",
      "user": "Meeting: {{title}}\nDate: {{weekday}}, {{date}}\nAttendees:\n{{attendees}}\n\nTranscript:\n\"\"\"\n{{transcript}}\n\"\"\"\n\nList every action item. For each:\n- \"task\": what will be done, in a few words\n- \"owner\": the attendee's full name, or \"unassigned\" when nobody took it\n- \"due\": the due date as YYYY-MM-DD, worked out from the meeting date (for example \"by Wednesday\" means the next Wednesday), or null when no date was set\n- \"quote\": the transcript line where it was committed or assigned, copied exactly, without the speaker name\n\nReturn JSON:\n{\"action_items\": [{\"task\": string, \"owner\": string, \"due\": string|null, \"quote\": string}]}",
      "maxTokens": 16384,
      "optional": false
    },
    {
      "kind": "tool",
      "id": "validate_items",
      "title": "Check owners, dates and quotes",
      "tool": "validate_items"
    },
    {
      "kind": "checkpoint",
      "id": "organizer_review",
      "title": "Organizer review",
      "checkpoint": "organizer_review"
    }
  ],
  "tools": [
    {
      "name": "load_transcript",
      "does": "Reads one meeting transcript and its attendee list.",
      "access": "read",
      "data": "3 sample transcripts",
      "production": "Read access to the transcripts of meetings the organizer chose; not the whole meeting archive."
    },
    {
      "name": "validate_items",
      "does": "Checks each owner against the attendee list, each date's format, and that each quote is in the transcript.",
      "access": "compute",
      "data": "The model's items + the attendee list",
      "production": "Runs inside the workflow."
    },
    {
      "name": "queue_tasks",
      "does": "After the organizer approves, records the tasks in a local list.",
      "access": "sandbox-write",
      "data": "In-memory list",
      "production": "Creates tasks in the tracker as the organizer. People are notified by the tracker, not by the workflow."
    }
  ],
  "permissions": [
    {
      "resource": "Transcripts the organizer selects",
      "grant": "read",
      "why": "Needed to find commitments."
    },
    {
      "resource": "Task tracker",
      "grant": "write after approval",
      "why": "Tasks are created only after the organizer confirms owners and dates."
    },
    {
      "resource": "Email or chat to attendees",
      "grant": "none",
      "why": "Assigning work to someone is the organizer's call, not a model's."
    },
    {
      "resource": "Calendars",
      "grant": "none",
      "why": "Not needed; due dates are worked out from the meeting date."
    }
  ],
  "checkpoints": [
    {
      "id": "organizer_review",
      "reviewer": "The meeting organizer",
      "sees": [
        "Each item with its owner, due date and source line",
        "Owners who aren't attendees, left unassigned",
        "Quotes that couldn't be found"
      ],
      "onApprove": "Tasks are created in the tracker.",
      "onReject": "Nothing is created; the organizer edits the list."
    }
  ],
  "runner": {
    "temperature": 0.2
  },
  "fixtures": {
    "meetings": [
      {
        "id": "ops-weekly-1123",
        "file": "warehouse-ops-sync-2026-11-23.txt",
        "title": "Warehouse operations weekly sync",
        "date": "2026-11-23",
        "weekday": "Monday",
        "attendees": [
          {
            "name": "Priya Raman",
            "role": "Operations lead"
          },
          {
            "name": "Tom Becker",
            "role": "Warehouse supervisor"
          },
          {
            "name": "Ana Lucero",
            "role": "Procurement"
          },
          {
            "name": "Jordan Kim",
            "role": "IT"
          }
        ],
        "transcript": "Priya Raman: Okay, let's start. Three things today: the cycle count variance, pallet wrap pricing, and the scanner rollout.\nTom Becker: On the count, bin C-14 is short 40 rolls of the 18-inch stretch film. I think receiving put a pallet in C-15 by mistake.\nPriya Raman: Can you recount C-14 and C-15 and post the result in the ops channel?\nTom Becker: Yes, I'll have it done by Wednesday.\nAna Lucero: On pallet wrap, Brightline's price went up again on the last invoice. I'd like to get two competing quotes before we reorder.\nPriya Raman: Please do. When can you have them?\nAna Lucero: Friday the 27th. Actually, that's the day after Thanksgiving, nobody will answer. Let's say Monday the 30th.\nPriya Raman: Jordan, the handheld scanner rollout. Can you own that?\nJordan Kim: Honestly, I can't own the rollout. It's an operations project. I can set up the devices once there's a plan.\nPriya Raman: Fair. Then I'll draft the rollout plan by December 4th and send it to you.\nJordan Kim: And I'll configure the first ten scanners the week after you send it.\nTom Becker: One more thing: somebody should look at the seal on dock door 3. It's letting cold air in.\nPriya Raman: Yeah. Let's figure out who next week.\nPriya Raman: Okay, thanks everyone."
      },
      {
        "id": "close-prep-1130",
        "file": "month-end-close-prep-2026-11-30.txt",
        "title": "Month-end close prep",
        "date": "2026-11-30",
        "weekday": "Monday",
        "attendees": [
          {
            "name": "Dana Whitfield",
            "role": "Controller"
          },
          {
            "name": "Luis Ortega",
            "role": "AP specialist"
          },
          {
            "name": "Mei Chen",
            "role": "Staff accountant"
          },
          {
            "name": "Raj Patel",
            "role": "FP&A analyst"
          }
        ],
        "transcript": "Dana Whitfield: Close starts Thursday the 3rd. Where are we on accruals?\nMei Chen: I need the freight accrual from AP. Luis, can you send me the list of Harlow shipments that haven't been invoiced yet?\nLuis Ortega: Sure, I'll send it by end of day tomorrow.\nDana Whitfield: Next, the Kestrel invoice with the new bank details. Nobody pays that until we've called them on the number in the vendor master. Luis, you make the call.\nLuis Ortega: I'll call them this afternoon.\nRaj Patel: For the forecast I need the November freight actuals before the close.\nMei Chen: I can get you those by Wednesday.\nDana Whitfield: And Mei, please book the Ostara motor invoice to fixed assets, not repairs.\nMei Chen: Will do, also by Wednesday.\nRaj Patel: Should we revisit the capitalization threshold at some point?\nDana Whitfield: Not this month. Let's leave it.\nDana Whitfield: That's everything. Thanks."
      },
      {
        "id": "brightline-qbr-1119",
        "file": "brightline-quarterly-review-2026-11-19.txt",
        "title": "Quarterly business review with Brightline Packaging",
        "date": "2026-11-19",
        "weekday": "Thursday",
        "attendees": [
          {
            "name": "Ana Lucero",
            "role": "Procurement, Larkfield"
          },
          {
            "name": "Tom Becker",
            "role": "Warehouse supervisor, Larkfield"
          },
          {
            "name": "Kelly Marsh",
            "role": "Account manager, Brightline Packaging"
          },
          {
            "name": "Greg Holt",
            "role": "Logistics, Brightline Packaging"
          }
        ],
        "transcript": "Ana Lucero: Thanks for joining. Three topics: the stretch film price increase, late deliveries in October, and a duplicate invoice.\nKelly Marsh: On pricing, resin costs went up. I can send a revised price sheet with volume tiers by Friday the 27th.\nTom Becker: Two October deliveries came after our 2 pm dock cutoff. Greg, can your team confirm the cutoff with the carriers?\nGreg Holt: Yes. I'll send the carriers a note by tomorrow and copy you.\nAna Lucero: And we got a past-due notice for BL-20931, which we paid on November 12th.\nKelly Marsh: That's on us. I'll have our AR team check it and send you a confirmation that it's closed.\nAna Lucero: Can you do that by Monday?\nKelly Marsh: Monday works.\nAna Lucero: On our side, I'll share our Q1 volume forecast once Raj finishes it.\nTom Becker: That's it from me."
      }
    ]
  },
  "files": [],
  "configHash": "081b12b20a5181c2db5736bd2e2c54dee46a2229b381075fe006340cff119c4d"
}
