Skip to main content

Google Workspace for the Leanmote Agent

Connect Google Chat, Gmail and Google Calendar so the agent can message, email and schedule as you.

These connections let the Leanmote Agent and Lean act in Google Workspace as you: send a Google Chat direct message, send an email from your Gmail, and create an event in your Google Calendar. There are three services (Google Chat, Gmail and Google Calendar), all through the «Leanmote Agent» Google app.


​

They are separate from the Google Calendar, Google Chat and Gemini data integrations (Administration → Integrations), which only read for Context.


​

What the agent can do


​

Nothing is sent or created without your OK: you see a card with what will happen, and the action runs only after you confirm it.


​

  • Google Chat: send a direct message as you.

  • Gmail: send an email from your mailbox. It goes out under your name and stays in your Sent folder. Plain text only.

  • Google Calendar: create an event in your own calendar, for example a block of time to review the pull requests waiting for you. With the optional free/busy permission, Lean can also check when your colleagues are free before proposing a time.


​

Connect


​

You can connect the three services at once or one by one.


​

All at once («Google Workspace»): one Google sign-in asks for the permissions of the three services. Google shows each one as a checkbox: tick the ones you want. Leanmote saves each service you ticked as its own connection; a service you leave unticked is simply not connected, and you can add it later.


​

One by one:


​

  1. Open the Actions Hub and go to Your agents.

  2. In Connections, choose the service and click Authorize.

  3. Sign in with your Google account and accept the permissions.


​

If you ask Lean for something that needs one of these connections and it is missing, Lean gives you a link to connect it.


​

Google Chat and Gmail need a Google Workspace account (your company's); a personal Gmail account is refused. Google Calendar accepts any Google account.


​

If your Workspace blocks third-party apps: Google stops the sign-in (admin_policy_enforced). A Google Workspace administrator has to allow the «Leanmote Agent» app in the Admin console (Security → Access and data control → API controls). Then connect again.


​

To reconnect or disconnect later: Connections → Manage → Agent connections.


​

Connection details


​

Detail

Value

Connection type

OAuth 2.0 with the «Leanmote Agent» Google app.

Who connects in Google

You, with your own account: a Workspace account for Google Chat and Gmail, any Google account for Calendar. If your Workspace restricts third-party apps, an administrator has to allow the app first.

Who can connect in Leanmote

Only you, for yourself. Nobody can connect these on someone else's behalf.

Credential

Personal: the agent acts as you.

Write access

Yes: sends messages and emails and creates events as you, always after you confirm.


​

Scopes requested


​

Google Chat


​

  • chat.messages.create — send the direct message as you.

  • chat.spaces.create — open the direct message with the person if it does not exist yet.

  • openid, email — identify your account.


​

Gmail


​

  • gmail.send — send the email from your mailbox. It cannot read your mail.

  • openid, email — identify your account.


​

Google Calendar


​

  • calendar.events.owned — create events, and check that an event the agent created is still there, only on calendars you own.

  • calendar.events.freebusy — optional: see when colleagues are free or busy, without seeing their events.

  • openid, email — identify your account.


​

Disconnect


​

Open Connections → Manage in the Actions Hub and click Disconnect next to the service. The agents stop using it right away. To also revoke it on Google's side, remove «Leanmote Agent» at myaccount.google.com/permissions.


​

Related articles


​

  • Leanmote Agent connections

  • Google Calendar integration

  • Google Chat integration

Did this answer your question?