S6 E25: Why Webhooks are Broken: Building the Twilio for Webhooks with Tom Hacohen of Svix [0:00:00] Tom Hacohen: And then I realized that all she wanted was an easy way to send webhooks from the former service. And I'm like, well, you know, my current company, we've been asked to send webhooks all the time. And every time we said no, for the same reasons, like, oh, my God, you know, upfront cost is going to be terrible. Maintenance is going to be terrible. And then we have this like, beautiful product and beautiful API. And then we're gonna have to offer like a terrible webhook experience, because we don't have time to focus on that. Because like, it's a it's a whole product on its own. So I'm like, okay, that makes sense. And I just told her like, hey, if I build it for you, will you pay me? And she's like, yeah. And then it was like in a group chat. And someone else said like, yeah, I'll pay you as well. I'm Tom, founder and CEO of Svix. [0:00:47] Noah Labhart: 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. that has your back. I'm your host, Noah Labhart, and today how Tom Hacohen built the open source and enterprise ready webhooks as a service. All this and more on Code Story. For Tom Hacohen, coding started when he was nine years old. He took after school robotics classes, which required coding. But once he stepped into the programming aspect, he realized he didn't really care about robots anymore. Outside of tech, he surfs, cycles, and longboards, when the conditions are right. When asked where he likes to longboard, he prefers the roads on a sunny day for a long-distance longboarding in Tel Aviv. When a friend asked Tom a question about webhooks, he dug deeper into the problem and realized that for her solution, she just wanted an easy way to send hooks from her service. After she agreed to pay him to build it, along with several others, he found the validation to step into building the platform. This is the creation story of Svix. [0:02:09] Tom Hacohen: We do webhook sending as a service. So essentially, we help companies add webhook sending capabilities to the service. We help companies large and small, including including Brex, Lob, long-term stock exchange. You can think of it as like SendGrid or Twilio, but for webhooks. And for those who don't know what webhooks are, webhooks are essentially how services notify each other of events. So they're kind of like a server-to-server push notification. Most services you know use them already and offer them already, you know, to build integrations or to trigger, you know, workflows using no code, tools like Zapier or just code integrations. So one example would be Stripe. GitHub sends them, Shopify sends them, really any, any company you can think of, and we just make it easier for companies to send them. As for how we started, you know, I wish I could tell you I had this like, you know, I woke up one day or like an apple fell of my head, on my head, and I realized that this needs to be done. But it was, it just, like, a friend of mine asked a silly question, or a question that seemed silly at the time, about webhooks, and I'm just like, okay, this doesn't make sense, let's, you know, dig deeper. And then I realized that all she wanted was an easy way to send webhooks from the, from her service. And I'm like, well, you know, my current company, we've been asked to send webhooks, all like, to offer webhooks all the time. And every time we said no for the same reasons, like, oh my God, you know, upfront cost is going to be terrible, maintenance is going to be terrible, and then we have this like beautiful product and beautiful API, and then we're going to have to offer like a terrible webhook experience because we don't have time to focus on that own. So I'm like, okay, that makes sense. And I just told her like, hey, if I build it for you, will you pay me? And she's like, yeah. And then it was like in a, you know, in a group chat, and someone else said like, yeah, I'll pay you as well. And another one jumped in and said, we actually don't send webhooks, my current company, but the previous one we did, and I would be more than happy to introduce you to the team. So kind of like that gave me the initial validation to realize that's probably something there. I [0:04:05] Noah Labhart: love it. If I build it, will you pay me? That's a great question. [0:04:11] Tom Hacohen: believing them, but, you know, there's only so much you can do. Well, [0:04:17] Noah Labhart: Tell me about the MVP, so that first product you built, how long did it take you to build, and what sort of tools did you use to bring it to life? [0:04:24] Tom Hacohen: Common wisdom is to do like market research and more validation before you do that. I just realized that, you know, my quote, quote, founder superpower is building, so I just just like went on and built it. V1 was raw. It took, I think it took two days to build it. But you know, like as you send the emails and like let people know that it's ready, you keep like hacking, you know, in the meanwhile before they respond. We used FastAPI, Postgres, Docker, TypeScript and React. As I said, it took us like two days. I mean, it took me, I'm a sole founder. Yeah, that was like the hacky V1. It was fairly quick to get out. [0:05:00] Noah Labhart: Okay, so then with the hacky V1, right? any MVP V1, right? You have to make certain decisions and trade-offs about, you know, technical debt you're going to accept and, you know, trade-offs on features you're not going to build in the beginning. Walk me through some of those that you had to make in that V1 and how you coped with those decisions. [0:05:20] Tom Hacohen: I guess like the first thing is like, as you alluded to, is about cutting down scope. And so just like realizing what is the absolute core of the product that people would need. And for us, since we're an API product, that meant no UI, also meant no signup. Like why would people need to sign up? I know all the people that are using the product. So I had to send them an encrypted API key so that they can use. And it just like really, you know, removing all of that and just, you know, cutting down to the core. Again, as an API product, one thing we couldn't do, we couldn't break API. I mean, we could, and I think we may have briefly like in the beginning, but the aim was to accumulate technical debt everywhere else. Like we couldn't care, you know, that doesn't matter at all. Like the product could have been dead within the week. So like technical debt meant nothing. But technical API debt, I guess that's a term that we couldn't have accumulated. So that we made sure to, you know, to keep the same. But yeah, sign up, nothing. We had nothing, really nothing. Just like a basic API that you could use to create messages. [0:06:22] Noah Labhart: So, okay, you've got your MVP, right? How did you progress the product from there? Chirrut, and I think to kind of put that in a box a little bit, how did you go about building your roadmap and figuring out, okay, this is the next most important thing to build? [0:06:39] Tom Hacohen: Yeah, like, you know, like asking how the product progressed since the MVP. I mean, just literally in every single way. You know, we have like SDKs for a variety of languages. Now we have, you know, a stable API that scales with our customers. And, you know, we have a lot more customers than we did at, you know at point zero yeah just like everything changed and everything improved as for like how we build the roadmap it's almost like a cliche but like we realize that we only exist to serve our customers everything we do is based on what they need or what we think they would need and we've gotten like pretty good at anticipating what they'll need well that what they'll ask for before they do but even so we're like we wait for some signal from them so we like we may just start working on a feature but we just like wait for real signal from like a few customers before we do it. One other thing is that we're in like a bit of a unique situation there is that we're building something new and like essentially inventing a niche. So we didn't really have like any established competitors to learn from, which is like a double-edged sword. You know, in the beginning, I didn't have anything to benchmark us against. So like, okay, just a simple API is like more than enough. Like no one could just go back and say like, oh, company X has like way more. I'm not going to use you. No, we're just like, we are your only option essentially. So it was both good and bad, I guess, not having anyone to get inspiration from. [0:07:57] Noah Labhart: So let's switch to team then. So how did you go about building your team? And what did you look for in those people to indicate that they were the winning horses to join you? [0:08:07] Tom Hacohen: Obviously tapped my network, like literally pinged anyone. Almost, not my grandma, but almost to that extent, you know, with the job description. I just asked them like if they knew anyone. That worked quite well. Well, another thing was work at a startup, which is the YC job board. And that was pretty good. Reached out, called to people on GitHub, LinkedIn. All of those worked. But one of the things I like the most, and I don't remember where I heard it from, but I think it's actually from YC, is whenever a candidate rejected us or we decided to reject a candidate for whatever reason, it's just not a mutual fit. We asked them to introduce us to someone else like, hey, you know, this doesn't work. But do you know someone that actually may work? You know, to get great people on board. And actually, one of our best hires we got from that And as for, like, what am I looking, what do I look for in the team, you know, I'm a strong believer in company values, and so alignment with our values is essential. And the two big one that comes to mind is, like, always learning, and which essentially, like, don't have an ego. Like, okay, you were wrong, it's fine, let's move on, no need to like strice and defect it and just like dwell on it for a week. It's okay, move on, learn from it. And the other part is like good and concise communicators. You know, we work in distributed team, and I think one of the most exhausting things is going on a Zoom call with a team member, just goes on and on and on for like an hour, and just everyone is like, just like losing focus. And yes, I think those are very important to me. And like one thing that really grabs my interest is people that are passionate about coding, that's obviously a bias, but like from a young age or people that have been lucky are usually great hires, but obviously you can be like an amazing hire and start coding later on. So it's not, it's not a requirement, but just like a good first signal. We build tool for tools for developers. So if you're not passionate about coding, I don't think you can really empathize with our user base, with our customer base. So that's, that's another thing that's like very important to us. So this is not my first company, but in my previous one, I was a sole founder, sole employee, fully bootstrapped. I didn't have to deal with hiring and managing a team. And that was much easier, to be honest. It's just like maintaining culture takes a lot of direct effort and conscious effort. I try to refer to the values all the time. I lead by example. You know, I'm not above any of the values. I ask people to call me out. I am the first one to admit when I'm wrong. Always take every opportunity to learn. And just like if we live by the values, I think everything just like goes from there. And we also go on like offsites to make sure that, you know, like people are together in the same room and build that, you know, face to face aspect of the culture. [0:10:49] Noah Labhart: Well, let's flip to scalability. So did you build this to scale efficiently from day one in that V1 version you built? Or have you been fighting this as you've grown and gained traction? [0:11:01] Tom Hacohen: So I think V1 was fairly scalable because it was simple. If you have like a fiberglass race car body, it's like fairly easy to get it, you know, running fast, even without like a massive engine. As we added like more complexity and had like more customers, it kind of started. Actually, you know, it never showed it age, but it's kind of like started showing that we may need to like start thinking about scaling. And I gave a talk about it recently. One thing that I think we did, which was a mistake, we prematurely scaled things. So we realized, oh my God, we're growing at a certain rate. you know let's now go 100x that size already and just like not worry about scaling and that really slowed us down it was like really a foolish mistake you know like you just need to i think like scaling as the business scales is like much better than just like trying to re-architect things in advance which i really regret that mistake and also like because of the nature of our business we add a new cut company and all of a sudden we have all of the weight of that company so we add like you know lob all of a sudden we need to handle lobs full traffic which is They're like a large company. And so it's always been like a challenge to make sure that we can keep our standards as we add more and more large customers. [0:12:13] Noah Labhart: So as you step out on the balcony and you look across all that you've built, what are you most proud of? [0:12:20] Tom Hacohen: Oh, wow. So, you know, I wear multiple hats. So as an engineer, I'm very proud of our uptime and the work we've done to get there. I know that if anyone from the team makes a mistake, it's going to be caught by one of the automatic testing. all of our testing and just like the scalability and all of our redundancy and just to know that we can sleep at night and everything would be fine and that like if the test week passes we're going to be good like you know a bug is not going to hit production but as a non-engineer i guess as the ceo hat on i'm like extremely proud of the value we create for our users and our customers and it just it's still mind-blowing to me that this mvp that i built in two days as we talked talked about earlier, literally hacked together is now used by amazing companies, you know, that are household names and companies that I've always looked up to. I mean, obviously, we're not, we're no longer serving them that like hacky MVP. But it's still, you know, seeing that evolution is just mind blowing to me. And I'm really proud of that. [0:13:17] Noah Labhart: Well, let's flip the script a little bit. And you mentioned a mistake earlier, but I'm going to ask again, tell me about the mistake you made, whether it be that one or another one you want to mention and how you and your team responded to it. [0:13:28] Tom Hacohen: Yeah, I mean, I think the previous mistake that I mentioned, I don't think there's like a lot more to add. We just suffered for it. And you know, it was just like a lot of pain. And we had to, you know, change the architecture again, just to support everything just to support our team. It's always a bit uncomfortable to talk about. But there's like, it just I think this is very useful for like new CEOs, essentially. And you know, there was like an employee that was underperforming and was dragging the team down and damaging our damaging our culture, you know, which we talked about. It was like very important for the team. And, you know, it's always hard to let letting someone go, especially someone I've known from before. The mistake was I just took too long to let him go. And just like, you know, it wasn't a good fit for him. It wasn't a good fit for us. It was just like causing a lot of conflict. And yeah, I was pleasantly surprised by how the team responded, though. I thought like, oh, my God, you know, like a core member of the team, not being part of the company is going to like destroy everything. Everyone is going to want to leave. actually know, like people told me that they were wondering the same. You know, they felt that wasn't a fit and, like, was wondering why I wasn't making the call. So I guess, yeah, the important thing is Yeah, just do what you think, you know, what your gut tells you, even if it's the hard decision and don't like try to second guess your team because they probably are on it anyway. So [0:14:46] Noah Labhart: Well, what does the future look like for Svix, the product, and for your team? [0:14:52] Tom Hacohen: I'm a long time Linux user I've been using Linux for I don't know how long but many many many years. In the Linux world, in the Unix world, you have a lot of different services that interact in the Unix world again like it's a small binary so you output some command that has some output and then you pipe it to another command that filters it and then to another command that does something else. I think we're nearing that or we're already maybe in this future in the web for authentication and Stripe for billing and SendGrid for emails and Twilio for SMS and Svix for webhooks and Mux for video. And like the list goes on and on. And I think we're missing this, this layer of helping these services interact and interact reliably. So webhooks actually fill that gap, but you know, it's always been a pain to build them and most people get them wrong. So I think this is, you know, this is like the long-term, this is what we want. Like this is our place in world. This is who we are. Short term, yeah, a lot of really cool things. I don't want to, like, spoil too much or like, or commit to anything, like, be releasing immediately, but I can tell you what we just released recently. So we have automatic docs generation. You know, we already know what webhooks you send, we might as well, like, generate the docs for you. I mean, obviously, like a barebone version that you can annotate further, but that's, you know, that's something we do. We have an automatic Zapier integration builder. You know, Zapier relies on webhooks to operate, to trigger look at this apps, and we already know what webhooks you sent, we might as well build integration for you. So that's what we did. And we had like a community member contribute to our C-sharp library. We have a Rust SDK as well. Just like a lot of things. It's just like the list, the list goes on and on. And I guess like to segue from that, we are hiring for like strong Rust backend or just like full stack. So like Rust and React for TypeScript engineers. engineers. So if you want to help us reduce the backlog and help us get through the roadmap, we're hiring. Well, [0:16:50] Noah Labhart: Let's switch to you. Who influences the way that you work, you know, name a CEO, CTO, an architect, really any person you look up to, and why? I, I [0:16:59] Tom Hacohen: really, I look up, and I learn from so many people all the time. When you just look at other founders, right, and the founder that just finds a creative solution at the face of adversity, like, you know, the company's gonna gonna die and they find a solution, and the one that's like bold and decisive, and the one that's like a great public speaker, like kind of like Steve Jobs type, and, you know, the one that just like grinds, you know, in silence in the corner, just like gets more and more sales. There's just so many people even like around me that do amazing things, and I just try to learn, you know, the best from each of them. One thing that YC loves to say is, you know, average companies fail. So if you do something average, you know, if you're gonna be average, you're gonna fail as well. And I think to always, you know, look at the companies around me and see who does best at something and just like try to mimic that and learn from that and like get their advice. [0:17:47] Noah Labhart: Well, we talked about a mistake earlier, but a little different spin. If you could go back to the beginning, what would you do different? Or where would you consider taking a different approach? [0:17:57] Tom Hacohen: So I mean, first of all, the scaling thing that I mentioned, God, I wish we went like a different way there. And I So just to recap, we prematurely scaled for like 100x our current traffic rather than just, or try to scale to that, aim to that, instead of just saying, okay, we're here, we're growing at a certain pace, let's just do 10x and that should be fine for the next like, whatever long. That one, I wish, I wish we could have done differently. But other than that, I think, you know, like startup, or at least like for me, nevermind even the start of the company, like I learned so much from the mistakes. and just that made me more resilient and more, I mean, I'm better suited, I think, to continue running this company. So I can think like, you know, I've made a lot of mistakes, like really a lot. But now I know, you know, and the scars show it that, you know, I know not to repeat them. And it's kind of like almost, you know, like the butterfly effect. You know, if I go back and I change that mistake and I fix it and I just avoid it, like, will I have the scars to show it for it? And like, will I know to not repeat it when it really matters? I don't know. Try not to, you know, try not to time travel and not to change anything as much as I can. [0:19:08] Noah Labhart: Well, last question, Tom. 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? [0:19:23] Tom Hacohen: I hope it's transatlantic because I really have like a lot to say. Let me give you the gist of it. it. Okay, first of all, I guess setbacks all the time, like just, it's part of being a founder, just don't worry about them, just solve them if they're even worth solving, and just move on. You know, it's very easy to just like dwell on them for a few days. Yeah, just go on and just, and also remember like you're the rock that everyone depends on and gets cues from. So if you're stressed, everyone is stressed, if you stay cool, everyone is cool. You're gonna hit something like, you know, potentially company company destroying, like, every day. So just like get used to it, I guess. You know, in the beginning I used to think that there were like silver bullets. I thought I would just get this one hire, just sign this one deal, just do X, just, I don't know, and just after that everything will just be fine. And I guess it connects, actually, it's related to the previous point. They're just like, there are no silver bullets. They're gonna be like another thing like the day after, and once the, the highs is gone from after raising a big round or from doing a big sale and getting an amazing customer on board. It's back to company building. It's company to day-to-day roller coaster. One last one, I guess. And then, you know. So one of our partners, again, I go back to YC. It's really been formative for us as a company. So one of the advice that one of our partners gave the batch is that I still carry to this day. It's like, don't make excuses. So he was referring to investor updates when he gave this advice. Just like, you know, like, you know, investors don't like it when they just get like a long list of like why you didn't hit your targets. Just like hit your targets or, you know, stay quiet about it. But I actually took it a bit more, you know, widely. So I think most people fail at something and explain why they failed. And then they think they got a pass, right? I mean, you know, it's not my fault. I failed because, you know, the floor was crooked or because the wind, I had headwind or whatever. And they think that they're okay. And then that kind of like gives you almost a pass to yourself to fail. just like take excuses off the table and you just tell yourself okay i need either to execute and get the results that i want to get or just like outright say i failed and i'm sorry and i'm gonna learn and but you know we failed just that at least for me like just makes you the master of your own destiny and makes you much more resourceful because you now know that you're gonna hit the road back and you have to solve it some way and if you don't that's fine you failed it and maybe And maybe, you know, sometimes there's nothing you could have done, right? I mean, it's not, I'm not saying like hit yourself, you know, like blame yourself for everything, but just don't cop out with like a, you know, an easy excuse. Like you didn't hit your targets. That's fine. Maybe the targets were too ambitious. Maybe that. But the fact is you set those targets and those were not hit. And I think this, yeah, that was, it's just liberating for me. [0:22:08] Noah Labhart: That's great advice. Well, Tom, thank you for being on the show today. Thank you for telling the creation story of Svix. [0:22:15] Tom Hacohen: No, thank you very much for having me. [0:22:18] 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. Support the show on patreon.com slash Code Story for just $5 to $10 a month. And when you get a chance, leave us a review. Both things help us out tremendously. And thanks again for listening.