Random and automatic walks