You would need to add an Odata filter to your Get-items to check that the created date is within the last 24 hours. Otherwise that looks to be about the right flow. Here's what you need.
1) add a compose action to generate a DateTime timespan that is 24 hours in the past in UTC. Use this formula.
addDays(utcNow(),-1)
2) add the following to the Odata query line in your Get Items
Created gt datetime'[Output from Compose above]'
That will retrieve all the items created in the last 24 hours.