I’ve got an operation which pulls an RSS feed and either creates or updates a CMS item in webflow depending on if a data store recognizes it or not. Everything about creating an item and filter seems to work but I’ve run into a problem where the process will take the first item from the RSS feed and update every subsequent item in my webflow CMS to match that first item.
I think I’m still missing something. Is it not possible to map the item field of the ‘Get and item’ module? The only option is to select a pre-exsisting item in that collection which still prevents me from updating whatever item gets routed to the ‘Update and item’ module.
Okay I got it figured. Thanks @samliew, you were right about what I needed to do I just was a bit daft in implementing it.
I had to add the ‘Get an item’ module before the ‘update and item’ but the part that tripping me up was that I needed to select the collection and item manually, and in order to map the item ID I needed to also add a ‘Get a collection’ module earlier in the scenario.
So where I thought I had figured it out I, in fact, had not. I’m still struggling with overwriting all exsisting CMS items with the first item from the RSS feed.
Could you expound a bit on how I would merge the existing arry of items with the new item? I presume I would use a function in the ‘Update an Item’ module but I’m a novice and am unsure about which function to use or how to use it.