Webflow#
Use the Webflow node to automate work in Webflow, and integrate Webflow with other applications. Ensemble has built-in support for a wide range of Webflow features, 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.
Credentials
Refer to Webflow credentials for guidance on setting up authentication.
Basic Operations#
- Item
- Create
- Delete
- Get
- Get All
- Update
Example Usage#
This Pathway allows you to create, update, and get an item from Webflow. This example usage Pathway would use the following nodes. - Start - Webflow
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
Ensemble
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
Ensemble
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 Execute Node 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.
- Enter
https://ensemble.ai/ensemble-logo.png
in the Value field. - Click on Execute Node 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 Execute Node to run the node.