Code Story · Transcripts

The New Notification Stack for Developers - Drew Youngwerth

March 29, 2023 · 13:43
Listen to the episode Download .txtDownload .vtt
Noah Labhart

Welcome back, listeners. Today we are continuing our series entitled The New Notification Stack for Developers, brought to you by our longtime friends and sponsors of the Code Story podcast, Courier. As a reminder, Courier is developer infrastructure for product notifications, making it easier to deliver the notification experience that your customers expect. Check out their product to learn more at courier.com. Well, today I have another special guest on the Code Story podcast, Drew Youngwerth. He's a senior software engineer at Courier and has spent the last 12, 13 years in software, working robotics, working in motorsports, and is today working on the automations portions of the Courier platform. Drew, thank you for being on the show today.

Drew Youngwerth

Thanks so much for having me.

Noah Labhart

Absolutely. Before we go too far into our topic for today, tell me and my audience a little bit more about you.

Drew Youngwerth

I'm originally from Boise, Idaho. My whole career started at a company called Recluse Motorsports, working on their inventory management system. And then from there, I was in robotics, automating small factories, helping robots make just tiny parts that were made out of CNC aluminum and that sort of thing. And now I live in San Francisco working for Courier. I love to play video games, work out. I have a dog that I love taking to the dog park. And then I also code for fun, believe it or not. I've got a few side projects. I'm building a programming language and that sort of thing.

Noah Labhart

Awesome. Well, let's dive into the meat of it a bit. So you're an engineer. You've got 12, 13 years experience being a software engineer. Tell the audience. So how much of an engineer's job is automating processes?

Drew Youngwerth

Oh, it's a huge portion of our job. So one side of things is just making user interfaces that look pretty. And I wouldn't call that automation, but I'd say pretty much everything else is automating processes. So in my current project, Automations, we're taking common repeated tasks and trying to break down the amount of work needed to accomplish those tasks. So for example, we're introducing a feature called Digests, where you'd probably need engineers to introduce a feature like Digest. And we're breaking that down to just a couple of nodes in a user interface. And that's the sort of thing that I'd say most software engineers do. They find things that require a lot of work, and they try to break it down into simple pieces and present it into users in a friendly way.

Noah Labhart

That makes a ton of sense. And I totally get that split there between, between processes and then UI, UX. With engineering, with building things, especially nowadays with no-code, low-code, things like that, there are a level of abstractions that enable you to move faster. How are Courier and automations the right level of abstractions for specifically notifications? So

Drew Youngwerth

Courier was founded on a realization that software startups and software services were building the same thing over and over again. They were starting with maybe one or two notification channels, and then they'd have more and more channels added over time. They'd have more features like localization added over time that eventually their company needed to scale up to an entire engineering team to build. And so Courier was built on those patterns so that Courier could be that notification engineering team. But there's only so much Courier can do alone to build a good notifications experience. And at some level, you're going to need to make a smart notification experience that's tailored for your specific product. product. But even then, there are still really common patterns like checking whether a message was delivered or if a user has completed some sort of event. Like maybe you want to send a notification reminding them that they have a cart full of stuff in your e-commerce site and you want to remind them to check out or clear the cart. Well, Courier Automations makes designing experiences like sending out those reminders or not sending out those reminders if the cart has been checked out. Super simple, something that scales to all skill levels. So maybe even a non-engineer can design those sort of experiences.

Noah Labhart

It brings up a thought for me from my side. So I'm CTO and co-founder at Variable. And we have notifications in our platform like any sort of SaaS platform today, right? And we notify our operators, we call them, our workers, when they are paid, when there are new opportunities available. And those are a little bit more loose types of notifications as far as timing. But then there are other that are more timing critical, like you have an op coming up, you have a work opportunity coming up. Is that kind of what this is? Is that what you're referring to when you say automations? Yeah,

Drew Youngwerth

so that is actually one of our big use cases. So we have made it in such a way that scheduling a notification schedule an event in a calendar app where we took inspiration from the event creation in Google Calendar because that is basically at the heart of what an engineer would do when they're building a notification scheduler. So yeah, that's a huge use case for automations. We have a whole schedule trigger that's designed just for that.

Noah Labhart

Really interesting because the scheduling aspect is critical and really important to even notify the people at the right time. How else are you seeing users and customers using automations?

Drew Youngwerth

