Get last item on sharepoint

Hello. I need to get last item in list on sharepoint. But i can't solve it.Are you can tell me.

This relates to Node-RED how?

If I remember correctly, you can get the list length from SharePoint. Or you could do a search of the list to return the item with the highest index number or creation date.