feat(next): add next function throughout route workflow