Explore Plans
Mobile menu Close menu
WebflowWebflow

Create collection item

This action will create a collection item.

Developer info

API endpoint slug
webflow.create_collection_item
Filter code method
Webflow.createCollectionItem.skip(string?: reason)
Runtime method
runAction("webflow.create_collection_item", {})

Action fields

Collection ID Dropdown list

Label
Which collection?
Slug
collection_id
Required
true
Can have default value
false

Slug Text input > Other

Label
New item slug
Helper text
The slug of the new item, like "my-awesome-item"
Slug
slug
Required
true
Can have default value
true
Filter code method
Webflow.createCollectionItem.setSlug(string: slug)

Name Text input > Other

Label
New item name
Helper text
The name of the new item, like "My Awesome Item"
Slug
name
Required
true
Can have default value
true
Filter code method
Webflow.createCollectionItem.setName(string: name)

Other fields json string Text input > Other

Label
Other fields JSON string
Helper text
A JSON object in string format which contains other fields you would like to add to the new item.
Slug
other_fields_json_string
Required
false
Can have default value
true
Filter code method
Webflow.createCollectionItem.setOtherFieldsJsonString(string: otherFieldsJsonString)