I am trying to make a scenario where Make will load an RSS feed, it will then load items in my Webflow collection. I then want Make to create or update an item in my collection based on new or changed items in the RSS feed.
I now pull in the RSS data, then the Webflow data. Then 2 routes.
- When Title of article in RSS is the same as a Title in a Webflow item, then update the item.
- When Title of article in RSS is not the same as a Title in a Webflow item (it does not exist), then create a new item in the Webflow collection.
I thing I did it right, but it has issues defining the right ID I guess… Hope someone can help!
Hiya @Pim_Veger, I’m feeling that Webflow wants a page ID like A1B2C3 to update its content, than the page title.
I noticed that you’re listing all Webflow items which is inefficient as Webflow will continue to grow. And technically, that Webflow list, probably contains the Webflow entity id that you want.
As such I’m proposing a slightly different scenario structure.
When you create the Webflow page, right afterward, use a data store module to save the page title and Webflow ID.
Then when RSS items come in, search the data store for that record, when none, create the Webflow entry. When one, update the Webflow entry using the ID previously saved.
Good luck.
Thanks for the other approach! I think I did it right, the database is being populated through the rss feed. I then have a filter. Does ‘key’ excist, then update item. Does it not, then create item. But I still get an error when Webflow should update the item. I think it wants to know what item, so I filled in the key from the database. But I still get a 400 error: Provided ID is invalid…
Hi @Pim_Veger,
It looks like you are mapping the Datastore key as Webflow Item ID. Your Datastore key is the unique identifier for the record in Make. Webflow expects the unique identifier for the item in Webflow. And they don’t look similar in your scenario, the Item ID’s for items in Webflow look like this:
You can either save the Webflow Item ID in the record in Make so that you can use it for updating actions, or you can insert a Webflow module to search for items with the same title. Use a Make an API call module in combination with this endpoints to search on name: List Collection Items
Cheers,
Henk
1 Like