Google connections

Connect Gmail, Google Calendar, and Google Drive to Horizon, see what Horizon reads and keeps from each, and disconnect or delete that data.

Horizon connects to Gmail, Google Calendar, and Google Drive so agents can work with your mail, calendar, and files, and so your organization can save customer email to its Sales records if it uses email capture. This page covers what each connection lets Horizon read and keep, and how to disconnect it and delete that data.

Each Google service is its own connection, authorized on its own and listed under that service in Workspace > Connections. There is no single “Google Workspace” connection. Connect only the ones you need. You can add more than one connection to a service, for example for two Google accounts.

Note

Google Meet is reached through the Google Calendar connection rather than one of its own, because a Meet link is a property of a calendar event.

Prerequisites

  • A Google account with access to the mailbox, calendar, or Drive files you want agents to work with.
  • If your organization restricts third-party apps, an administrator may need to permit Horizon first.

Setting up a connection

  1. Go to Workspace > Connections and click Add connection.
  2. Under Who can use this?, choose Just me or Everyone in the org.
  3. Select Gmail, Google Calendar, or Google Drive. If you already have a connection to that service for the same people, Horizon asks you to name the new one.
  4. Read the Connect dialog, which says how Horizon uses that service’s data, and click Continue to Google. Cancel stops here, and nothing is sent to Google.
  5. Choose the Google account to authorize, review what Horizon is asking for, and approve it.
ChoiceWho can use itWho can change it
Just meOnly you, in your own agentsYou. An owner or admin can see that you added it, and can disconnect or delete it, but can’t use it.
Everyone in the orgAgents that any member of your organization deploysOwners and admins. Only they can add a connection for everyone.

Agents act as the Google account that authorized the connection and see exactly what that account can see.

Horizon asks Google for more permissions only when you turn on a skill or feature that needs them, and shows the same notice about how it uses your data before Google’s screen.

Caution

Google’s consent screen lets you untick individual permissions. If you withhold one the connection itself needs, it is saved as Needs reconnecting. If you withhold one that only a particular skill needs, the connection works, and its page says This connection is missing permissions until you click Approve additional permissions. Google’s consent screen is the authoritative list of what each request asks for.

What agents can do

Each skill needs one Google permission (OAuth scope), or two for the Create skills in Drive. Every Google connection also holds openid, email, and profile, which tell Horizon which Google account the connection uses.

Gmail

SkillWhat it doesGoogle permission
Search Gmail InboxFinds messages in the mailboxgmail.readonly
Get Gmail MessageReads one messagegmail.readonly
Draft EmailSaves a draft in Gmail for you to review and send. It does not send.gmail.compose
Update Draft EmailChanges a draftgmail.compose
Send EmailSends an email from the mailboxgmail.send

Google Calendar

SkillWhat it doesGoogle permission
Search Calendar EventsFinds eventscalendar.readonly
Get Calendar EventReads one eventcalendar.readonly
Create Calendar EventCreates an eventcalendar.events
Update Calendar EventChanges an eventcalendar.events

Google Drive

SkillWhat it doesGoogle permission
Search Google DriveFinds filesdrive.readonly
Get Google Drive FileReads one filedrive.readonly
Create Google DocCreates a Google Docdocuments, drive.file
Create Google SheetCreates a Google Sheetspreadsheets, drive.file
Create Google SlidesCreates a Slides deckpresentations, drive.file
Update Google DocChanges a Google Docdocuments
Update Google SheetChanges a Google Sheetspreadsheets
Update Google SlidesChanges a Slides deckpresentations
Note

Search runs per connection. An agent with all three searches Gmail, Calendar, and Drive as three separate operations — there is no single search across all of your Google data.

Email capture

If your organization uses email capture, you can connect your Gmail from Settings > Email capture. Horizon then saves your email with people in Sales to their records. Capture runs on its own schedule, not because an agent asked. Owners and admins turn it on in Settings > Email capture settings, where they choose who can connect, the default visibility, and how far back the first sync reaches: from now on, or the last 7, 30, or 90 days.

What Horizon reads

  • Capture uses the gmail.readonly permission. Horizon reads your mailbox, never sends from it, and never changes it.
  • For each new message, Horizon reads the headers (sender, recipients, subject, and date) to decide whether to save it. It skips spam, trash, drafts, and chats.
  • It saves a message only when someone outside your organization on it matches a contact, prospect, or company in Sales. Mail only among your colleagues is not saved, and neither is mail with an address or domain on your organization’s exclusions or on Your exclusions.
  • For a message it saves, Horizon then reads the message text and the names, sizes, and types of its attachments. It never downloads the attachment files.

