There’s no Interface method available to click on the Next Ticket button to navigate to the next ticket automatically. It’s not possible via Rest APIs as it’s a UI operation.
I couldn’t find any alternative to achieve it. Let’s wait if anyone in the community has any suggestions.
I will also take this up as feedback to pass and pass it to the Freshdesk product team. I will post here if there’s any update on it.