Capture and organize important project and customer details without slowing down for tedious copy-and-paste tasks! This template automatically adds each new entry received in Typeform as an item in your Notion database.

References :

Input

Import libraries

from naas_drivers import notion
from typeform import Typeform
import naas

Setup Typeform

TYPEFORM_ACCESS_TOKEN = "<TYPEFORM_ACCESS_TOKEN>"

# Unique ID for the form. Find in your form URL.
# For example, in the URL "<https://mysite.typeform.com/to/u6nXL7>" the
# form_id is u6nXL7.
FORM_ID = "<FORM_ID>"

typeform = Typeform(TYPEFORM_ACCESS_TOKEN)

Setup Notion

NOTION_TOKEN = "<NOTION_TOKEN>"

# <https://www.notion.so/naas-official/f89fddc31128400fab11001a215aff09?v=d84b89b704c7dssd432350cc273>
DATABASE_URL = "<DATABASE_URL>"

Setup Naas

# Schedule your notebook everyday at 9 AM
naas.scheduler.add(cron="0 9 * * *")

#-> Uncomment the line below to remove your scheduler
# naas.scheduler.delete()

Model

Get data from Typeform

# Get form Insight data
# <https://developer.typeform.com/responses/reference/retrieve-form-insights/>