Random post selection from RSS to Social Media

I would like to learn how to build the following scenario,

  1. From an RSS source
  2. Select four (4) random Articles or Posts (date could be any) from the previous RSS
  3. Create a Post including image (if have any) of the Post on a Social Media channel(s)

I have found how to do with text but I am missing the random part and include the image

Any guidance or sample would be appreciated

You can aggregate the results into an array first, then shuffle and slice the first four items of the randomised array. Finally, you can Iterate the newly sliced array of four items.

For more information, see

samliewrequest private consultation

Join the unofficial Make Discord server to chat with us!