Updating a Webflow Reference field simply requires passing the Webflow Item ID into the field.
Easy.
For a Webflow Multi-Reference field, if passing in more than one value, it requires an array (to the best of my understanding).
This is where I’m stuck…
I am pulling a list of IDs from my source data (ClickUp label field), and then I have an Iterator passing each ClickUp label ID to a switch statement within a Text Aggregator module.
The switch statement is matching the ClickUp Label ID with the corresponding Webflow ID (I manually wrote the switch statement matching the IDs). What I end up with is a comma separated list of Webflow IDs.
I now need to package those IDs into an array, that I can then use in my Webflow Update Item module. This is the part when I’m lost.
As the screenshot shows, I have a router where I intend to process each label field through an Iterator and a switch statement, then setting the value in a variable, which I will then use a Get Multiple Variables module prior to the Update Item module.
This process allows syncing label or multi-select fields with Webflow and is key for anyone using ClickUp, Airtable, Notion, etc. I haven’t found much info on this process anywhere.
To update an item, you need to search/get that item first.
See which Webflow module allows you to search for the item that you want to update.
samliew – request private consultation
Join the Make Fans Discord server to chat with other makers!
1 Like
No, updating the item works just fine. The Webflow ID is passed from module 01. All fields update just fine, with the exception of the ClickUp label fields to the Webflow Multi-Reference fields.
Answering this post will require familiarity with Webflow Multi-Reference field structure particularly.
Have you found the answer to this?
I did figure out a solution, although it’s a bit manual rather than dynamic.
It requires creating a branch from the router:
Iterator: pass the field array.
Text aggregator: use a switch statement and then passes on the array value. The switch statement needs to pair the IDs. You’ll need to pull the IDs from both sources and manually setup the switch statement. In the future, if any additional field values are added, you’ll have to be sure to update the switch statement.
Set Variable: set the variable value to the value from the text aggregator.
Back in the main workflow you’ll need a Get Variable
Ideally, I’d like to create a workflow that more dynamically pulls values and matches the IDs based on the field name matching.