Webflow Data Model
Webflow: the sites, pages, CMS collections and items, assets and forms of the Webflow sites a token may see, for reading and writing.
https://developers.webflow.com/data/reference/rest-introduction
Set up this platform in Invantive Cloud: https://cloud.invantive.eu/webflow
Text comparisons on this platform are case sensitive.
Platform
- Used from: Invantive Cloud and the Invantive products on your own computer or server.
- Kind: an application reached over its API.
- The data is partitioned, such as per company or administration.
- Data can be written as well as read.
- Invantive Cloud plans: Office for Entrepreneurs, Office for Accountants, Premium Finance, OEM.
- Status of the platform: https://status.webflow.com/.
Glossary
- Site: One website built in Webflow, with its pages, CMS collections, assets, forms and settings, published to one or more domains.
- Workspace: The team space in which sites are kept, together with the people who may work on them.
- Site Token: A key made in the settings of one site that gives an application read or write access to that site, per scope.
- Site Plan: The paid or free level of a site, which sets limits such as the number of CMS items and the API requests per minute.
- Publishing: Making the current staged state of a site or of CMS items visible to visitors on the live site.
- Staged and Live: The two versions Webflow keeps of CMS content: staged is the working version, live is what visitors see.
- Page: One page of a site, with its address, title, search engine and sharing texts, possibly in a folder or as a collection template.
- Collection: A CMS content type, such as blog posts or team members, with its own fields and items.
- Collection Field: One field of a collection, with a slug, a name and a type such as plain text, rich text, number, date, image, option or reference.
- Collection Item: One entry of a collection, such as a single blog post, with a value per field and a version per locale.
- Reference Field: A field that links an item to one item, or with a multi-reference to several items, of another collection.
- Locale: A language and region a site is offered in, such as nl-NL, with a primary locale and optional secondary ones.
- Asset: A file uploaded to a site, such as an image or document, stored on the content delivery network of Webflow.
- Form: A form on a page of a site through which visitors send data, such as a contact or sign-up form.
- Form Submission: One sending of a form by a visitor, with the moment, the locale and the value of each field.
- Custom Domain: A domain name of the customer, such as www.example.com, to which a site is published besides its webflow.io address.
- Component: A reusable piece of design, such as a header or a card, that is kept once and placed on many pages.
- Comment Thread: A discussion left by collaborators on a spot of a page or a CMS item, which can be resolved when settled.
- Custom Code: Scripts added to a site or a page, in the header or the footer, beyond what the Designer builds.
- Webhook: An address that Webflow calls when an event occurs on a site, such as a form submission, a publication or a changed CMS item.
- Product and SKU: An item for sale in a Webflow shop, with one or more SKUs that each carry a price and variant options.
- Order: A purchase in a Webflow shop, with its customer, lines, amounts and a status from pending to fulfilled or refunded.
Figures
| Figure | Count |
|---|---|
| Tables | 34 |
| Columns | 371 |
| Tables with insert | 9 |
| Tables with update | 5 |
| Tables with delete | 9 |
| Tables documented | 34 |
Data Model Poster
On a table of the poster: plus and minus zoom, the arrow keys move, 0 fits.
The poster as text: tables per topic and their relations
Site
AssetFolders, Assets, CustomCodeBlocks, RegisteredScripts, SiteCustomCodeScripts, CustomDomains, SiteLocales, Sites, Webhooks
Form
CommentThreads, FormFields, FormSubmissionValues, FormSubmissions, Forms, Pages
Collection
CollectionFieldOptions, CollectionFields, CollectionItems, Collections, LiveCollectionItems
Invantive
InvantiveTestAuthors, InvantiveTestPosts, InvantiveTestAuthors, InvantiveTestPosts
Other
OrderLines, Orders, ProductSkus, Products
Authorized (without relations)
Component (without relations)
Custom (without relations)
Ecommerce (without relations)
NATIVEPLATFORMSCALARREQUESTS (without relations)
Token (without relations)
Relations
- AssetFolders → AssetFolders (key)
- AssetFolders → Sites (key)
- Assets → AssetFolders (key)
- Assets → Sites (key)
- CollectionFieldOptions → CollectionFields (key)
- CollectionFields → Collections (key)
- CollectionItems → Collections (key)
- Collections → Sites (key)
- LiveCollectionItems → Collections (key)
- InvantiveTestAuthors → Collections (key)
- InvantiveTestPosts → Collections (key)
- InvantiveTestPosts → InvantiveTestAuthors (key)
- CommentThreads → Pages (key)
- CustomCodeBlocks → RegisteredScripts (key)
- SiteCustomCodeScripts → RegisteredScripts (key)
- OrderLines → Orders (key)
- OrderLines → ProductSkus (key)
- OrderLines → Products (key)
- ProductSkus → Products (key)
- Products → ProductSkus (key)
- FormFields → Forms (key)
- FormSubmissionValues → FormSubmissions (key)
- FormSubmissions → Sites (key)
- Forms → Pages (key)
- Forms → Sites (key)
- InvantiveTestAuthors → Collections (key)
- InvantiveTestPosts → Collections (key)
- InvantiveTestPosts → InvantiveTestAuthors (key)
- Pages → Collections (key)
- Pages → Sites (key)
- CustomDomains → Sites (key)
- SiteLocales → Sites (key)
- Webhooks → Sites (key)
Sample Queries
select cln.display_name collection_name
, itm.name
, itm.last_updated
from Webflow.Cms.CollectionItems itm
join Webflow.Cms.Collections cln
on cln.id = itm.collection_id
where itm.last_updated >= sysdateutc - 7
select fsn.display_name form_name
, trunc(fsn.date_submitted) day
, count(*) submission_count
from Webflow.Forms.FormSubmissions fsn
group
by fsn.display_name
, trunc(fsn.date_submitted)
select itm.collection_id
, itm.name
, itm.slug
from Webflow.Cms.CollectionItems itm
where itm.is_draft = true
select pge.title page_title
, cln.display_name template_of_collection
from Webflow.Pages.Pages pge
join Webflow.Cms.Collections cln
on cln.id = pge.collection_id
Attributes
The attributes of this platform are on the page Attributes.
Tables
Webflow.Assets
- AssetFolders: Asset Folders
- Assets: Assets
- CustomFonts: Custom Fonts
Webflow.Cms
- CollectionFieldOptions: Collection Field Options
- CollectionFields: Collection Fields
- CollectionItems: Collection Items
- Collections: Collections
- LiveCollectionItems: Live Collection Items
Webflow.Collections
- InvantiveTestAuthors: Invantive Test Authors
- InvantiveTestPosts: Invantive Test Posts
Webflow.Comments
- CommentThreads: Comment Threads
Webflow.Components
- Components: Components
Webflow.CustomCode
- CustomCodeBlocks: Custom Code Blocks
- RegisteredScripts: Registered Scripts
- SiteCustomCodeScripts: Site Custom Code Scripts
Webflow.Ecommerce
- EcommerceSettings: E-commerce Settings
- OrderLines: Order Lines
- Orders: Orders
- ProductSkus: Product SKUs
- Products: Products
Webflow.Forms
- FormFields: Form Fields
- FormSubmissionValues: Form Submission Values
- FormSubmissions: Form Submissions
- Forms: Forms
Webflow.LiveCollections
- InvantiveTestAuthors: Invantive Test Authors
- InvantiveTestPosts: Invantive Test Posts
Webflow.Native
- NATIVEPLATFORMSCALARREQUESTS: Native Platform Scalar Requests
Webflow.Pages
- Pages: Pages
Webflow.Settings
- AuthorizedUsers: Authorized Users
- TokenIntrospections: Token Introspections
Webflow.Sites
- CustomDomains: Custom Domains
- SiteLocales: Site Locales
- Sites: Sites
- Webhooks: Webhooks