Short answer: great product, some marketing and a bit of luck. These things got Pipedrive to pass the 10,000 paying customers milestone earlier in the year.