Hi @Jairo Javier Baleta Cali ,
I'm glad to hear you solve the problem, That's exactly what I was trying to say after checking with you. The ID generated by your trigger "When an item is created" is the ID of the latest version.
By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others." and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:
Current status:
The issue has been solved. The solution is: This is the http request to get the most recent version of the item
_api/web/lists/GetByTitle('{list title}')/items({id}). This will be the same as using Get Item
You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.