> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nekt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Webflow as a data source

> Bring your Webflow sites, forms and form submissions (leads), CMS collections and items, and pages to Nekt.

Webflow is a visual website builder and hosting platform with a built-in CMS and forms. This connector reads your Webflow site through the Webflow Data API (v2) and brings the site details, its forms with their field definitions, every form submission (the leads captured on your site, with all the fields of each form), the CMS collections with their items, and the pages of the site.

> [!NOTE]
>
> The connector only reads data. It never creates, changes or deletes anything in Webflow.

## Configuring Webflow as a Source

In the [Sources](https://app.nekt.ai/sources) tab, click on the "Add source" button located on the top right of your screen. Then, select the Webflow option from the list of connectors.

Click **Next** and you'll be prompted to add your access.

### 1. Add account access

The connector signs in with a Webflow **site API token**. A site administrator creates it in Webflow:

**1. Open the site settings**

In your Webflow workspace, find the site and click the gear icon to open its settings.

**2. Generate the token**

In the left sidebar, select **Apps & integrations**, scroll down to **API access** and click **Generate API token**.

**3. Choose the permissions**

Name the token (for example, "Nekt") and give it **Read** access to **Sites**, **Forms**, **CMS** and **Pages**. Each table needs one of these permissions (see [Fields by stream](#fields-by-stream)); if a permission is missing, the tables that need it are skipped and the others keep syncing.

**4. Copy the token**

Click **Generate token** and copy it.

> [!WARNING]
>
> Use a **site** token: workspace tokens cannot read site data. A site token belongs to one site, so create one source per site. The token expires after 365 days without use, which a scheduled source never reaches.

The following configurations are available:

* **API Token**: The Webflow site API token.
* **Start Date**: Earliest submission date synced to the **Form Submissions** table, on the first sync and on full syncs. The other tables are always read in full.
* **Region** (advanced): Keep **us** unless your workspace uses Webflow EU Hosting (`eu.webflow.com`, Enterprise plans). EU tokens only work with the EU API.

Once you're done, click **Next**.

### 2. Select streams

Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis. You can select entire groups of streams or pick specific ones.

> Tip: The stream can be found more easily by typing its name.

Select the streams and click **Next**.

### 3. Configure data streams

Customize how you want your data to appear in your catalog. Select the desired layer where the data will be placed, a folder to organize it inside the layer, a name for each table (which will effectively contain the fetched data) and the type of sync.

* **Layer**: choose between the existing layers on your catalog. This is where you will find your new extracted tables as the extraction runs successfully.
* **Folder**: a folder can be created inside the selected layer to group all tables being created from this new data source.
* **Table name**: we suggest a name, but feel free to customize it. You have the option to add a **prefix** to all tables at once and make this process faster!
* **Sync Type**: you can choose between INCREMENTAL and FULL\_TABLE.
  * Incremental: every time the extraction happens, we'll get only the new data, which is good if, for example, you want to keep every record ever fetched.
  * Full table: every time the extraction happens, we'll get the current state of the data, which is good if, for example, you don't want to have deleted data in your catalog.

Once you are done configuring, click **Next**.

### 4. Configure data source

Describe your data source for easy identification within your organization, not exceeding 140 characters.

To define your [Trigger](https://docs.nekt.com/runs/scheduling-and-triggers.md), consider how often you want data to be extracted from this source. This decision usually depends on how frequently you need the new table data updated (every day, once a week, or only at specific times).

Optionally, you can define some additional settings:

* Configure Delta Log Retention and determine for how long we should store old states of this table as it gets updated. Read more about this resource [here](https://docs.nekt.com/get-started/core-concepts/resource-control).
* Determine when to execute an **Additional [Full Sync](https://docs.nekt.com/get-started/core-concepts/types-of-sync#additional-full-sync)**. This will complement the incremental data extractions, ensuring that your data is completely synchronized with your source every once in a while.

Once you are ready, click **Next** to finalize the setup.

### 5. Check your new source

You can view your new source on the [Sources](https://app.nekt.ai/sources) page. If needed, manually trigger the source extraction by clicking on the arrow button. Once executed, your data will appear in your Catalog.

> [!WARNING]
>
> For you to be able to see it on your [Catalog](https://app.nekt.ai/catalog), you need at least one successful source run.

> [!NOTE]
>
> Webflow allows 60 requests per minute per token on Starter and Basic site plans and 120 on CMS, eCommerce and Business plans. Webflow cannot filter form submissions by date, so every sync reads the whole submission list of the site (about one request per 100 submissions) and keeps only the new ones in incremental syncs. A site with 10,000 submissions needs about 100 requests, under two minutes on the Starter plan; if new submissions arrive while the list is being read, the list is read a second time, so the sync can take twice as long. A submission that arrives during the read is synced by the next run.

## Fields by stream

> [!NOTE]
>
> Each Webflow form defines its own fields, and different forms often use the same field with different capitalization (`Email` and `email`, `Nome` and `nome`). That is why the submitted data arrives in **one JSON column**, `form_response`, with the field names exactly as Webflow sends them. Extract the fields in a [Query](https://docs.nekt.com/queries), for example `COALESCE(JSON_VALUE(form_response, '$.Email'), JSON_VALUE(form_response, '$.email'))` in BigQuery.

### Site

> [accordion] Sites
>
> The Webflow site the token belongs to.
>
> Table: `sites` · Primary key: `id` · Sync: Full table · Permission: Sites
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the Webflow site. |
> | `workspace_id` | String | Unique identifier of the workspace the site belongs to. |
> | `display_name` | String | Name given to the site. |
> | `short_name` | String | Slugified version of the site name. |
> | `created_on` | Datetime | Date the site was created. |
> | `last_published` | Datetime | Date the site was last published. |
> | `last_updated` | Datetime | Date the site was last updated. |
> | `preview_url` | String | URL of a generated preview image of the site. |
> | `time_zone` | String | Site time zone set under Site Settings (IANA name, e.g. America/Sao\_Paulo). |
> | `parent_folder_id` | String | Identifier of the workspace folder that contains the site, when it is in a folder. |
> | `custom_domains` | String (JSON) | Custom domains of the site (JSON array of objects with id, url and lastPublished). |
> | `locales` | String (JSON) | Primary and secondary locales of the site (JSON object with primary and secondary). |
> | `data_collection_enabled` | Boolean | Whether data collection is enabled for the site. |
> | `data_collection_type` | String | Type of data collection enabled for the site (always, optOut or disabled). |

### Forms

> [accordion] Forms
>
> Forms of the site, with the definition of their fields.
>
> Table: `forms` · Primary key: `id` · Sync: Full table · Permission: Forms
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the form. |
> | `site_id` | String | Unique identifier of the site the form belongs to. |
> | `workspace_id` | String | Unique identifier of the workspace the site belongs to. |
> | `display_name` | String | Form name displayed on the site. |
> | `page_id` | String | Unique identifier of the page on which the form is placed. |
> | `page_name` | String | Name of the page on which the form is placed. |
> | `form_element_id` | String | Unique identifier of the form element; shared by every instance of a form used inside a component. |
> | `site_domain_id` | String | Unique identifier of the site domain the form is served on. |
> | `created_on` | Datetime | Date the form was created. |
> | `last_updated` | Datetime | Date the form was last updated. |
> | `fields` | String (JSON) | Field definitions of the form (JSON, keyed by field id, each with displayName, type, placeholder and userVisible). |
> | `response_settings` | String (JSON) | What happens after a submission (JSON object with redirectUrl, redirectMethod, redirectAction and sendEmailConfirmation). |

> [accordion] Form Submissions
>
> Every submission of every form of the site (including forms used inside components). Incremental syncs send the submissions since the last sync (re-reading the last 3 days). A submission deleted in Webflow stays in the table, and a submission edited in Webflow more than 3 days after it was sent is updated, only on a full sync.
>
> Table: `form_submissions` · Primary key: `id` · Sync: Incremental (`date_submitted`) · Permission: Forms
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the form submission. |
> | `form_id` | String | Unique identifier of the form that was submitted. |
> | `site_id` | String | Unique identifier of the site the form belongs to. |
> | `workspace_id` | String | Unique identifier of the workspace the site belongs to. |
> | `display_name` | String | Name of the form as displayed on the site. |
> | `date_submitted` | Datetime | Date the form was submitted, used as the incremental replication key. |
> | `locale_id` | String | Identifier of the locale the form was submitted from; empty for primary-locale submissions or sites without localization. |
> | `form_response` | String (JSON) | Data submitted in the form (JSON object keyed by the form's field names, exactly as Webflow sends them; each form has its own fields, and the same field may appear with different capitalization in different forms). |

### CMS

> [accordion] Collections
>
> CMS collections of the site, with the definition of their fields.
>
> Table: `collections` · Primary key: `id` · Sync: Full table · Permission: CMS
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the CMS collection. |
> | `site_id` | String | Unique identifier of the site the collection belongs to. |
> | `display_name` | String | Name given to the collection. |
> | `singular_name` | String | Name of one item of the collection (e.g. Blog Post for Blog Posts). |
> | `slug` | String | Slug of the collection in the site URL structure. |
> | `created_on` | Datetime | Date the collection was created. |
> | `last_updated` | Datetime | Date the collection was last updated. |
> | `fields` | String (JSON) | Field definitions of the collection (JSON array of objects with id, slug, displayName, type, isRequired, isEditable, helpText and validations); the slugs are the keys of field\_data in collection\_items. |
> | `field_groups` | String (JSON) | Groups of fields of the collection (JSON array of objects with displayName, fieldIds and description). |

> [accordion] Collection Items
>
> Items of every CMS collection in the primary locale, including drafts and archived items.
>
> Table: `collection_items` · Primary key: `id` · Sync: Full table · Permission: CMS
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the CMS item. |
> | `collection_id` | String | Unique identifier of the collection the item belongs to. |
> | `site_id` | String | Unique identifier of the site the collection belongs to. |
> | `cms_locale_id` | String | Identifier of the CMS locale of the item (the site's primary locale). |
> | `name` | String | Name of the item (field\_data.name). |
> | `slug` | String | URL slug of the item (field\_data.slug). |
> | `created_on` | Datetime | Date the item was created. |
> | `last_updated` | Datetime | Date the item was last updated. |
> | `last_published` | Datetime | Date the item was last published; empty when it was never published. |
> | `is_draft` | Boolean | Whether the item is in a draft state. |
> | `is_archived` | Boolean | Whether the item is archived. |
> | `field_data` | String (JSON) | Content of the item (JSON object keyed by the collection's field slugs; see fields in collections for their names and types). |

### Pages

> [accordion] Pages
>
> Pages of the site in the primary locale, with their SEO and Open Graph settings.
>
> Table: `pages` · Primary key: `id` · Sync: Full table · Permission: Pages
>
> | Field | Type | Description |
> | :- | :- | :- |
> | `id` | String | Unique identifier of the page. |
> | `site_id` | String | Unique identifier of the site the page belongs to. |
> | `title` | String | Title of the page. |
> | `slug` | String | Slug of the page (derived from the title). |
> | `parent_id` | String | Identifier of the parent folder of the page. |
> | `collection_id` | String | Identifier of the CMS collection of a collection template page; empty for static pages. |
> | `created_on` | Datetime | Date the page was created. |
> | `last_updated` | Datetime | Date the page was last updated. |
> | `archived` | Boolean | Whether the page is archived. |
> | `draft` | Boolean | Whether the page is a draft. |
> | `can_branch` | Boolean | Whether the page supports page branching. |
> | `is_branch` | Boolean | Whether the page is a branch of another page. |
> | `branch_id` | String | Identifier of the branch, when the page is a branch of another page. |
> | `locale_id` | String | Identifier of the page locale. |
> | `published_path` | String | Relative path of the published page URL. |
> | `seo` | String (JSON) | SEO settings of the page (JSON object with title and description). |
> | `open_graph` | String (JSON) | Open Graph settings of the page (JSON object with title, titleCopied, description and descriptionCopied). |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.