Mar 20, 2020 05:07 AM
I posted this also on the Integromat community, but I’m just also sharing here in case anyone has any smart ideas…
Q: How to sync Webflow CMS items between Airtable & Webflow via Integromat
I have the below scenario in Integromat, which attempts to do the following:
The ‘update’ function works fine, but I can’t figure out how to get the filter for ‘if ItemID doesn’t exist’ to work properly. It creates multiple versions of the same record.
My filter is also attached as a screenshot.
Wondering if anyone has a similar scenario set up that they can help with / anyone can provide guidance on how to use Airtable as a CMS like this.
Solved! Go to Solution.
Jul 12, 2020 07:23 AM
Hi @Alastair_Budge1, sure! The filter I used was ‘Webflow ID Exists’ or Does Not Exist.
Here’s what I did:
I created a column in my Airtable, and named it ‘Webflow ID’.
I imagine for my case, there can only be two scenarios. Either the item is already in my Webflow CMS, or it’s not.
Every item that has been uploaded to the Webflow CMS should have this ‘Webflow ID’. (Note: there are two IDs in Webflow. One is ‘Webflow Collection ID’, another is ‘Webflow Item ID’). We want the ‘Webflow Item ID’. You can find it in your Webflow CMS Collection.
If the item has been uploaded to your Webflow CMS, the ‘Webflow ID’ Exists. So we’ll just need to ‘Update Item’.
If the item is a new entry in Airtable, it hasn’t been uploaded to your Webflow CMS, the Webflow ID would Not Exist. In this case, we’ll need to ‘Create Item’.
–
Hope this helps! Let me know if it works for you.
P.S. Not sure if you’ve read this, I found this post helpful!
Mar 20, 2020 05:13 AM
Hello @Alastair_Budge1 - I can help and sent you a DM. Chat soon
Jul 11, 2020 07:17 AM
Hello @cor, I’m using Airtable as a CMS for Webflow too, via Integromat. I’m having some difficulties with Create item / Update item filters.
If it’s not too much trouble, do you think you can post your flow here, please?
Jul 11, 2020 08:10 AM
Oh wait. Think I found the issue.
‘Item’ was set to ‘Airtable ID’. But it should be ‘Webflow ID’. Now it works!
Would you have some feedback for the flow here? Thank you!
Jul 12, 2020 03:32 AM
Out of interest, what filters are you using here @halfandhalfnot? That is the part that I struggled to get to work…
Would you be happy to share a screenshot of the ones to check whether a record does / doesn’t exist? Thanks :pray:
Jul 12, 2020 07:23 AM
Hi @Alastair_Budge1, sure! The filter I used was ‘Webflow ID Exists’ or Does Not Exist.
Here’s what I did:
I created a column in my Airtable, and named it ‘Webflow ID’.
I imagine for my case, there can only be two scenarios. Either the item is already in my Webflow CMS, or it’s not.
Every item that has been uploaded to the Webflow CMS should have this ‘Webflow ID’. (Note: there are two IDs in Webflow. One is ‘Webflow Collection ID’, another is ‘Webflow Item ID’). We want the ‘Webflow Item ID’. You can find it in your Webflow CMS Collection.
If the item has been uploaded to your Webflow CMS, the ‘Webflow ID’ Exists. So we’ll just need to ‘Update Item’.
If the item is a new entry in Airtable, it hasn’t been uploaded to your Webflow CMS, the Webflow ID would Not Exist. In this case, we’ll need to ‘Create Item’.
–
Hope this helps! Let me know if it works for you.
P.S. Not sure if you’ve read this, I found this post helpful!
Jul 14, 2020 12:05 PM
Nice stuff, that solves it - thank you!