Notion Power Up> Labs Home
Sending Notion Content to Google Drive with Zapier

Sending Notion Content to Google Drive with Zapier

Sometimes you want to get content out of Notion and trigger something else.

This is where Power Up's Action Buttons come in.

Let's set up a button to send the current page as markdown to Zapier so you can save it in Google Drive.

1. Create your Zap

First, go to Zapier and create a new Zap.

The first step will use Webhooks by Zapier and for trigger event Catch Raw Hook

In the "Set up Webhook" part, you'll get the URL of the new Webhook. Grab that and copy it to the clipboard.

The second step in the Zap will use Google Drive with the action Create File from Text

In the "Customize File" part, choose your GD account, folder, and give the file a name. For the File Content use the Raw body token

2. Create the Action Button

Now head back to your Power Up account and create a new button.

Action Button Tag is ant string you want to name your button. This is for typing it into Notion.

In this example, I called it "tozp1". So to insert it into notion, I just type @[tozp1] anwhere

Button Text is what will be showing on the button in Notion.

The section under the save button explains how to enter it and how it shows up.

URL to POST to will be the Webhook URL we got from Zapier in step 1

Content is what we want to pass to the Zap


Here I'm passing the entire page as markdown, but you can choose which content to pass.

When you click on the Add Ingredient link, you can select from an array of different options, including text of the block above or below, text inside (if it's a toggle), etc.

3. Try it Out

Now that the button is defined, go to any page and insert the text for the button

Upon leaving the block, the text will become a button

And when clicking on the button, it will flash green, and seconds later, you'll have a new file in your Google Drive

This file now contains the markdown version of the Notion page, but what's even cooler, is if you have StackEdit connected, it will automatically open in StackEdit and show the plain text and rich text versions side-by-side

This blog was written in Notion and published using Power Up for Notion by Globi. Easy one-click publishing of your Notion content.