Ok so I’m moving across to make and one of the flows I’m trying to replicate from my existing automation system is enumerating my RSS feed for published articles, select one article at random, and post it to an external system (I’m using Telegram for testing).
Make flow so far:
To explain the flow I have so far:
Basically I have an RSS feed with 20+ items, it parses to an array aggregator to compile the bundles and generate a total count (IMTAGGLENGTH) which I’ve passed to the Tools node to select a random number in that range.
What I’m not quite understanding is how I can now pass that number as a choice to extract the Title and URL from the existing bundled RSS feed items.
The ideal flow in this instance would be as follows:
RSS > Array Aggregator > Tools > ??? > Post to Telegram
Any help would be much appreciated!!
Welcome to the Make community!
{{ first(shuffle(array)) }}
Better than using the random variable.
Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —
General
Help Center Basics
Articles & Videos
Partner & Custom Apps
samliew – request private consultation
Join the Make unofficial Discord server!
2 Likes
EDIT:
T̶h̶a̶n̶k̶s̶ ̶f̶o̶r̶ ̶t̶h̶e̶ ̶h̶i̶n̶t̶ ̶a̶n̶d̶ ̶t̶h̶e̶ ̶l̶i̶n̶k̶s̶,̶ ̶b̶u̶t̶ ̶I̶’̶m̶ ̶n̶o̶t̶ ̶s̶u̶r̶e̶ ̶w̶h̶e̶r̶e̶ ̶I̶’̶d̶ ̶e̶v̶e̶n̶ ̶p̶l̶a̶c̶e̶ ̶t̶h̶e̶ ̶a̶r̶r̶a̶y̶ ̶s̶h̶u̶f̶f̶l̶e̶ ̶i̶n̶ ̶t̶h̶e̶ ̶f̶l̶o̶w̶,̶ ̶a̶n̶d̶ ̶t̶h̶e̶n̶ ̶h̶o̶w̶ ̶d̶o̶ ̶I̶ ̶u̶s̶e̶ ̶t̶h̶a̶t̶ ̶s̶h̶u̶f̶f̶l̶e̶d̶ ̶r̶e̶s̶u̶l̶t̶?̶
Nevermind, I realised that I just needed to drop that into set variable tool and select the array.
All working now, thanks for the help!
1 Like