Google Meet: name calls after the document Meet writes for them
Merged
EH
18h ago+203+203+012345678901234567890123456789-19-19-01234567890123456789
Context
Follows https://github.com/twentyhq/twenty/pull/30617 in the Google Meet app series started in https://github.com/twentyhq/twenty/pull/30587.
Meet's API has no meeting title: not on the conference record, the space, or the event. A call that matches no Twenty calendar event, such as an instant meeting, was imported with an empty title. Meet does name the Google Doc it writes for each call: Meeting started 2026/11/17 18:10 IST - Notes by Gemini for an instant meeting, <event title> - <date> - Transcript for a scheduled one. This PR reads that name.
What this PR does
- Adds the
documents.readonlyscope to the Google Meet connection provider. - A matched calendar event still names the call, and still links it.
- Otherwise the import reads the title of the document the transcript points to, with
documents.getandfields=title, so no content is fetched. It drops Meet's last- …part ("Notes by Gemini", "Transcript", in any language) and keeps dashes inside the meeting name. SETUP.mdlists the Docs scope and addsdocs.googleapis.comto thegcloud services enablecommand.
Checks
yarn lint,yarn typecheck,oxfmt --checkandyarn test:unit(154 tests) pass locally. New unit tests cover the name extraction. The sync test checks that a calendar match makes no Docs call and that a call without one takes the document's name.- Tested on a self-hosted Twenty with a real Google account. After reconnecting with the new scope, an instant meeting was imported as
Meeting started 2026/11/17 18:35 ISTwith its 4 transcript entries, 3.5 minutes after the call ended.