Lenin's ideas on the effect on Russian Revolution

Did Lenin's ideas have the effect on Russian Revolution or they came to the fore because they fit the dictates of economic interests and circumstances in Russia at the time?