Webflow
The Webflow node allows you to automate work in Webflow, and integrate Webflow with other applications. Robbot Automation has built-in support for a wide range of Webflow credentials, including creating, updating, deleting, and getting items.
On this page, you'll find a list of operations the Webflow node supports and links to more resources.
!!! note "Credentials" Refer to Webflow credentials for guidance on setting up authentication.
!!! note "Examples and templates" For usage examples and templates to help you get started, take a look at Robbot Automation's Webflow list.
Basic Operations
- Item
- Create
- Delete
- Get
- Get All
- Update
Example Usage
This workflow allows you to create, update, and get an item from Webflow. You can also find the workflow on Robbot Automation. This example usage workflow would use the following nodes.
1. Start node
The start node exists by default when you create a new workflow.
2. Webflow node (create: item)
This node will create a new collection of the type Team Members
in Webflow. If you want to create a collection with a different type, use that type instead.
- First of all, you'll have to enter credentials for the Webflow node. You can find out how to do that here.
- Select 'Create' from the Operation dropdown list.
- Select your site from the Site ID dropdown list.
- Select 'Team Members' from the Collection ID dropdown list.
- Click on the Add Field button.
- Select 'Name (PlainText) (required)' from the Field ID dropdown list. If you're using a different collection type, select the field present in that collection.
- Enter
Robbot Automation
in the Field Value field. - Click on the Add Field button.
- Select 'Slug (PlainText) (required)' from the Field ID dropdown list. If you're using a different collection type, select the field present in that collection.
- Enter
Robbot Automation
in the Field Value field. - Click on the Add Field button.
- Select 'Archived (Bool) (required)' from the Field ID dropdown list. If you're using a different collection type, select the field present in that collection.
- Enter
false
in the Field Value field. - Click on the Add Field button.
- Select 'Draft (Bool) (required)' from the Field ID dropdown list. If you're using a different collection type, select the field present in that collection.
- Enter
false
in the Field Value field. - Click on Save to run the node.
3. Webflow1 node (update: item)
This node will update the item that we created using the previous node.
- Select the credentials that you entered in the previous Webflow node.
- Select 'Update' from the Operation dropdown list.
- Select your site from the Site ID dropdown list.
- Select 'Team Members' from the Collection ID dropdown list.
- Click on the gears icon next to the Item ID field and click on Add Expression.
- Select the following in the Variable Selector section: Current Node > Input Data > JSON > _id. You can also add the following expression:
{{$json["_id"]}}
. - Click on the Add Property button. Click on the Add Field button.
- Select 'Name (PlainText) (required)' from the Field ID dropdown list. If you're using a different collection type, select the field present in that collection.
- Click on the gears icon next to the Field Value field and click on Add Expression.
- Select the following in the Variable Selector section: Current Node > Input Data > JSON > name. You can also add the following expression:
{{$json["name"]}}
. - Click on the Add Field button.
- Select 'Slug (PlainText) (required)' from the Field ID dropdown list. If you're using a different collection type, select the field present in that collection.
- Click on the gears icon next to the Field Value field and click on Add Expression.
- Select the following in the Variable Selector section: Current Node > Input Data > JSON > slug. You can also add the following expression:
{{$json["slug"]}}
. - Click on the Add Field button.
- Select 'Archived (Bool) (required)' from the Field ID dropdown list. If you're using a different collection type, select the field present in that collection.
- Click on the gears icon next to the Field Value field and click on Add Expression.
- Select the following in the Variable Selector section: Current Node > Input Data > JSON > _archived. You can also add the following expression:
{{$json["_archived"]}}
. - Click on the Add Field button.
- Select 'Draft (Bool) (required)' from the Field ID dropdown list. If you're using a different collection type, select the field present in that collection.
- Click on the gears icon next to the Field Value field and click on Add Expression.
- Select the following in the Variable Selector section: Current Node > Input Data > JSON > _draft. You can also add the following expression:
{{$json["_draft"]}}
. - Click on the Add Field button.
- Select 'Avatar (ImageRef)' from the Field ID dropdown list. If you're using a different collection type, select the field present in that collection.
- Click on Save to run the node.
4. Webflow2 node (get: item)
This node will retrieve the information about the item that we created earlier.
- Select the credentials that you entered in the previous Webflow node.
- Select your site from the Site ID dropdown list.
- Select 'Team Members' from the Collection ID dropdown list.
- Click on the gears icon next to the Item ID field and click on Add Expression.
- Select the following in the Variable Selector section: Current Node > Input Data > JSON > _id. You can also add the following expression:
{{$json["_id"]}}
. - Click on Save to run the node.