For those who needs this later, you can set up http proxy and send a simple get request to https://api.ipify.org , it will give you the ip adress in plain text, no need to parse the json.
One of many simple and easy ways to do it.
This will fall in the same lines at the LinesFromFile but instead of Use Only Once, you will use them Unlimited if they are changing every X minutes. You can also add a WAIT to the usage of milliseconds after adding the resource. 300000 = 5 minutes