Skip to content

Typeform

Typeform is an online form and survey platform for building interactive forms and collecting responses.

Bruin supports Typeform as a source for Ingestr assets, and you can use it to ingest data from Typeform into your data platform.

To set up a Typeform connection, you need to add a configuration entry to your .bruin.yml file and create an asset file for data ingestion. You'll need a token (personal access token) to authenticate.

Configuration

Step 1: Add a connection to the .bruin.yml file

yaml
connections:
  typeform:
    - name: "my_typeform"
      token: "your-personal-access-token"
  • token (required): The personal access token used to authenticate with the Typeform API.
  • region (optional): The account region. Must be us (default) or eu.

For EU accounts:

yaml
connections:
  typeform:
    - name: "my_typeform_eu"
      token: "your-personal-access-token"
      region: "eu"

Step 2: Create an asset file for data ingestion

Create an asset configuration file (e.g., typeform.asset.yml) inside the assets folder:

yaml
name: public.typeform
type: ingestr

parameters:
  source_connection: my_typeform
  source_table: 'forms'

  destination: postgres
  • source_connection: The name of the Typeform connection defined in .bruin.yml.
  • source_table: The table to ingest from Typeform (see available tables below).
  • destination: The destination platform/type, for example postgres.

Step 3: Run asset to ingest data

bash
bruin run assets/typeform.asset.yml

Running this command ingests data from Typeform into your destination.

Available Source Tables

TablePKInc KeyInc StrategyDetails
formsidlast_updated_atmergeAll forms in the account with metadata (title, settings, theme, timestamps)
responsesresponse_idsubmitted_atmergeSubmitted responses with answers and metadata, collected per form
workspacesid-replaceWorkspaces in the account
themesid-replaceThemes available in the account

Use these as the source_table parameter in the asset configuration.

Getting a Personal Access Token

  1. Log in to your Typeform account.
  2. Go to your personal tokens settings.
  3. Click Generate a new token, give it a name, and grant at least read access to forms, responses, workspaces, and themes.
  4. Copy the generated token.