Code Story · Transcripts

S9 E2: The Embedded Payroll Fabric: Bypassing Legacy Monoliths with Developer-First Fintech APIs and Multi-State Compliance Rails with Juan Barroso, Co-Founder & CTO of Salsa

December 5, 2023 · 17:36
Listen to the episode Download .txtDownload .vtt
Juan Barroso

So the first thing that I did, I built an MVP to do product discovery. So it took me six to eight weeks and with this MVP, I validated the idea. I talked to a bunch of founders and SaaS companies and I got a lot of, oh my god, that's so cool. I would love to use it. So once the idea was validated and we go, I found a design partner. We went out and we raised money. And when we close our first round, we hired the team. We threw away the MVP, so we did a second one. My name is Juan Barroso. I'm CTO and co-founder at Salsa.

Sound bite

This is Code Story,

Noah Labhart

a podcast bringing you interviews with tech visionaries.

Sound bite

Six months moonlighting. There's nothing on the back end. Who

Noah Labhart

share what it takes to change an industry.

Sound bite

I don't exactly know what to do next. It took many goes to get right.

Noah Labhart

Who built the teams that have their back.

Sound bite

Teams help each other achieve. Most proud of our team.

Noah Labhart

Keeping scalability top of mind.

Sound bite

All that infrastructure was a pain. Yes, we've been fighting it as a group. Total waste of time.

Noah Labhart

The stories you don't read in the headlines.

Sound bite

It's not an easy thing to achieve, mind you. Took it off the shelf and dusted it off and tried it again.

Noah Labhart

To ride the ups and downs of the startup life.

Sound bite

You need to really want it. It's not just about technology.

Noah Labhart

All this and more on Code Story. I'm your host, Noah Labhart. And today, Juan Barroso is helping you launch your payroll product faster to help you grow revenue without the engineering hassle. Juan Barroso lives in the Bay Area but was born in Venezuela. He didn't grow up with technology around him as his father was a farmer and his mother was a seamstress. Neither went to university, but they made sure to push Juan to attend university and focus hard on his studies. It was during university that he fell in love with programming. But outside of tech, he likes to try new things and doesn't stick with one hobby for too long, other than traveling. Juan has been in payroll for many years, and during his tenure, he got the opportunity to build many engines and solutions for the industry. He realized that though one engine worked for one customer, others wouldn't be happy with that solution. He wondered if a payroll framework could be built to allow developers to build their own. This is a creation story of Salsa.

Juan Barroso

At Salsa, we build payroll infrastructure to make it easy for developers to build their own payroll products. So what we do is we serve a software platform that has thousands of businesses that already rely on this platform. And we help this platform to build their own payroll product. When they build their own Payroll product, they can sell this to their customers. We have a clear view. Today, every business is running on a software platform, and we believe that this platform will be the place where the employer will pay their workers. So to do this, what we offer are APIs, web components, and different building blocks to make possible building a Payroll product without having to spend years or millions of dollars. I started working in Payroll more than 10 years ago. And I started building a multi-country enterprise payroll engine. At that time, we helped multinational companies to have a single product to manage and pay their workforce. This company was acquired by Intuit later on. And I shifted gears into the small business payroll. And during this time, I was lucky to get to build a bunch of different payroll engines and really see what was scaling and what was working really. it was very frustrating because at QuickBooks, we did horizontal payroll solution. There was always somebody that was not really happy because the solution was not built for them. So at that moment, as an engineer, I had this aha moment. What if we build payroll infrastructure and let developers build experience on top of these APIs components so everybody can get like a tailored payroll product needs. And that's how everything started.

Noah Labhart

Let's dive into the MVP then. So that first version of the product you built, how long did it take to build and what sort of tools did you use to bring it to life?

Juan Barroso

When I started Salsa, there was like a new category. It didn't exist. So the first thing that I did, I built an MVP to do product discovery. I used Kotlin, Spring Framework, and I wanted to use GraphQL APIs because I think they're very easy to demo and to show the functionality. So I picked DGS, which is a framework maintained by Netflix to expose GraphQL APIs. So it took me six to eight weeks. And with this MVP, I validated the idea. I talked to a bunch of founders and SaaS companies, and I got a lot of, oh, my God, that's so cool. I would love to use it. So once the idea was validated and I found a design partner, we went out and we raised money. And when we closed our first round, we hired the team. We threw away the MVP, so we did a second one. One of the interesting things about payroll is that the MVP is really hard because payroll is a function made of thousands of different use cases. And when you miss a few of them, it may make it impossible to pay a worker. It was a bit hard, but we worked really hard. In five, six months, we were actually running our first paycheck, paying the first worker in the platform. And we basically leveraged the knowledge that I have from the first MVP. We stick with the tooling that the team was more proficient, which was we leveraged AWS. On top of that, we use Kotlin and Spring as our framework. And then we end using DGS as our GraphQL layer We really, it's very light, very easy to use. And then on top of that, we leverage React for our components and our internal tooling.