What Horizon keeps

  • One copy of each message for your organization, however many colleagues’ mailboxes it was in.
  • The subject, the sender and recipients, and the date. Lists and search use these, so they are not encrypted with your organization’s key.
  • The message text, a short preview, and the attachment names, sizes, and types, all encrypted with a key that belongs to your organization.
  • Links from the message to the Sales records it matched.

Who can see it

Each email’s visibility is fixed when it is captured: the stricter of your organization’s default and your own setting on Settings > Email capture. You can choose a stricter setting than your organization’s, never a looser one. Whoever captured an email always sees all of their own copy.

VisibilityColleagues who can see a record the email is linked toOwners and admins
PrivateNothingOnly when it was sent and one outside person it was with
Subject and people shared (the default)The subject, who it was with, and whenThe same
Whole email sharedThe whole emailThe same

How long it’s kept

Captured emails stay in Horizon until one of these happens:

  • someone removes the email with Remove from Horizon;
  • you disconnect the mailbox from Settings > Email capture and choose Delete emails only I captured;
  • your Horizon account is deleted, for Private emails that only you captured (see Your data);
  • your organization is deleted.

Removing captured email

  • One email. In the activity on a contact, prospect, company, or deal, open the email’s menu and choose Remove from Horizon. If you captured it, your copy is removed and your mailbox won’t capture it again; a colleague’s copy stays. An owner or admin who didn’t capture it removes it for everyone, and no mailbox in the organization captures it again. Nothing changes in anyone’s mailbox.
  • Everything you captured. On Settings > Email capture, click Disconnect and choose Delete emails only I captured. Emails a colleague also captured stay. If you connect again later, the first sync can capture those emails again.
  • Stop for a while. Pause stops capture from your mailbox, and Resume starts it again.

Troubleshooting

IssueResolution
Connection shows Needs reconnectingOpen its menu and choose Reconnect, then approve everything Google asks for. Only the person who added a personal connection can reconnect it, and only an owner or admin can reconnect an organization connection.
Connection shows DisconnectedSomeone disconnected it, or Horizon’s access was removed at Google. Choose Reconnect from its menu.
A skill fails, or the connection’s page says This connection is missing permissionsClick Approve additional permissions on the connection’s page and approve the request at Google.
An agent can reach Calendar but not DriveThese are separate connections. Check the one that is missing is actually connected.
An agent cannot see a file or messageThe authorizing account cannot see it either. Share it with that account, or authorize an account that has access.

Disconnecting

Open the connection’s menu in Workspace > Connections, or its page, and choose an action. You can disconnect or delete your own personal connections. Owners and admins can disconnect or delete any connection.

ActionWhat happens
DisconnectHorizon deletes its stored tokens and keeps the connection, its name, and every agent’s link to it, shown as Disconnected. The dialog lists the agents that use it and offers to pause them until you reconnect. Reconnect restores it.
DeleteHorizon deletes its stored tokens and removes the connection for good, with every agent’s link to it. You type delete to confirm.

Google gives Horizon one permission per Google account, covering every Horizon connection made with that account. So when you disconnect or delete a Google connection, Horizon withdraws that permission at Google once no other Horizon connection uses the same Google account.

Disconnecting or deleting a Gmail connection here stops email capture from it and keeps the emails it already captured. To delete those too, disconnect from Settings > Email capture instead (see Removing captured email); that also deletes the Gmail connection it used.

You can also remove Horizon yourself at any time from your Google Account’s third-party connections page. If you use a Google Workspace account, your administrator can also remove Horizon for your organization. Horizon’s connections to that Google account then show Disconnected the next time they try to use it. Delete them in Horizon to remove their stored tokens as well.

Your data

  • Tokens. Horizon encrypts each connection’s tokens before storing them and never shows them to anyone. Disconnect and Delete delete them.
  • What agents read. Content an agent reads from Google stays in that agent’s conversation so it can finish the task. Section 1 of the Services Privacy Policy sets out what Horizon accesses from Google, who receives it, and how long it is kept.
  • What agents create. Drafts, events, and documents an agent creates live in your Google account, and you manage them there.
  • Captured email. See Email capture.

To delete your data:

  • One captured email, or all the email you captured: see Removing captured email.
  • Your Horizon account: follow Section 11 of the Services Privacy Policy. Your personal connections are disconnected and deleted at once, and Horizon’s access at Google is withdrawn as described in Disconnecting. Content that is yours alone, including Private emails that only you captured, is deleted 30 days later. Emails captured as Subject and people shared or Whole email shared are your organization’s records and stay, shown as captured by “Deleted user”.
  • Your organization: an owner or admin can delete it from Settings > Danger with Delete organization. Its connections are disconnected at once, and its content, including all captured email, is deleted 30 days later.
  • Anything else: email [email protected] from your account’s email address. We delete it within 30 days.

A Google account connected for your whole organization belongs to the organization. It stays connected after you leave or delete your account, until an owner or admin disconnects it.