Glean is launching Google Actions in Assistant. This feature will allow users to export any assistant response to Google Docs, Google Sheets and as a draft in Gmail.
Key Features
Export to Google Docs: All assistant responses will have an option to export to google docs, clicking on which a google doc will be created containing the entire assistant response, with the formatting preserved.
Export to Google Sheets: All tables generated in Glean Assistant will have an option to Export to Google sheets, clicking on which a google sheet will be created containing the table response, with headings preserved.
Export to Email: All assistant responses will have an option to export to email, clicking on which users will be taken to Gmail where they can view the assistant response as a draft email, with the formatting preserved.
Setup
Admins can enable this feature by going to Glean and navigating to Admin -> Actions
Click on Add Action and select Google Actions
Select the Google Drive datasource they want to link these actions to, this is the instance where docs/sheets would get created.
Setup authentication.
Authentication Setup:
There is a new Service Account that is created only for the Google actions, which is separate from the service account used for Google Drive connector. The Client ID for this new service account for you should be visible in the Google actions setup instructions.
Google’s DWD allows Glean to act on behalf of the logged-in Glean user to create documents/sheets or emails. Only the 2 scopes limited to creating new documents/sheets and drafting new emails are to be added here.
Documents are created on behalf of the logged-in Glean user, stored in the user’s drive and respect the default org settings for a new document (generally this is: create with Restricted access, only visible to the user/creator of the document)
Setup Instructions
Go to the Domain-wide Delegation section in Google Admin Console. You’ll need to be signed in as an admin.
Click “Add new” and paste the 21-digit Unique ID from below into the Client ID field. Here is your Client ID:
[Your client ID will be available inside the setup document in your Glean account]
Copy and paste the following into the OAuth scopes (comma-delimited) field and then click Authorize: https://www.googleapis.com/auth/drive.file,https://www.googleapis.com/auth/gmail.compose
If you would like to use only the Google Docs, Sheets actions and not the Email action - you can only add the https://www.googleapis.com/auth/drive.file scope above, and not add the https://www.googleapis.com/auth/gmail.compose scope when adding the OAuth scopes. The email export option will not show if the gmail scope is not added.
That’s it, you can now save this Action pack to enable these actions.
Once enabled, please go to Glean Assistant and try exporting an Assistant response to Docs. Sheets or Email.
Reach out to your CSM if the export options are not appearing or not working as expected. Excited to see you use this new feature!