How to delete Webflow CMS items using stored IDs from Memberstack when the ID becomes unfindable in Make? Answered
Hi all, I'm wondering if anyone can help with this problem. On my test site, when a new member is created, that member is also created as a CMS item in Webflow. When this item is created, its item ID is saved to a custom field in Memberstack. All of this is working fine.
When they delete their account, I want to delete that CMS item. As you can see, when they delete their account, Make registers this cms id, but in the next step, when I try to use that CMS ID to delete said item, it can no longer find it.


Comments
2 comments
Hi Sam,
The issue here is that when a member deletes their account, the custom fields (including the CMS item ID) can get wiped or become inaccessible almost immediately. That’s why the CMS ID isn’t available when you try to delete the item.
A good solution is to store the Memberstack ID and the CMS Item ID somewhere else (outside of Memberstack) right after the CMS item is created — for example, in an Airtable base or a Google Sheet)
This way, when the deletion trigger happens, you can look up the CMS ID based on the Memberstack ID you still have from the deletion event, and safely delete the CMS item.
I hope this helps.
Thanks Chukwudi!
Please sign in to leave a comment.