This action will create a collection item.
- API endpoint slug
- webflow.create_collection_item
- Filter code method
- Webflow.createCollectionItem.skip(string?: reason)
- Runtime method
- runAction("webflow.create_collection_item", {})
Action fields
- Label
- Which collection?
- Slug
- collection_id
- Required
- true
- Can have default value
- false
- 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)
- 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)
- 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)