Noah Labhart

So with any MVP, you got to make certain decisions and trade-offs, right? Around, you know, feature cut, technological choice, which I hear you alluding to, or, you know, acceptance and feature limitation. Tell me about some of those that you had to make in the MVP in the early days and how you coped with those decisions.

Juan Barroso

One of the first things that we decided very early on is that we will focus on the customer-facing APIs and experience. And what it means is that there was a lot of manual work in the back office. When we launched, most of our tax operations were manual. We didn't have tooling in the back end. We had a bunch of Notion tables where we track the to-dos that the platform has to do in the back end to be compliant. So we definitely, it was painful as an engineer to see all that manual work, but I think it paid off. It allowed us to focus on one thing, do that very well. And then eventually we came back to those.

Noah Labhart

So you've got your MVP, it's working. You've made those hard decisions. You've worked through it. And now you're getting some traction. How did you progress the product and mature it from that point? And I think to wrap in a box a little bit, what I'm looking for is how you went about building your roadmap and what criteria you were using to decide, okay, this is the next to build or to address with Salsa.

Juan Barroso

We know payroll so well that it was really hard to pick the right priorities. We wanted to build everything. We have so many good ideas, but we have to find a way to stagger them and pick which one will be working first. What we're actually still doing today is we do planning per quarter. Every quarter, we try to focus on what we call a few big boulders. Big boulders are big features, big foundational things that will enable a set of new use cases. And then we keep some time, some space for iterating on existing features. So we look into these two buckets and every quarter we try to make investment on this. And then we really use two things to help us make decisions. Our sales conversation helps us to pick what are the big boulders, what are the things that the market needs the most. Customer give us a lot of feedback around what are the existing features that need to improve? What are the next improvements that we can make on those? And that's how we work every quarter to try to get the best that we can to make customer happy. So

Noah Labhart

I hear you saying we. Tell me about how you built your team. And what do you look for in those people to indicate that they are the winning horses to join you?

Juan Barroso

I mentioned that I was in payroll for over 10 years. and the reality is like when I knew that Salsa had to be built, I knew who was the right team too. I've been working with these people for many years. We spent so many afternoon nights drinking beers and chatting and reimagining what a new modern payroll infrastructure would look like that I knew that building Salsa had to be with these people. As soon as I raised our money, I went back and I tried to get those people. I remember that I had a spreadsheet with some faces that I thought were the first people that would be perfect to kick off Salsa. And later on, when I looked back, like 90% of those faces are actually in the team, which is very exciting. So, yeah, I definitely knew a team with a lot of experience, domain expertise, and a lot of passion that would be the winning horses.

Noah Labhart

Let's flip to scalability. And this will be interesting given the importance and kind of the cornerstone infrastructure of what you've built. Did you build this to scale efficiently from day one or, you know, at least with scale in mind? Or have you been fighting this as you grow in any sort of capacity?

Juan Barroso

We know that once you build a parallel engine or some parts of this, it's really hard to scale. so I like to think on scalability in two different dimensions one is the product having the abstraction that you need to grow into new use cases to grow into more traffic and more transactions and the other part is the like a pure scalability from the transactional perspective the cloud so we have been very careful with the abstraction building in a way that we know that use cases, new countries. And then on the other side, we are leveraging AWS. And we know what are the areas we're going to be scaling, when. My general rule of thumb is I like to be one order of magnitude ahead of what we have today. I'm always building scalability as we go, always going ahead of where we are today in terms of traffic, customer, and usage. So I guess the answer there is a bit of both. In some areas, we have been very explicit on building with scalability in mind. In others, we have been scaling as we build.

Noah Labhart

So Juan, as you step out on the balcony, you look across all that you've built, what are you most proud of?

Juan Barroso

