Skip to main content

Saving Signed Agreements to Google Drive

How to use Zapier to automatically save signed agreement PDFs to Google Drive when an agreement is completed in Common Paper.

Written by Mark Frantz
Updated yesterday

You can use Zapier to automatically save a signed agreement PDF to Google Drive whenever a Common Paper agreement is completed. Once set up, every newly signed agreement is downloaded from Common Paper and stored in your Drive - no manual steps required.

NOTE: This Zap requires a paid Zapier plan. Webhooks by Zapier is a premium app and is not available on free Zapier accounts.

Requirements

Before building this Zap, you'll need:

  • A paid Zapier plan

  • A Common Paper API key (available in Settings > API Keys)

  • A Google Drive account connected to Zapier

Setting up the Zap

Step 1: Set up the webhook trigger

Create a new Zap and choose Webhooks by Zapier as the trigger app. Select Catch Hook as the trigger event and click Continue.

Zapier will generate a webhook URL. Copy that URL and add it as a notification webhook in Common Paper. For instructions on how to do this, see Notification webhooks.

Once the webhook is active, complete a test agreement in Common Paper so Zapier can receive a sample event. Use that sample to continue configuring the Zap.

Step 2: Filter for completed agreements

Add a Filter by Zapier step. Configure the condition as follows:

  • Field: Status (from Step 1)

  • Condition: (Text) Exactly matches

  • Value: completed

This ensures the Zap only continues when an agreement is fully signed. Events for other status changes - like "sent" or "viewed" - will be ignored.

Step 3: Download the agreement PDF

Add a Webhooks by Zapier action step and select GET as the action event.

In the URL field, type https://api.commonpaper.com/v1/agreements/, then use Zapier's variable picker to insert the Agreement Id field from Step 1, then type /download_pdf after it. The completed URL should look like this:

Under Headers, add one entry:

Key

Value

Authorization

Bearer YOUR_API_KEY

Replace YOUR_API_KEY with your API key from Settings > API Keys in Common Paper. Leave all other settings at their defaults (Send As JSON set to No, Unflatten set to Yes).

Step 4: Upload to Google Drive

Add a Google Drive action step and select Upload File as the action event. Configure the step:

  • Drive: My Google Drive

  • File: Select the file output from Step 3

  • File Name: Build a descriptive name using fields from Step 1 - for example, {Agreement Type} with {Recipient Name}

  • File Extension: pdf

Turn on your Zap. Going forward, every time an agreement is completed in Common Paper, the signed PDF will be saved automatically to your Google Drive.

Did this answer your question?