Google Docs

The Google Docs connector enables easy and secure data synchronization between your application and your customers’ Google Docs accounts through unified data models.

Authorization

import { Morph } from "@runmorph/cloud";

const morph = Morph({ publicKey: "pk_demo_xxxxxxxxxxxxxxx", secretKey: "sk_demo_xxxxxxxxxxxxxxx"}); 

// create a new connection
const connection = morph.connections({ connectorId: "google-docs", ownerId: "demo" });
await connection.create({ operations:[ "genericContact::list" ]});

// auhtorize the connection
const { auhtorizationUrl } = await connection.authorize();

// redirect the user to the auhtorizationUrl

Models

Generic

Custom

Supported
Can’t find the unified model you need? The Google Docs connector supports your own custom model.

Webhooks

Proxy

Supported
The Google Docs connector supports our Proxy Request feature, allowing you to directly call any endpoints from Google Docs’s public API without needing to handle authentication. Your customer’s token will be automatically set and refreshed as needed, enabling quick implementation of custom connector behaviors. View API Reference.