I mentioned before that I've been working with this team for a long time. So I'm very proud to be able to put together such a team. team. Somebody like such a good team. And it's very humbling to have the opportunity to work with these people every day. And I'm very proud of the team, for sure. Probably the second thing is the product. When we started Salsa, we had this vision that we would make payroll easy to launch, easy to integrate, fast to launch. We were not quite clear what it meant at the time, but we knew that was the path. Today, we're in a place where we can launch, customers can launch in four, six weeks with one engineer. And that's very amazing. Going from zero to this was a lot of work, a lot of hypothesis, a lot of hard work. But I'm very proud that we're getting to this point when payroll is becoming easy to integrate and payroll is something that any developer can use. Yeah, I think I'm very proud of the product too.

Noah Labhart

Let's flip the script a little bit. Tell me about a mistake you made and how you and your team responded to it.

Juan Barroso

I think that we picked the reactive architecture. We're using Java Reactive. I don't think that was a good decision. I think the maturity of the Java ecosystem using Reactive is not there. Now that we're using Kotlin, coroutines are perfectly fine to scale the processing. So I think it was a mistake. And what we did was some people really got really deep, help us build some utils to reduce the pain across the team. And now we're building towards moving out of Reactive. It's a project that we're working on, and we probably will just change the technology. We felt excited to try. On paper, it looks very good, but in practice, I don't think it was a good decision. Maybe outside of the technical side, we started the company with organic acquisition of customers. Basically, we will just be waiting for the inbound. lot of people knocking into our door that wanted to try the product. We never really put a lot of emphasis on outbound. When you do outbound, it's way easier. You can control the quality of the customers you're getting. And that's something that we realized later on. And what we did is just switch gears and really started to be super active on outbounds and trying to get out and find our ICP. Even though when we're still having people knocking on our door and we still work with them, but we really become more active on finding the right customer for us.

Noah Labhart

So this will be fun. It'll be fun to hear the passion in your voice as a founder. Tell me what the future looks like for Salsa, the product, and for your team.

Juan Barroso

There is so much that we can do. There is so much potential. In general, we're very excited to start expanding to new countries. There are not many federal infrastructure companies out there, and there is none that actually can be a multi-country. So I think we have the team to build that. So I'm very excited to go into that path. What I'm more excited about is to make payroll more flexible. And I really want to see innovators, builders, deciding what payroll should look like. I want to see payroll in a way that we never have seen. I'm very excited for the new generation of payroll applications that will change the way how workers get paid.

Noah Labhart

Okay, let's switch to you, Juan. Who influences the way that you work? person or many persons or something you look up to and why?

Juan Barroso

I would probably start my first job as a software engineer. And I joined a team of really passionate engineers. I was out of college, first job, and this group introduced me to XP practices like TDD. And with this group, I learned about Martin Fowler, Kent Beck, Uncle Bob, Robert C. Martin. And I got immersed into this world of these people that the way how they talk about software really resonated to me. The they talk about focusing on value, reducing waste. It felt like that was the way to build software. And that was not what I was learning during the university. So I think these people was a big inflection point. And I really appreciate that. And definitely from that, some of the people that I mentioned, I think Martin Fowler came back. All these people have so many good books and spent so many hours watching their tech talks. And I think that was a strong foundation for me that I really define how it works today.

Noah Labhart

Okay, Juan, last question. So you're getting on a plane and you're sitting next to a young entrepreneur who's built the next big thing. They're jazzed about it. They can't wait to show it off to the world. Can't wait to show it off to you right there on the plane. What advice do you give that person having gone down this road a bit?

Juan Barroso

In this journey, the high are very high and the low are very low. But I think you need to acknowledge that it's part of the journey and really embrace the whole journey, the ups and the downs. At the end of the day, nothing is as bad as it looks like. that are not as good, but you need to enjoy every single step along the way. That's something that I will definitely tell anyone starting the journey. There is a lot of people that tell you what to do, or you read these books where everything seems to be done in one way, in the perfect way. You can get obsessed with what is the right way. Just find the way that works for you. There are different ways to be successful. There are different ways to build a product. Go out, learn from others, but find your way.

Noah Labhart

That's fantastic advice. Well, Juan, and thank you for telling the creation story of Salsa.

Juan Barroso

Thanks, Noah. Thanks for having me.

Noah Labhart

And this concludes another chapter of Code Story. Code Story is hosted and produced by Noah Labhart. Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.

Transcribed with Whisper and reviewed for names and terms; speaker labels are automatic and may contain small errors. Timestamps link to that moment of the transcript.