There's a whole class of use cases that we're already seeing a lot of. You know, one of our biggest use cases is segment customers who intake segment events based on a user's action or what they're doing in their own product. And the best example, which I kind of alluded to earlier, is an e-commerce website that has a checkout experience. And, you know, when you add products to your cart, Segment might send an event and our customers can easily say, hey, I just got this event. I want to send this notification based on that event that we just received. They added that product to their cart and we think they might like these products, too. So we'll send them a notification using automations. And maybe they want to not send a notification every single time they add a product to their cart. So they can do something as simple as drag over the batching or the digest node and say, hey, here's all the products that they added to their cart. Maybe we want to perform some work. And after, you know, the end of the week, we'll send them a list of a few other products that they might find interesting. And so that is something that Courier has abstracted out in such a way that we hope a user experience designer or a product designer can build out with a visual designer that we constructed.

Noah Labhart

Oh, that's brilliant. I love it. But yeah, you mentioned Segment. After speaking with Seth and Ben a couple weeks ago or a week ago, it was really brought to light the power of the integration that Courier and Segment have and how existing Segment users and existing Courier users or new users for both can get up and running and connecting both of those platforms super easy. It's very, very powerful. I heard you previously had a version of automations that didn't really work out super well. What are some of the challenges you faced in implementing that? And how is this new version different?

Drew Youngwerth

We did. We had an earlier version. I think it took one of the goals of the automations product a little bit too seriously. And that is to design an experience that scales across all skill levels from the non-technical to the very technical. But they kind of focused on the non-technical to the point that it made what you could deliver with automations very restrictive. You could only add sequential steps. So you could say, all right, send a notification, wait five days and then send the next notification. but it was really difficult to break out of that box. So our next version, we wanted it to truly deliver on the scalability across all skill levels, but also all experiences. We took inspiration from what's out there today. The earliest example that I can think of that I have seen a UI or a flow-based programming system that we've now implemented was a game called LittleBigPlanet. When I was in eighth grade, it had a flow-based visual programming environment. And as an eighth grader, I could build my own levels in a video game that were really cool and responded to the character interacting with the environment. And then we see other products like Blender or Unity who use node flow-based visual programming editors. their users have a lot of success, even if they're not familiar with code or comfortable coding. And so we've taken basically this mature visual language of building smart interactive experiences, and we've applied it to the notifications abstraction that we've been talking about. And so now that game that I played as an eighth grader has carried over into helping customers built really advanced notifications experiences.

Noah Labhart

That's brilliant. And I think it makes a lot of sense. But also at the same time, that sounds like a ton of work. What does it take to develop something like that? Can you give me a little bit of an insight into the journey there?

Drew Youngwerth

Yeah, we really started with looking at prior art to see if there's any open source libraries out there that can assist us. And while we didn't find a whole lot in terms of the back end, we did find a really great library on the front end called React Flow that gives you really the foundation that you need to build a flow-based visual editor. So that gave us a huge head start. And then we also took advantage of really great AWS services like Step Functions, AWS Lambda, and Dynamo, and S3. And we kind of pieced those all together into a really scalable product. So I would say a good portion of our time spent was just research on what's out there. And then the rest was implementation. But it has been a wild ride for sure.

Noah Labhart

Being a software engineer for 12, 13 years, you know, you've done a lot of work. You've written a lot of code. And you're building something for engineers, which has got to be super rewarding. little bit about what is the most rewarding thing for you as being an engineer at Courier?

Drew Youngwerth

Oh, man, there's so much. I love going into the office and getting to hang out with like-minded engineers or even not like-minded engineers that give you a different perspective on how to tackle a problem. I found that super rewarding. And then, you know, working together with all of of our differences building up a product at this scale. This is probably the single largest product I've ever worked on. And, you know, I learned a ton. And we launched the initial version of this earlier in the month. And the reaction has been amazing. You know, we've gotten a lot of good feedback. And it's really cool to see the light in people's eyes and see, hey, you know, I think something with this. And then we'll get feedback like, hey, we want to build this feature using automations. How would you do that? And we'd walk them through, but also at the same time, realize that there's more opportunity, more room for improvement and more things that we can make a lot easier for our users.

Noah Labhart

That's amazing. Well, Drew, I really appreciate you being on the show today. I couldn't be more excited about the automations aspect and how it links in and provides the right level of abstraction for notifications through Courier. Great job on the product and I really appreciate you being on the show.

Drew Youngwerth

Yeah, thanks so much for having me.

Noah Labhart

Wow, this is super exciting. Courier releasing automation, so automating the processes that need to happen when you need to send a notification, enabling builders of all experience levels to get what they need out of their notifications. As a reminder, Courier makes it easier for you to deliver notification experience that your customers expect. To learn more about their product and get started today, check out courier.com. 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.