So our customers have a bunch of different templates, a template for each of the kinds of different notifications they send. In each one of those, they have to kind of set up the rules. Like, here are the channels that we support. We support push, we support Slack, we support email, whatever. Let's say you have 40, let's say you have 100, let's say you have 200 templates. Who wants to do that over and over again? So I abstracted those rules out into something called a delivery strategy. So you can go create a delivery strategy, and then you can attach that delivery strategy to these templates. have to do it once. Amazing. I was sure the customers were going to be so thankful for this. Nobody understood it at all. I'm Troy Goode. I'm the founder and CEO of Courier.
This is Code Story, a podcast bringing you interviews with tech visionaries who share in the critical moments of what it takes to change an industry and build and lead a team that has your back. I'm your host, Noah Labhart, and today, how Troy Goode created the smartest and fastest way to deliver notifications. All this and more on Code Story. Troy Goode is based in San Francisco with his family of three kids. They are ages 10, 8, and 2, so they're back in diapers. He finds family life super rewarding and loves to go outside to the park and spend time with his family. His parents had a boat when he was growing up, and they lived in a rural area. He used to sail, as a spectator, not a sailor, down a nearby river in Virginia. As he got older, he missed the simple peace yet required work that came with sailing, so he picked it back up as an adult. He's worked on several startups as a VP of engineering and CTO And at one point he was building a collaboration tool And he was trying to mimic the hierarchy of Slack notifications He figured out it was not only difficult to build But every developer was recreating this in their solution He decided to solve this problem and build it one last time This is the creation story of Courier
So Courier is the fastest way for developers to build notifications for their app, whether that be email notifications for a web app, push notifications for a mobile app, SMS, in-app, maybe Slack or Microsoft Teams. If you're sending a message to your users from your app, right? So not user to user, not a marketing message, but your app communicating with your users, we want to be the kind of one-stop shop to make it as easy as possible to just plug it in. So the same API call that you would make to Courier to send an email is the same one that you would make to send an SMS, a Slack message, a push notification. So if I rewind back about 10 years, I was at a company called Eloqua, and I led the U.S. engineering teams. So I'm an engineer by trade, been in engineering leadership for quite a while. We had a great exit there, ultimately took the company public and sold it to Oracle, and we built marketing automation software. So, you know, messaging infrastructure for marketers. And our customers were typically tech companies. And after that, I went on and I was VP of engineering and CTO of a couple other startups. And what I kept noticing was that we had market automation systems in place. They were great. And what I noticed was that the product and engineering teams were still spending a lot of time building messaging infrastructure. They weren't able to use HubSpot or these other products for kind of the key, say, transactional and engagement notifications that our product was sending. It was just too much work and it was really targeted at a different audience. It was targeted at marketers. And there was an inflection point at one point where I had a team that was building a collaboration product. And we took a lot of inspiration, if you will, from Slack and how we built that. And one of the things that we were inspired by was notifications. notifications. Slack does, I think, a pretty amazing job at this. And nobody's perfect, but I think they're some of the best. You know, if I were to at mention you, you know, we were in the same Slack account. I said, hey, at Noah, looking forward to connecting later today. Well, that's only valuable to either of us or to Slack if you know that I mentioned you. And so the way they do that is they say, OK, Troy just at mentioned Noah. Is Noah inside the product right now? If so, let's send him an in-app notification. If he's not, but he He has downloaded the mobile app and accepted, you know, we've got the push token for him. Let's send a mobile push. And finally, we'll send an email if there's nothing else we can do. So I said, great, let's do that. Let's kind of mimic how Slack works. Pretty quickly learned that it's harder than you would think. Like I just described it in, you know, 20, 30 seconds. It takes a lot more time than that to build it. And it was going to take enough time that I decided I can't take the team and have them focus on this. I'm going to go buy this. So basically took out my checkbook, walked down to Twilio. have this? And I learned, basically, no, they didn't. They pointed me to a few services that I could spend a whole lot of time stringing together, went and talked to Amazon, same story. And long story short, realized everybody was building this themselves. And as an engineer, it felt like the don't repeat yourself violation. This is not something that everybody should be building themselves. Let's build this one last time.
Tell me about the MVP. Tell me about how how long it took you to build and what sort of tools you use to bring it to life.
I started the company in April 2019. And like a little bit of extra background, two weeks later, we were accepted into Y Combinator. The interesting thing there is, unlike a lot of YC companies, I didn't have any customers yet and I did not have a live product. My YC summer was spent hustling like crazy to not just get customers, but to have a product So it was a mad dash to build that MVP. I had like a little bit of working code before I applied, but not a ton. And it was really turned that into MVP. For the last 10 years, I've really loved JavaScript programming, TypeScript programming. I frequently write things in Node.js and React. That's what I picked for the initial MVP of Courier. And that is still what we're using today. So we used a Create React App to spin up the front end. Next.js, used Node.js with something at the time called AWS Amplify as kind of a serverless backend generator. We're still serverless, but we've eventually migrated to the serverless.com framework. That's really the tools that I used to build the MVP. And it was all hosted on AWS using kind of native AWS capabilities like AWS Lambda and DynamoDB.
With any MVP, you've got to to make certain decisions and trade-offs of what you can do in the short term, right? You got to cut features, you got to accept technical debt, things like that. So tell me about some of those decisions and trade-offs that you had to make and how you cope with them.
So like the way Courier works is, you know, a customer sends an API call to Courier. They also plug in the providers that they want to use for the channels they want to send to. So for example, let's say you're sending email and you want to use SendGrid as your email provider. So you would take your SendGrid API key, that Courier provides. And then when you send the API call to Courier, we do a few things, but one of the things is we route that message to the right channel for that user. We then template that message. So we take the data that you passed in as JSON, basically render a templated message using a template you create inside of that visual interface. And ultimately, we deliver it to that SendGrid account. There were three key things that had to work for the MVP. One is that API layer. The second was routing, queuing, basically able to accept all these messages and process them and ultimately like deliver the message. And then the third was that template layer. And the template layer is probably the thing that got dialed back the most in the MVP because I knew that I wanted a visual drag and drop builder for the templates. And that's pretty hard. I built one, but it was not particularly amazing. And that was one of the first things that as we staffed up, we had to go back and rebuild. old.
Well, then, so from there, how did you progress the product? You talk about rebuilding, you talk about, you know, moving the product forward and maturing it. How did you progress the product? And then, you know, I'm interested in too, how you built your roadmap? How did you decide what was the next most important thing to build?
A big part of what we do, right, is, as I mentioned, connecting to downstream providers like SendGrid. And so what I found when I first Courier around was I would quickly find, oh, okay, yeah, but this looks interesting, but I don't use SendGrid, I use MailGrid. So the first thing I did, I remember going to like the YC dinners, and as soon as dinner was over, it was like open my laptop out at the table, kind of like ignore everybody else and just add as many providers as I could. Because what I wanted to do, I wanted to make sure that when I talked to people, they told me that they didn't want to use Courier because they didn't think it was good or not important or something like that. Not because, oh, you don't integration I need. Building out those integrations was really key to that. Past that, there was a really instructive and influential article for me that I read a number of years ago about product management. And the summary of the article was that this author recommended taking every product idea that you have, whether you're coming up with it yourself or you're hearing it from the market, and being diligent about bucketing it into one of three buckets. One is game changers, One is showstoppers and the other is distractions. And basically game changers were, here are the things that if we build it, we have confidence that people will buy us because we built it. Showstoppers were, here are the things we have confidence if we don't build it, people will not buy us because we didn't build it, right? And the integrations I focused on initially were showstoppers. And then distractions are like everything else. And honestly, to this day, most of my favorite ideas and favorite features that I would love to have on the roadmap fall in the distractions bucket. And so this bucketing strategy was incredibly helpful for us to think about, like, what's the fastest way to pursue product market fit here?
Where did you get that bucketing strategy? Did you make it up on your own or was that something you followed?
Definitely not. It was just some random blog post. But it served us well. So hopefully, you know, big thanks to the author. Unfortunately, I don't remember who wrote that. I read it many years ago. But yeah, I read it online. online.
I can feel the engineer can relate to the engineer in you with the list of things that maybe aren't going to be the things you're going to work on or the things you really want to work on because they're the fun problems to solve. Well, let's switch to team. So how did you build your team? And I'm interested in what you looked for in those people to indicate that they were the winning horses to join you.
I was a solo founder, fortunate to raise a seed round pretty early so we had the capital to work with and the first like six hires were were all engineers right it was really the focus was this is a developer tool there's a lot to do here we need to have an amazing experience on multiple different fronts sdks api everything so it was really hiring for for engineers our first engineer riley she was somebody that like what i found was especially especially when you're so, so early, you have to be so aggressive in kind of pursuing somebody. I courted her pretty hard, right? Like what I found with her that is kind of the profile that I think is the right fit, especially for the first few folks, is she was experienced, right? So it wasn't a really junior position. She had quite a bit of experience. In our stack, I'm normally somebody who, I don't necessarily care a lot about how, you know, what particular programming language you have experience in. But I think for those first few hires, that is important because as time goes on, there's a bunch of onboarding processes that make some of this fungible. But early on, it's like, hey, you need somebody that's contributing day two, right? Day one is like ramp them up. Day two, all right, let's ship some features. So she had experience in the tech stack that we were using, and she had a real hunger for moving faster. So she was at a larger company. She'd actually been part of a smaller company that was acquired, really was frustrated by kind of the slowdown that comes with that acquisition process and being part of a larger company. She's amazing at, you find a problem, you hear things from customers that they're unhappy with, and you don't put it on a roadmap and solve it two months later. You figure out how can we resolve this for that customer today? And she just had that hunger. And that was, I think, the key thing that we were looking for, for many of our first still look for today.
So switch to scalability. Did you build this to scale efficiently from day one? Or are you fighting this as you grow?
We built it to scale from day one. That was important to me. I had the good fortune of, as I mentioned, having worked at a messaging company previously that dealt with incredibly large volumes of scale. So I knew from the beginning that this was going to eventually be a problem for us. And sometimes it's okay to be like, In our particular space, scale is not one of those things that you want to do that with. Because you can have a small customer that all of a sudden has a ton of scale coming through on one day. It's not a linear growth. And so we had to build it to scale immediately. And so we made the decision from the beginning to make this a serverless app. We don't have a single EC2 server. We don't have a single server of any kind. Everything is functional. So it's all Lambda functions processing messages off of queues and Kinesis streams. And we have pretty tight limits around the size of those functions and execution velocity and memory load. And that's something we've paid attention to since day one.
It's interesting, the serverless popularity that's going on right now. And you mentioned using Lambda. So how is the maintenance for Lambda functions or things like that, so to speak, versus servers? I get the value of a smaller set of functions, but as that gets larger, it seems like it'd be a lot to maintain. Can you talk about that?
Here's what I would say. I would say serverless is still at the point. If your product is not a really natural fit for it like ours is, I don't know that it's worth it yet, but it's getting there. I think for API products like ours or other products that can have huge spikes in demand that need to be serviced immediately, I think it's already the superior solution. I've been incredibly happy that we made that decision early on. I have not regretted it at all. But the debug experience, the deploy experience, the maintenance experience is demonstrably worse than just a traditional Rails app. So it can get complex. We spend a lot of time thinking about how to improve this. And it does take a lot of our cycles to build out infrastructure internally to make sure this all flows nicely. There's also a lot of community projects that are making this easier. So I mentioned earlier, we use serverless.com, which is kind of a framework to build this out as a monorepo. So it kind of starts to look like a monolith, but under the hood, it's being deployed as serverless functions. That does help a lot. I would definitely recommend using something like serverless. There's a few other variants of that that AWS offers. I'm sure there are others as well. Well, having some sort of management layer, I think, is key here, but it will not get you all the way to the point of simplicity as, say, just a monolithic Rails app.
So as you step out on the balcony and you look across all that you've built with Courier, what are you most proud of?
Definitely what I'm most proud of right now is the relationship that we have with our customers. You and I were introduced by one of our customers. And I think that as a team and as a product, we're incredibly focused on delivering value to those customers and building an amazing feedback loop with those customers. And this is one of those things where it sounds like silly because like, shouldn't everybody do this? But like demonstrably, most startups don't. And frankly, even some of the successful startups, I think, don't do this particularly well. And I have a few vendors that we use that I get really frustrated by because I see the experience that's being delivered to me and things like support and things like documentation where it feels to me like my relationship with them as a customer just wasn't valued very highly. We take that all the way to the other extreme as much as possible. You know, we set up shared Slack channels with customers, even customers that aren't even paying us. They're on our free tier. We are just hungry for feedback. Our engineers are participating in these conversations. Many of our customers know our engineering team by name and who's good at what. And they'll just be like, hey, so-and-so, could you help me with this? And we love that. We love that transparency, that openness. And we think that that's building a better product and a better company for ourselves and our customers.
Well, let's flip the script a little bit. Tell me about a mistake that you made and how you and your team responded to it.
There's been plenty, right? We're about two years old. And so we've got 365 times two mistakes, because I'm sure I make one at least once a day. I would say that there are company level mistakes, and then there are kind of the product level mistakes. A product level mistake kind of like that that was maybe a bit more specific to code is just getting abstractions wrong for our customers. And sometimes we do this with the best of intentions. And so I'll give you an example. early on when I was building that MVP, one of the things I thought as I was building out is I was like, hey, okay, so our customers have a bunch of different templates, a template for each of the kinds of different notifications they send. In each one of those, they have to kind of set up the rules. Like, here are the channels that we support. We support push, we support Slack, we support email, whatever. Let's say you have 40, let's say a hundred, let's say 200 templates. Who wants to do that over and over again? So I abstracted those rules out into to something called a delivery strategy. So you can go create a delivery strategy and then you can attach that delivery strategy to these templates. So, you know, don't repeat yourself. You only have to do it once. Amazing. I was sure that customers were gonna be so thankful for this. Nobody understood it at all. And I was really certain that this was the right thing to do. And I held on to this feature for way too long because I was like, but if we don't do it this way, you're going to be repeating stuff. I still think that that's a problem. But ultimately, customers didn't complain about the repeating themselves. They complained about not understanding how to set up and use the product. So eventually, I acquiesced and we removed the feature and we set it up the way that customers had asked. And surprise, surprise, they were much happier.
I can totally relate to that. approach. So I probably wouldn't be helping you too much in this with this mistake. I'd probably be fighting. It's probably good that we're not on the team together because we'd be fighting it together. So what does the future look like for your product and for your team?
Like one of the analogies I like to talk about is being essentially the digital communication version of the UPS store. So the holidays aren't too far in our past. Maybe you sent a gift to to a friend or family on the opposite coast. You know, you send something from Texas to Virginia. You have a package, a gift that you bought locally. You take it to the UPS store. You tell them the address of who you want to send it to. They give you a few attributes about price versus delivery time, things like that. You make the purchase and boom, the package goes and gets delivered to your friend or family. That's not the way digital communications works right now. The equivalent of digital communications is if you took it to the UPS store and they're like, awesome, Here's a hundred different UPS trucks we have. Which truck would you like it on? Which road would you like that truck to go down? Or would you rather use a train or a plane? You're really being hyper manual in how you instruct delivery. And so our goal is we believe that that's not going to be sustainable. We believe the proliferation of alternate channels is only just getting started and we'll continue to see more and more of those channels. So what we want to really do is build that solution that as a developer, you don't really have to worry about that. here's my message. I need to get this to Noah. And Courier can figure out what's going to be the best channel for Noah right this second, right? And that'll be based upon rules for sure, preferences for sure, but also like behavioral impact. Like what has Noah typically engaged in? As humans, we automatically do this, right? Like you and I have had conversations over a few different channels. As we get to know each other better, I bet we would figure out which of those those channels works best to contact Noah, and you would know which channel works best to reach Troy. Businesses and developers don't do this today. And that's what we want to change. We want to make it so easy that you just say, send this message to Noah, and Courier will figure out and remember for you, which is the best way to do that.
That is brilliant. I'm getting out my wallet right now and I'm just going to give you my money. Right now you
can sign up for free. I mean,
you know, as, as a developer, to worry about that is a great problem to solve already. But then as a startup founder, knowing that I can send messages and not have to worry about optimal timing or optimal channel, that is massive. So kudos. Thank
you. We're still early days, but that's where we're going.
Let's switch to you, Troy. Who influences the way that you work? Can you name a CEO, CTO, architect, to act, really any person that you look up to and why?
I think the biggest influence here for me, there's been quite a few, but the biggest influence for me was Suvijit Gupta, who was my manager at Eloqua. So he was the VP engineering there over top of both our US teams that I led as well as our Canadian teams. He was, and still is, he's the SVP of product R&D over at Eloqua. a company called Appian now that's doing incredibly well. But he really kind of transformed the way I look at building software and the way I look at building teams. One of the things I was amazed by is I'd worked for other CIOs, CTOs, VPEs, and so many of them used to be technical. And one of the things I loved about Suvijit was, even though he'd been working in the industry for a long time and he'd seen many different transitions to new technologies, He was always hungry to not just kind of understand trends and impacts at the high level, but like, hey, Troy, it's 6 p.m. Let's start hacking on like a side project. Let's pick something that we're not going to put a teammate on, like because it's just not high enough priority. And let's like pick a new programming language and try that, right? Let's really understand the pros and cons of the different ways to implement things and really kind of connect at that lowest level with the technology that we were building building. And that really is something that spoke to me as an engineer who was like, I was one of those reluctant engineering managers, right? And so it was like, oh, cool. Like I can code a little bit. Yes, let's do that. But also just in how that influenced the way that he would relate to the team, how you would better understand how you would help the engineers on your team, right? It's a lot easier to help them if you can actually dig into kind of the possibility space of a bug or of a new feature with them. He was an amazing leader. Still talk to him frequently and not as often as I wish I did, but view him as a mentor.
Well, if you could go back to the beginning, you know, we talked about mistakes earlier, right? But a little bit different spin. If you could go back to the beginning, what would you do differently or where would you consider taking a different approach?
The cliche thing here for a lot of engineer founders that I definitely fell into is not moving fast enough, early enough on marketing and just building awareness of the product. I was definitely in the camp of, let's get the product right. Let's make sure that everybody loves it before we really start preaching to the world about Courier. And that's basically what we did, was we waited until we felt like we had product market fit and customers were incredibly happy with us, high NPS, et cetera, before we said, okay, let's start to staff up marketing and things like that. I've definitely learned that that is a flywheel that takes time to spin up. better served, starting to spin that up when you're not ready so that by the time it's actually running and spinning around quickly, boom, you want that to be concurrent with your product being ready rather than having kind of this gap in between.
Well, last question, Troy. 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 in the plane. What advice do you give that person having gone down
First of all, I'd say they're off to a good start because they're excited to show me the product. And I would say that most of the really excitable young entrepreneurs that I end up talking to have a problem where maybe they're excited about the idea, but they haven't executed and built the thing. Obviously, that's like step one. Build the thing as quickly as possible. Get something into customer hands as quickly as possible. And then two, start telling the world. Right. So I think I did the first part of that. I did not do a good job at the second part. I think if you do those two things and if you pay attention to the YC kind of famous mantra, make something people want, that has stood the test of time for a reason. If you just focus on making something people want, if you create it quickly, like not just have an idea of something people want, but create something people want and then get into their hands, everything else kind of becomes a reaction to that, an output of that. But that is the input. You have to do that first.
That's great advice. Nice. Well, Troy, thank you for being on the show today. Thank you for telling the creation story of Courier.
Thanks, Noah.
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. Support the show on Patreon.com slash Code Story for just five to ten bucks a month. chance, leave us a review. Both things help us out tremendously. And thanks again for listening.