I’ve made progress, I added an aggregate node and that looks like it pulled the items into an array. Now I need to understand how to loop through the array and display the data in the single post.
The first attached workflow is fine, it retrieves the required bookmarks and outputs them as X items. Then, for each of these items, the WordPress node will be executed. You don’t need to worry about the loop; it is handled by n8n’s design.
In your second workflow, however, you are aggregating all the output items from the bookmarks into a single item and passing that to the WordPress node, which I believe is not what you’re trying to achieve…
The first workflow creates a separate WordPress post for each bookmark.
I’m trying to grab all bookmarks created in a week and create a list of the bookmarks on a single post.
Hmm, there is no simple solution that comes to mind right now, so I would use the Code node for this task to handle the appending and creation of the final list, and then pass the output to the WordPress node.
Here is a sample workflow, feel free to edit it to suit your needs.
The code was written with the help of AI, so you can also ask any AI to modify it further if needed.