Transcript for:
Day in the Life of a Startup Founder in New York City

[Music] [Applause] [Music] hey how you doing uh can I please get a small flat white to [Music] go okay it is officially the 4th of July here in newk New York City look at this absolutely no one out I'm still going in I got stuff to do we got a couple of Dev club members coming into the office this morning and also I'm going to see if I can finish off this WhatsApp integration just before the end of the week it is a Thursday we're leaving on Saturday morning it's a little bit weird got only 48 hours left before we're leaving but that's okay we've still got time to get some things done welcome back to another day in the life of a startup founder building here in New York City and I can only say that for a few more days guys all right let's go [Music] [Applause] [Music] it's a bit weird like this might be it have a lot of good memories here like I came started coming to this office early FIB when I got dragged in by a mutual friend who also got laid off it's a bit strange this place used to be just full of people and obviously there's no residen on right now there's no one here it's 4th of July people are just away I guess and also the the program's over but it is a little bit weird like I've done a lot of work on this desk right here and like a lot of things have been achieved which is really cool out of kind of thin air and all just using a laptop this is why I like software engineering you are so free like this is this is all I need I just need this I just need some coffee and I need a laptop and my airpods that is necessary I'm a big podcast guy while I'm working parve and I from day one sat there it's been a great Spot Great natural light you can tell oh well you can tell we live in New York great natural light means internal view with sun reflecting oh there's a little bit right there but for filming and just like working it was a really good space but yeah we had Jeff and some of the team sitting over there really nice just like open space in the middle of flat iron here in New York for the working space alone such such a cool office um and then you've got all the people and the programs they run as well which is super awesome so in the last Vlog I was this is so awesome I love having an office to myself I can just talk out loud in the last Vlog I was talking about how pretty much everything in regards to the WhatsApp integration was done I just needed to hook up the front end kind of part and cool would be good to go and like aign rolls and stuff no absolutely not absolutely not I realized there's a crucial part that was missing in fact let's whiteboard this out it's just going to make no sense unless I draw something in fact oo we've got a public whiteboard let's do that we're going to do the other side cuz it's a whole lot brighter so in the last video I gave you a quick breakdown on my front end talking to my back end which talks to my WhatsApp microservice and back and forth this does the entire WhatsApp integration now I also said that the last thing we needed to do was simply connect up the front end to the back end and we can process payments and we can assign roles and we're all good to go no and here's why let's just imagine that I have a WhatsApp integration working like this and I process payments and then I've got Bots or I've got phone numbers that are adding people in to different group chats based on their payment status now what happens if one of those numbers gets blocked or one of those numbers somehow just gets removed off the system and I can't use it anymore so you might be thinking natural thing to do here would be have two client instances in my micros service of the admin WhatsApp clients so two times admins that are always running that can always be used to add people in which means I now need to add two numbers into every person's group chat on WhatsApp cool that makes sense now all of that sounds great and it sounds straightforward but how do we actually manage that what do we do if one of them does get banned and we want to now replace that one with a third one instead well I realized I actually need some sort of admin management status page where I can do this I need my glasses I'm so blind hang on here we go we got them okay let's jump into this so now I have this admin dashboard WhatsApp padge now I already had this admin dashboard so that I can see for myself if I'm an admin all the signups the publish Subs the monthly recurring Revenue now obviously this is just on my test so this isn't real numbers but if we now head into our edit admin numbers this is where I can programmatically manage all of the admin number administrator numbers for the WhatsApp integration so you can see I've got a couple of demo numbers right here they've got client IDs they were updated at this time I can toggle them on and off whether or not we want to actually use them and what this is doing it's actually really cool when I toggle a number off any new person that integrates with WhatApp and adds a WhatsApp group to sub won't have that number added anymore and so what we want to do is always have a minimum of at least two admin numbers that we're adding at all times this will also ensure that my micros service on relaunch is going to spin up each of these active admin numbers and it means that I've always got a point of connection with every single person's group chat as an admin so I can add remove do whatever I need to do to people's group chats to ensure they have a super smooth experience running payments to their community Through sub and so what I can do let's just just say that this number here that I made inactive I realized was now a blocked number now first thing I would do is make it inactive I just toggled it off as you can see it's inactive it was just updated and what I would do next is I would add a new admin instance so start up the micros service and because we've only got one number toggled you should see there we go only one has been spun up and what I can do now is head back into my admin instances we'll go connect WhatsApp and we're going to spin up a brand new temporary client that I can use to connect there we go and it's just generated me a WhatsApp QR code now this isn't going to be available so don't bother scanning it this is just a local host QR code but what I can do right here is jump into a brand new admin WhatsApp client that I've created so it' be like a brand new number and such the first thing it's going to do is create a new admin WhatsApp connection which will then show up here in this list of admin numbers to which then I can toggle it on then what I can do is tell the micros service to spin up that new instance so ensure there's a live active version of that instance up in the cloud and every new WhatsApp integration going forward is now going to have that admin number assigned inside their group that's how we can keep safe but I realized yesterday afternoon right after saying that thing on the Vlog yesterday that no things aren't ready to go I had to build this entire thing and this is just all part of programming and being a Founder but I do enjoy it so yeah that's what's going on now enough yapping let's get to work [Music] all right we got a dead Club member downstairs let's go see who it is come on man yo what's up man how you doing all right you're on the Vlog officially wo let's go come upstairs bro it's wild dude yeah just choose a space anywhere and go nuts the last thing that I need to do to ensure that this is kind of like production ready is I need to add a way for a user to check out with a phone number so normally what you would do right here is you would click the payment button right at the bottom of the sub it's going to open up a modal with a stripe checkout you're going to complete the purchase and then it's going to send you an email with instructions on how to get into the community that's currently the flow on our Discord and slack integration but with WhatsApp I think I can actually skip that step completely because all we need is a phone number now instead of the user just simply clicking that button right at the bottom of the screen I could actually ask them to enter a phone number first what that will mean is if they complete the purchase we'll return that phone number with the stripe metadata to our web Hooks and then I can just programmatically add that person into the WhatsApp group and the way that that's even possible is because when you click that purchase button at the bottom of the sub the first thing it's doing is it's sending a request up to the back end from the front end asking for that checkout session and the checkout session is going to return you a unique uu ID that allows you to make that checkout session now if we pass along the phone number with that checkout session we can actually just return it back in the metadata to our web hooks so Stripes up here and when that purchase goes through stripe can just give us back to the web hook that phone number and the metadata we can just add that person to the group I think that's a really good solution and I think it would actually make the user experience super super clean what that's going to mean is I need a couple of extra bits of logic the first one I need a user to be able to enter an international phone number with a correct currency code and a correct formatted phone number in the front end on that sub checkout page I need a way to validate that somehow I have absolutely no idea we'll figure that out the next step is I need to send up that phone number to the checkout session request We'll add it to the metadata that'll return back we'll complete the purchase and the last step is we just need to watch out in the web hook Handler for the key ID metadata of phone or whatever we want to call it and with that I guess we can just send a request to the micros service to add that user to their WhatsApp group last thing I want to say before I forget is if you are interested in like getting into the startup scene and you have no idea where to start something like antler or something like YC or whatever it is I'm biased towards antler cuz I went through it it's one of the coolest experiences of my life I would say there's amazing people in this office especially the New York office come check it out I'm hoping I can get a space working out of the I can't even tell you guys yet but out of the place we're going office they do have an ant office where we're going so yeah I've got a team to meet there shout out to all the antler team New York you guys are legends sun is coming out a little bit we're in the process now where we're are just sending up the phone number to that stripe checkout session it's returning our session uid and then we're actually initiating that checkout now so we're in a good place where we can process payments last step is just going to be listening to that web hook coming back for a successful payment we take out that phone number and hopefully we can run that through that WhatsApp micros service and add the user to that group so yeah if I can just get that done it's only 11:30 right now we're doing pretty well and uh we got code cup in the house from the Discord server it's a good day so far July 4th happy Independence Day everyone let's get working and we got another yo the boys here here we are Javon and the flish what's the what do we got we got the uh July 4th special Nitro C Brew okay from Starbucks that's what's getting me going today that's that's what what are we building we're building so I'm putting together a partnership plan for my creative agency so I I I have a team of developers that can make software but making the software and then selling it there two separate domains yeah so I'm thinking of building out like a partnership plan let's go and yeah ideas hell yeah well dude welcome finally to the space um this is funny where we've got the dev Club taking over today bringing people together let's go it's that so sick like seeing the dev club and real life you want to say hi yeah hell yeah of course I'm double marked up I I'll put it here so I don't get confused here we go there we go what's up YouTube hanging out look at that yeah what's going on the HQ that's it that's [Music] it all right I'll see you guys soon all right great s so far going to go grab some some food truck if I can could be my official last meos food truck for New York City now you know what's really cool as well I've actually got my web hook Handler in the back end listening to that WhatsApp phone number coming through from the metadata now what's really cool about that is I can now assign a new WhatsApp connection request to a new WhatsApp queue that I'm going to build next as well it's really cool because now we can add users asynchronously very similar to the slack jobs logic that I implemented a few weeks ago but we're getting there we're super close now now I don't know how long you guys have been watching but these guys are the best food truck in all of New York City meos these guys are legends what's up man how you doing uh I might do a mix today one mix yeah one mix of rice it's my uh it's my last day in New York City man uh New Zealand yeah long way away bro yeah this is the best food truck in all New York City man best food truck hands down I'm tell I'm telling everyone on YouTube thanks Legends see you sometime soon eh [Music] lunch is done final metos absolutely slapped as always this is what we're doing by this afternoon we're going to have full into toin WhatsApp working when I mean working that means a user can check out they can process a payment payment's going to go through my web Hook is going to catch that WhatsApp phone number it's going to add the user to that group and then we're going to be able to see that somewhere last two things I'm going to need to add is one a WhatsApp queue in case we get like a million purchases all at once we obviously don't want my WhatsApp service doing like a million requests in a second otherwise I'm definitely getting blocked number two I had something else I guess I'll be figuring that out all right let's do [Music] it so we're at a critical point now where things looking pretty good I'm now I've just I've just added a function called run whatsa jobs which essentially mirrors the Run slack jobs kind of functionality where there's a cron from AWS event Bridge or something like that it's probably where I'll Host this and it's just going to trigger running the first 15 jobs per minute for whatever is in that WhatsApp queue based on the oldest Jobs first obviously they can either be ad or remove jobs so adding a user to a WhatsApp group or removing it either way got to get them done and obviously don't want to overload the WhatsApp system so that they think that there's too much like bot traffic or anything like that we want to seem kind of fairly low usage and very natural so yeah only going to do like 15 per minute at Max obviously at scale there could be some issues cuz there could be like thousands of people wanting to get in uh at once and obviously if you're only doing 15 per minute 15 actions then maybe people are waiting like half an hour to get in that's okay it's not worst case scenario but yes things to consider we're looking pretty good I think um as far as getting things done by end of day-to-day probably not realistic but I am in a space where we are going to be close by tomorrow it is only Thursday afternoon so can probably finish this by tomorrow afternoon as I want to do which is good but then first thing Saturday morning we are out it's been a good last day in the office feeling good about it very productive and overall just excited to get this WhatsApp stuff out excited to start working on the telegram integration so excited to start working on the new upcoming kind of core things that are going to make sub what it really is in the future um so yeah a lot of really cool stuff to work on it's been great to work here it's been great to have this space for the last few months well last six months really um but on to new things I guess so with that being said I think uh I'm going to push everything I can up right now I'll do a little bit more work but otherwise I think that's going to be it for this office bace yes it's been great cheers to antler and all the antler team for hosting me here thank you to you guys for watching as well let's finish up what we're doing right here we'll uh push a little bit more and we'll go from there good to see you man we'll see you again soon okay yeah have a and whenever you visit New York let s this and let's have coffee hang all right well this is farewell to the desk see you later desk D bro's got half of New York to pack up on this desk this is a sick little tripod there the amount of coffee that I made in that coffee maker right there is absolutely horrendous for the last time L good to see you dude Jacob good to see you bro good see you I'll uh see you inside the de Club yes good luck yep crazy all right last time walking home from here next on the agenda is I'm need to go home need to help mie get this place cleaned a little I think mty's already gotten a good head start today on the apartment we got some really good code smashed out today that's all pushed up nicely saved and working really good last step is just going to be actually adding people into the groups and the micros service so might be able to smash that out tomorrow otherwise uh yeah it's just going to be getting a few things ready for actually heading out first thing Saturday morning so I guess we'll go from there let's go home have a drink see hermy and Maddie do some cleaning [Music] and to top it off I can finally show you guys where we've actually been living for the past 6 months and it's over here in the West Village beautiful little area as you can see awesome little wine bar just over here in the corner but if we keep going this way a little bit we will get to our place place so there we go one World Trade in the distance and this is actually our building right here over in the West Village we got a supermarket right next door got another Supermarket like just up here such a cool little area honestly it has been one of the most beautiful areas in New York in my opinion to live in we've also got meat packing like right there as well so super super cool location also the uh West Side Highway is right there and the reason there's police everywhere right now is cuz it's 4th of July and there's a whole lot of fireworks going off later tonight so that's going to be cool but check this view out is this not the most New York thing ever I've wanted to show you guys this for like so long look at that that is so beautiful but yeah anyway we are literally just in here so come on in let's go oh yeah air conditioning if we head this way hello H hey hey hello hello man it smells clean in here you you've been cleaning though smells good H are you excited for the moov are you excited are you so excited [Music] [Music]