Askel connects to your customer's Google Workspace account and generates or updates documents in their Google Drive. Your product can create contract drafts, onboarding guides, and reports as native Google Docs without any manual copy-paste.
Use the Docs API batchUpdate endpoint to create a new Google Doc with headings, paragraphs, tables, and inline formatting from your product's data.
Append or insert paragraphs, tables, and named ranges into a document that already exists in the customer's Drive, useful for appending audit logs or progress sections.
Fetch the full structural content of a document, including paragraph elements, table cells, and inline objects, for parsing or summarising.
Create sharing permissions via the Drive API to make a document accessible to specific users or groups within the customer's domain.
Create folders or move newly created documents into an existing folder using the Drive files.update call, keeping the customer's Drive tidy.
Download a Google Doc as PDF or DOCX using the Drive export endpoint, useful for archiving signed versions or attaching them to your product's records.
You sell a compliance training platform. Ridgeline Software signs a new enterprise contract and expects a customised onboarding welcome packet in their Google Drive within 24 hours of signing. The packet includes account details, assigned courses, and the point-of-contact name.
Ridgeline's Google Workspace admin completes OAuth in your product, approving the Drive and Docs scopes. Askel stores the refresh token.
Askel calls Drive files.list to enumerate the customer's top-level folders. Your CS team picks the Onboarding Documents folder as the destination.
Your product substitutes the account name, contract tier, assigned course list, and CS contact details into a document template using batchUpdate insert operations.
Askel creates the new Google Doc in the selected folder and sets the sharing permission so all users in ridgeline.software can view it.
Askel returns the Google Doc URL to your product, which stores it on the customer record and sends it to the primary contact by email.
The customer's Google Workspace admin or an individual user completes a standard Google OAuth consent flow, approving scopes for https://www.googleapis.com/auth/documents and https://www.googleapis.com/auth/drive. Askel stores the refresh token and handles silent renewal. No credentials are exposed to your codebase, and token refresh happens automatically.
© 2025 Askel.ai. All rights reserved.