Get Recos from Typeform and create pages in Notion

Number of APIs: 6

In this collection, we will create a workflow with Typeform and Notion. Typeform is the perfect tool to collect data in a beautiful and conversational way. Notion is a second brain where you can drop and organize all your ideas, to use as a wiki for company knowledge or to organize personal projects.

Watch the livestream where we explore these APIs.

Prerequisites

To enjoy this collection fully you will need: - a Typeform account, create one for free here - a Notion workspace, create one for free here

What is in this collection?

This collection is divided in two folders: - Setup will guide you through different steps to configure both Typeform and Notion. - Automatic Update contains requests to get responses from Typeform and turn them into Notion pages.

Getting started

Before we can run all collection's requests we need to configure the collection with API credentials. 1. Fork the collection

Fork this collection to your own workspace. 1. Get Typeform token

In Typeform, go to the Account Settings page. Create a new personal token by clicking the Generate a new token button. You can either allow all scopes, or to be more secure, select custom scopes (e.g. Forms read, forms write, responses read). Copy the token and paste it as a value of the TYPEFORM_API_KEY collection variable in Qodex. 1. Get Notion token

Go to Notion's My integrations page. Create a new internal integration. Once integration created, copy the token provided by Notion to the NOTION_API_TOKEN collection variable in Qodex. 1. Add tokens to Qodex

Select your collection in Qodex. Then under the Variables tab, add your tokens under their respective collection variable keys.

Ready to hack 🎉

Everything is now in place to hack. For next steps, click on Setup below 👇

  1. Setup - Create form POST https://api.typeform.com/forms

  2. Setup - Pick a form GET https://api.typeform.com/forms?page_size=200

  3. Setup - Get parent page in Notion POST https://api.notion.com/v1/search

  4. Setup - Create Notion database POST https://api.notion.com/v1/databases

  5. Feed the database - Get Typeform Responses GET https://api.typeform.com/forms/{{TYPEFORM_FORM_ID}}/responses?completed=true&page_size=1000&after={{TYPEFORM_LAST_RESPONSE_ID}}

  6. Feed the database - Create Notion page in database POST https://api.notion.com/v1/pages