WEBVTT

NOTE S5 E15: Fighting a $400B Food Waste Problem with AI: Matt Schwartz of Afresh

1
00:00:00.000 --> 00:00:08.560
<v Matt Schwartz>We then teamed up with our machine learning team to look at the results of our customers year over year at chain-wide scale.

2
00:00:08.840 --> 00:00:12.900
<v Matt Schwartz>So how much waste was there with Afresh versus how much was there before.

3
00:00:13.760 --> 00:00:23.140
<v Matt Schwartz>Earlier this year, we learned that we prevented almost 5 million pounds of food waste and that that meant, you know, in the hundred million range for greenhouse gas emission,

4
00:00:23.140 --> 00:00:27.580
<v Matt Schwartz>pollution, how it's prevented, and similarly, hundreds of millions of gallons of water loss

5
00:00:27.580 --> 00:00:33.660
<v Matt Schwartz>prevented. That, for me, was an incredibly impactful moment. I got a little bit emotional

6
00:00:33.660 --> 00:00:37.400
<v Matt Schwartz>just thinking that this scrappy small team was able to have that big of an impact.

7
00:00:38.540 --> 00:00:42.440
<v Matt Schwartz>I'm Matt Schwartz. I'm the co-founder and CEO of Afresh.

8
00:00:47.440 --> 00:00:52.960
<v Noah Labhart>This is Code Story, the podcast bringing you interviews with tech visionaries

9
00:00:52.960 --> 00:00:57.140
<v Noah Labhart>who share in the critical moments of what it takes to change an industry

10
00:00:57.140 --> 00:01:00.820
<v Noah Labhart>and build and lead a team that has your back.

11
00:01:02.240 --> 00:01:05.920
<v Noah Labhart>I'm your host, Noah Labhart, and today how Matt Schwartz

12
00:01:05.920 --> 00:01:10.960
<v Noah Labhart>set out to build the cornerstone solution for the fresh food industry.

13
00:01:13.360 --> 00:01:15.460
<v Noah Labhart>All this and more on Code Story.

14
00:01:15.460 --> 00:01:25.860
<v Noah Labhart>Matt Schwartz is a lover of food. It's been a huge part of his personal and professional life

15
00:01:25.860 --> 00:01:31.680
<v Noah Labhart>in such areas like evidence-based nutrition, exercise science, and the history and economics

16
00:01:31.680 --> 00:01:37.700
<v Noah Labhart>of our food system. As a kid, he was a picky eater. Over time, learning to eat better was a

17
00:01:37.700 --> 00:01:42.380
<v Noah Labhart>catalyst towards personal improvement for Matt, and he believes that food, more so than anything

18
00:01:42.440 --> 00:01:49.220
<v Noah Labhart>else shapes the health of our planet and the health of us as individuals. But outside of food,

19
00:01:49.340 --> 00:01:54.240
<v Noah Labhart>he's become obsessed with chess and is being coached by a grandmaster. He's proud of the

20
00:01:54.240 --> 00:01:58.800
<v Noah Labhart>fact that one of his opponents resigned after seven moves. Beyond chess, he's always working

21
00:01:58.800 --> 00:02:05.760
<v Noah Labhart>through a good book. His current venture started by researching the food industry, specifically the

22
00:02:05.760 --> 00:02:11.200
<v Noah Labhart>world of fresh food. Post this, Matt and his team realized that this part of the food world was ripe

23
00:02:13.060 --> 00:02:16.160
<v Noah Labhart>This is the creation story of Afresh.

24
00:02:19.660 --> 00:02:24.580
<v Matt Schwartz>The food industry broadly is a multi-trillion dollar global industry.

25
00:02:25.240 --> 00:02:33.720
<v Matt Schwartz>And what we came to realize in the early days is that most, if not all, of the technology that had been built for our food industry

26
00:02:33.720 --> 00:02:36.140
<v Matt Schwartz>was built for stuff that comes in a package

27
00:02:36.140 --> 00:02:40.100
<v Matt Schwartz>and has a barcode, as opposed to things like broccoli,

28
00:02:40.300 --> 00:02:44.980
<v Matt Schwartz>bananas, salmon filets, ribeyes, fresh, perishable food.

29
00:02:45.980 --> 00:02:48.080
<v Matt Schwartz>The result of that in turn are that there are

30
00:02:48.080 --> 00:02:51.920
<v Matt Schwartz>these massive inefficiencies that manifest in billions

31
00:02:51.920 --> 00:02:54.660
<v Matt Schwartz>and billions of pounds of food waste that hurt our planet

32
00:02:55.040 --> 00:02:57.920
<v Matt Schwartz>and billions and billions of dollars of lost profit

33
00:02:57.920 --> 00:03:01.220
<v Matt Schwartz>that hurt the bottom line and result in prices being higher

34
00:03:01.220 --> 00:03:03.460
<v Matt Schwartz>and people having less access to fresh food.

35
00:03:03.980 --> 00:03:06.840
<v Matt Schwartz>As a result, we decided to build Afresh.

36
00:03:07.080 --> 00:03:12.320
<v Matt Schwartz>And what we're doing here is building the brain of the fresh food industry

37
00:03:12.320 --> 00:03:16.040
<v Matt Schwartz>that powers all of the critical workflows and decisions

38
00:03:16.040 --> 00:03:19.240
<v Matt Schwartz>that go from driving fresh food from a farm

39
00:03:19.240 --> 00:03:23.000
<v Matt Schwartz>to a grocery store distribution center to the end store

40
00:03:23.000 --> 00:03:25.340
<v Matt Schwartz>and ultimately your refrigerator at home,

41
00:03:25.480 --> 00:03:29.660
<v Matt Schwartz>such that you can get the fresh food you want at a lower price

42
00:03:31.220 --> 00:03:36.940
<v Matt Schwartz>ultimately have it last long enough for you to eat it as opposed to going bad in your fridge.

43
00:03:37.380 --> 00:03:44.560
<v Matt Schwartz>All of that started with us researching the space because of my passion in food and the ability to

44
00:03:44.560 --> 00:03:50.560
<v Matt Schwartz>investigate it in graduate school. And that culminated in us building our first product,

45
00:03:50.740 --> 00:03:56.520
<v Matt Schwartz>which is a store-level ordering solution for produce that gets the right amount of produce

46
00:03:56.520 --> 00:04:01.700
<v Matt Schwartz>into every store every day to minimize food waste and maximize the profit of grocers.

47
00:04:03.520 --> 00:04:09.460
<v Noah Labhart>If you're building the brain through Afresh, are you going to be kind of the layer, the

48
00:04:09.460 --> 00:04:16.200
<v Noah Labhart>data layer or the infrastructure layer around fresh food to where people can build on top

49
00:04:16.200 --> 00:04:16.700
<v Noah Labhart>of you?

50
00:04:16.680 --> 00:04:19.800
<v Noah Labhart>Or do you become the de facto solution for everything?

51
00:04:20.380 --> 00:04:21.880
<v Matt Schwartz>It's a mix of both.

52
00:04:21.880 --> 00:04:38.880
<v Matt Schwartz>There are countless decisions and workflows that are made between the time a head of broccoli, for example, leaves the farm and gets ultimately to the grocer's distribution center, to their stores, and then to your fridge at home or to a restaurant.

53
00:04:39.740 --> 00:04:45.440
<v Matt Schwartz>And things like how many heads of broccoli should get delivered to the store?

54
00:04:45.440 --> 00:04:51.980
<v Matt Schwartz>store, what, how many cases of broccoli should be on the shelf or what other types of broccoli,

55
00:04:52.200 --> 00:05:00.020
<v Matt Schwartz>what vendors or growers or suppliers of broccoli should I choose to buy from if I'm a business

56
00:05:00.560 --> 00:05:02.180
<v Matt Schwartz>and many, many, many, many more.

57
00:05:02.380 --> 00:05:08.880
<v Matt Schwartz>What we want to do is build applications for the most influential and critical decisions

58
00:05:08.880 --> 00:05:11.900
<v Matt Schwartz>and workflows that exist in that ecosystem.

59
00:05:11.900 --> 00:05:18.160
<v Matt Schwartz>system. So like I mentioned, we started off with store level ordering for grocery. But over time,

60
00:05:18.280 --> 00:05:24.960
<v Matt Schwartz>we'll build more and more of these applications that in turn and in some power the entire

61
00:05:24.960 --> 00:05:32.580
<v Matt Schwartz>fresh food industry. And then there will be some pieces that might be more commoditized or areas

62
00:05:32.580 --> 00:05:36.860
<v Matt Schwartz>where we feel like there won't be as big of an impact for us to make. And in those cases,

63
00:05:36.860 --> 00:05:39.040
<v Matt Schwartz>will act more as a platform

64
00:05:39.040 --> 00:05:42.360
<v Matt Schwartz>and potentially serve those systems up

65
00:05:42.360 --> 00:05:43.400
<v Matt Schwartz>with data that we generate

66
00:05:43.400 --> 00:05:45.520
<v Matt Schwartz>to be more of a system of record.

67
00:05:45.760 --> 00:05:49.020
<v Matt Schwartz>So, you know, one way of thinking about it over time

68
00:05:49.020 --> 00:05:52.240
<v Matt Schwartz>is that we'll evolve into this ecosystem player

69
00:05:52.240 --> 00:05:53.660
<v Matt Schwartz>that provides applications

70
00:05:53.660 --> 00:05:56.400
<v Matt Schwartz>and also powers the industry more holistically.

71
00:05:57.220 --> 00:05:59.000
<v Noah Labhart>Well, tell me about the MVP.

72
00:05:59.320 --> 00:06:01.740
<v Noah Labhart>So tell me about that first product you built,

73
00:06:01.840 --> 00:06:02.520
<v Noah Labhart>how long it took,

74
00:06:02.620 --> 00:06:04.220
<v Noah Labhart>what sort of tools you used to bring it to life.

75
00:06:05.220 --> 00:06:12.680
<v Matt Schwartz>So going back, we had just graduated from Stanford. One of my co-founders was in the

76
00:06:12.680 --> 00:06:18.480
<v Matt Schwartz>business school with me, but he was also technical and had gotten his BS and MS in

77
00:06:18.480 --> 00:06:25.340
<v Matt Schwartz>engineering from Stanford and was a lecturer there. And then our CTO had a PhD in computer

78
00:06:25.340 --> 00:06:32.060
<v Matt Schwartz>science and AI from Stanford. So had deeply technical co-founders. And if I go back to

79
00:06:32.060 --> 00:06:33.520
<v Matt Schwartz>to how we actually did it.

80
00:06:33.620 --> 00:06:38.100
<v Matt Schwartz>The first really critical piece was finding a grocer

81
00:06:38.620 --> 00:06:40.320
<v Matt Schwartz>that had a big enough pain point

82
00:06:40.660 --> 00:06:45.360
<v Matt Schwartz>to let us effectively experiment on their data

83
00:06:45.360 --> 00:06:47.800
<v Matt Schwartz>and view their processes in the stores.

84
00:06:48.040 --> 00:06:49.540
<v Matt Schwartz>And so specifically, again,

85
00:06:49.620 --> 00:06:51.560
<v Matt Schwartz>we're building the store level ordering tool,

86
00:06:51.740 --> 00:06:54.680
<v Matt Schwartz>an end-to-end solution that is saying,

87
00:06:54.880 --> 00:06:58.680
<v Matt Schwartz>I need 10 cases of bananas to order today,

88
00:06:58.880 --> 00:07:01.040
<v Matt Schwartz>as opposed to eight or six or five.

89
00:07:02.060 --> 00:07:07.880
<v Matt Schwartz>And we had to discover the way that those grocers were doing it now.

90
00:07:08.100 --> 00:07:11.380
<v Matt Schwartz>So how do they actually make that decision today?

91
00:07:11.680 --> 00:07:19.220
<v Matt Schwartz>And then we had to figure out how to inject technology into it in a way that would be maximally effective.

92
00:07:19.640 --> 00:07:30.160
<v Matt Schwartz>And that started with a bunch of discovery, eventually evolved into lean model building and building the back end and an MVP of the AI.

93
00:07:32.060 --> 00:07:38.780
<v Matt Schwartz>So there was a human interface component where we had to create these AI-driven order recommendations,

94
00:07:38.960 --> 00:07:41.660
<v Matt Schwartz>but then make sure that they were actually being ordered by the grocer.

95
00:07:41.940 --> 00:07:46.160
<v Matt Schwartz>And back then, we didn't have the permission to do a full integration with our initial partner.

96
00:07:46.460 --> 00:07:52.620
<v Matt Schwartz>So we actually created a Google Sheet in which these recommendations would show up.

97
00:07:52.680 --> 00:07:57.880
<v Matt Schwartz>And then the store manager would take those orders and plug them into their system.

98
00:07:58.080 --> 00:08:00.040
<v Matt Schwartz>So it was super scrappy and lightweight.

99
00:08:00.040 --> 00:08:06.920
<v Matt Schwartz>weight. And we did it relatively quickly, like in the course of a few weeks. I think that's a

100
00:08:06.920 --> 00:08:13.960
<v Matt Schwartz>testament to our CTO's amazing technical prowess, not just in the AI landscape, but also being a

101
00:08:13.960 --> 00:08:20.640
<v Matt Schwartz>really good engineer and also a whole bunch of grit and hustle on our part to be in grocery stores

102
00:08:21.360 --> 00:08:24.700
<v Matt Schwartz>every morning before the sun went up.

103
00:08:25.960 --> 00:08:29.520
<v Noah Labhart>So with any MVP, you have to make certain decisions

104
00:08:30.040 --> 00:08:33.660
<v Noah Labhart>trade-offs about what you can do in the short term, right? And you talked a little bit about

105
00:08:33.660 --> 00:08:38.920
<v Noah Labhart>some of those, but dive into them a little more. What sort of decisions and trade-offs did you have

106
00:08:38.920 --> 00:08:44.360
<v Noah Labhart>to make around, like, we're only going to build this much, we're only going to prove that this

107
00:08:44.360 --> 00:08:48.800
<v Noah Labhart>concept works this much, and how did you cope with those decisions?

108
00:08:51.060 --> 00:08:57.920
<v Matt Schwartz>Candidly, for me, coming from more of the business side, I wanted to do it all. I think I was more

109
00:08:57.920 --> 00:09:04.020
<v Matt Schwartz>naive when it came to technical products and just how much is truly feasible. And my technical

110
00:09:04.020 --> 00:09:10.820
<v Matt Schwartz>co-founders had a bunch of experience building stuff and were wise enough to say, hey, we really

111
00:09:10.820 --> 00:09:17.920
<v Matt Schwartz>can't do it all. And I think a really good example of this is the front end or Google Sheets front

112
00:09:17.920 --> 00:09:25.840
<v Matt Schwartz>end that I talked about. This is a balance though, where I think in one version of the world,

113
00:09:25.840 --> 00:09:29.320
<v Matt Schwartz>we would have just built the models.

114
00:09:29.440 --> 00:09:32.340
<v Matt Schwartz>We would have just built a rough demand forecast

115
00:09:32.340 --> 00:09:36.080
<v Matt Schwartz>and a rough order optimization logic

116
00:09:36.080 --> 00:09:37.180
<v Matt Schwartz>that said eight bananas

117
00:09:37.180 --> 00:09:39.220
<v Matt Schwartz>and just kind of dumped it off

118
00:09:39.220 --> 00:09:41.700
<v Matt Schwartz>and or even just looked at those recommendations

119
00:09:41.700 --> 00:09:44.160
<v Matt Schwartz>and compared it to what they ordered last year.

120
00:09:44.360 --> 00:09:46.920
<v Matt Schwartz>We elected to take it a step further

121
00:09:46.920 --> 00:09:48.300
<v Matt Schwartz>and do that Google Sheet

122
00:09:48.300 --> 00:09:51.520
<v Matt Schwartz>and embrace the complexity of working with stores

123
00:09:51.520 --> 00:09:55.100
<v Matt Schwartz>in a lean way that didn't require us

124
00:09:55.840 --> 00:10:00.420
<v Matt Schwartz>build anything sophisticated again, just like a Google Sheet and talking to a store manager.

125
00:10:00.720 --> 00:10:07.760
<v Matt Schwartz>And that balance of building just enough to build these recommendations, but investing

126
00:10:07.760 --> 00:10:13.340
<v Matt Schwartz>the sort of sweat, equity and labor into getting into stores, interacting with the end user

127
00:10:13.340 --> 00:10:19.980
<v Matt Schwartz>and seeing the operation truly from end to end enabled us to realize the importance of

128
00:10:19.980 --> 00:10:25.440
<v Matt Schwartz>that last step of the humans interaction, which at the end of the day, now looking back,

129
00:10:25.840 --> 00:10:29.800
<v Matt Schwartz>is one of the critical competencies that we've had to invest in as an organization.

130
00:10:30.200 --> 00:10:35.200
<v Matt Schwartz>And so high level, what I would say is that it was a lot of art where we had an intuition that there

131
00:10:35.200 --> 00:10:41.740
<v Matt Schwartz>was a bare minimum on the modeling side of things, and then some persistence in making sure that

132
00:10:41.740 --> 00:10:49.960
<v Matt Schwartz>even though building a full front end app would be pretty tough, we found a way around that to build

133
00:10:49.960 --> 00:10:53.780
<v Matt Schwartz>something that was pretty lean, but still tested for the things that we needed to be successful.

134
00:10:56.080 --> 00:11:05.000
<v Noah Labhart>So you've got, you know, your early MVP created, you're starting to learn a ton and you're getting a little bit of traction on your idea.

135
00:11:05.120 --> 00:11:08.480
<v Noah Labhart>How did you progress the product from there and mature it?

136
00:11:08.580 --> 00:11:15.640
<v Noah Labhart>And I'm interested in how you built your roadmap and decided, OK, this is the next most important thing to build.

137
00:11:17.900 --> 00:11:26.720
<v Matt Schwartz>The most critical next step was finding a customer that was willing to take the leap of faith and fully deploy our system.

138
00:11:26.880 --> 00:11:37.220
<v Matt Schwartz>And I'm talking about not just like a tinkering with a prototype, but literally handing us the keys to ordering all of their fresh produce in this example, which is a really big deal.

139
00:11:37.280 --> 00:11:44.460
<v Matt Schwartz>I mean, if you think about that, it's kind of insane to think that a grocer would, for the most critical function in their business,

140
00:11:45.900 --> 00:11:47.000
<v Matt Schwartz>They're not in business.

141
00:11:48.680 --> 00:11:52.160
<v Matt Schwartz>Entrust a lean team like us to get the job done.

142
00:11:52.340 --> 00:11:58.440
<v Matt Schwartz>And I think it really speaks to the absence of real alternatives that there were grocers

143
00:11:58.440 --> 00:12:02.200
<v Matt Schwartz>out there that had pain points that strong that were willing to do that.

144
00:12:02.340 --> 00:12:07.920
<v Matt Schwartz>So the first piece is really more on the commercial side, I would say, finding a customer to give

145
00:12:07.920 --> 00:12:08.420
<v Matt Schwartz>us the keys.

146
00:12:08.580 --> 00:12:14.680
<v Matt Schwartz>And then once we had the keys, it was about making sure that the product was going to

147
00:12:15.640 --> 00:12:17.080
<v Matt Schwartz>deliver in a really big way.

148
00:12:17.280 --> 00:12:21.080
<v Matt Schwartz>And so I wish I could tell you in the answer to your question

149
00:12:21.080 --> 00:12:25.260
<v Matt Schwartz>that we had a ridiculously disciplined roadmap

150
00:12:25.640 --> 00:12:27.300
<v Matt Schwartz>and strategic set of considerations.

151
00:12:27.740 --> 00:12:30.520
<v Matt Schwartz>For us, it was more existential, where

152
00:12:30.520 --> 00:12:33.360
<v Matt Schwartz>we needed to build something that really worked.

153
00:12:33.680 --> 00:12:36.400
<v Matt Schwartz>And the result of that is that there were still

154
00:12:36.400 --> 00:12:37.440
<v Matt Schwartz>some sub-decisions.

155
00:12:37.580 --> 00:12:39.400
<v Matt Schwartz>Like, that wasn't simple in and of itself

156
00:12:39.400 --> 00:12:41.260
<v Matt Schwartz>to figure out what was really going to work.

157
00:12:41.500 --> 00:12:44.040
<v Matt Schwartz>What was really going to work, we had to make trade-offs

158
00:12:45.640 --> 00:12:50.520
<v Matt Schwartz>to invest in the AI component of our system versus how much do we want to invest in data

159
00:12:50.520 --> 00:12:53.660
<v Matt Schwartz>cleanliness and ensuring we've got a tight scalable integration?

160
00:12:54.100 --> 00:12:59.200
<v Matt Schwartz>And how much do we want to invest in the front end, the UX and the UI, and really understanding

161
00:12:59.200 --> 00:13:00.140
<v Matt Schwartz>what's happening there?

162
00:13:00.320 --> 00:13:06.920
<v Matt Schwartz>And how much do we want to invest in the inventory taking component of our system versus the

163
00:13:07.400 --> 00:13:11.100
<v Matt Schwartz>day-to-day workflow of our system, which I could get into a bit more.

164
00:13:11.100 --> 00:13:24.640
<v Matt Schwartz>And that, again, was really a huge amount of physically being in stores, experiencing the problems and pain points and trying to build something that was empathetically designed and effective for a specific context.

165
00:13:24.860 --> 00:13:37.260
<v Matt Schwartz>And so in practice, it really was more of a linear upgrading of that MVP into something that would be enterprise worthy and ready to go to deliver at scale for our customers.

166
00:13:38.440 --> 00:13:47.220
<v Noah Labhart>Well, let's switch to team. So tell me how you built your team and what did you look for in those people to indicate that they were the winning horses to join you?

167
00:13:48.240 --> 00:13:59.660
<v Matt Schwartz>The team was absolutely critical in the early days, and we invested a ton on the technical side of our organization first.

168
00:13:59.660 --> 00:14:10.340
<v Matt Schwartz>And actually, if I have a learning that if we're going to get to talking about learnings, I think I would have invested earlier in building out some of our commercial organization.

169
00:14:10.760 --> 00:14:20.400
<v Matt Schwartz>I think we drove most of the sales, marketing and non-technical aspects of our organization with me and my other non-technical co-founder, Nathan.

170
00:14:20.760 --> 00:14:24.060
<v Matt Schwartz>But I think we would have been better served to invest more in that earlier.

171
00:14:24.060 --> 00:14:37.900
<v Matt Schwartz>However, so to get back to your question, what we really were looking for were world-class technical talents, folks that could really enable us to build this system successfully.

172
00:14:38.200 --> 00:14:52.660
<v Matt Schwartz>And I'd say that's one part of it. The second part of it is real missionaries, people that care at the end of the day about the social impact that we want to drive in reducing waste for our climate and increasing access to fresh food for people.

173
00:14:54.060 --> 00:14:58.880
<v Matt Schwartz>an early anecdote of this with Sean, who's now our director of product engineering. We were

174
00:14:58.880 --> 00:15:06.580
<v Matt Schwartz>introduced through one of our early investors and I met him at a coffee shop and we talked about his

175
00:15:06.580 --> 00:15:13.580
<v Matt Schwartz>motivation for being vegetarian. We talked about my motivation for starting the company and I also

176
00:15:13.580 --> 00:15:19.260
<v Matt Schwartz>got to see his values of kindness and just how empathetic and genuine he was wanting to have an

177
00:15:19.260 --> 00:15:27.420
<v Matt Schwartz>impact. And I could tell that that intersection of deep passion for our space with his capability to

178
00:15:27.420 --> 00:15:33.660
<v Matt Schwartz>go end to end on building the front end of our system was what we absolutely needed for one of

179
00:15:33.660 --> 00:15:38.400
<v Matt Schwartz>those initial hires. And I think it's very emblematic of one of our early successful hires.

180
00:15:41.540 --> 00:15:45.960
<v Noah Labhart>Well, let's switch to scalability then. I know the answer from the MVP standpoint,

181
00:15:45.960 --> 00:15:51.560
<v Noah Labhart>point because it was a Google sheet. So, but maybe a little bit past that, did you build this to

182
00:15:51.560 --> 00:15:55.940
<v Noah Labhart>scale efficiently from day one or are you fighting this as you grow?

183
00:15:58.460 --> 00:16:01.740
<v Matt Schwartz>It's a mix. We understood that

184
00:16:01.740 --> 00:16:07.460
<v Matt Schwartz>scalability and stability were paramount for any one of the stores and any one of the grocery

185
00:16:07.460 --> 00:16:13.640
<v Matt Schwartz>chains that we work with. And concretely, we went straight to enterprise. So all of our deals are,

186
00:16:13.640 --> 00:16:26.760
<v Matt Schwartz>I can't disclose like the specific deal size, but we're talking like large, large deals where, again, these grocers are giving the keys over to do this critical function.

187
00:16:26.980 --> 00:16:29.680
<v Matt Schwartz>And if a grocer is not in stock, they're not in business.

188
00:16:29.940 --> 00:16:33.260
<v Matt Schwartz>So we could not mess up an order.

189
00:16:33.440 --> 00:16:41.740
<v Matt Schwartz>And as a result, we were ruthless about the scalability and stability of our system in the early days.

190
00:16:43.640 --> 00:16:55.780
<v Matt Schwartz>We deployed every one of our customers on time and we did not have any outages where it affected that order for any sort of incidents like that.

191
00:16:55.920 --> 00:16:57.500
<v Matt Schwartz>And for that, we're really proud.

192
00:16:57.680 --> 00:17:13.080
<v Matt Schwartz>I think there's a difference between that, though, and a ability to scale from an initial set of stores where we're now ordering about $1.5 billion of produce through our system every year.

193
00:17:13.640 --> 00:17:19.420
<v Matt Schwartz>and in almost 250 stores to going to thousands of stores

194
00:17:20.000 --> 00:17:22.400
<v Matt Schwartz>and going north of 3000,

195
00:17:22.760 --> 00:17:25.720
<v Matt Schwartz>which is what we're looking to do this year.

196
00:17:26.020 --> 00:17:28.200
<v Matt Schwartz>And when you're talking about that sort of scale,

197
00:17:28.880 --> 00:17:30.380
<v Matt Schwartz>there's not just differences in degree,

198
00:17:30.620 --> 00:17:34.500
<v Matt Schwartz>but also differences in kind and some broader rethinking

199
00:17:34.500 --> 00:17:36.520
<v Matt Schwartz>of our infrastructure and platform to work through.

200
00:17:37.700 --> 00:17:40.200
<v Matt Schwartz>And also if you think about adding a whole bunch

201
00:17:40.200 --> 00:17:42.780
<v Matt Schwartz>of new customers, there's a whole bunch of dynamics also

202
00:17:43.640 --> 00:17:47.820
<v Matt Schwartz>thinking about our data infrastructure and platform that have to adapt to be able to enable

203
00:17:47.820 --> 00:17:53.040
<v Matt Schwartz>us to effectively and rapidly integrate new customers in addition to maintain them at scale.

204
00:17:53.220 --> 00:17:59.220
<v Matt Schwartz>And so there's a little bit of an iterative approach to this where we built sufficient

205
00:17:59.220 --> 00:18:04.100
<v Matt Schwartz>infrastructure and scalability for those early days when it came to things like the actual

206
00:18:04.760 --> 00:18:08.900
<v Matt Schwartz>cloud service provider that we selected, the construction of the way that we train and build

207
00:18:08.900 --> 00:18:14.160
<v Matt Schwartz>build models, the way that we do the data integrations. And then we've had to revisit

208
00:18:15.280 --> 00:18:19.180
<v Matt Schwartz>periodically to understand, okay, what does this look like when we're in thousands? What's it going

209
00:18:19.180 --> 00:18:23.860
<v Matt Schwartz>to look like when we're in tens of thousands? And we're coming up on the thousands point. We're not

210
00:18:23.860 --> 00:18:29.200
<v Matt Schwartz>yet at the tens of thousands point, but we're learning that these stages can come faster than

211
00:18:29.200 --> 00:18:32.640
<v Matt Schwartz>you think. And as a result, being thoughtful proactively is important.

212
00:18:33.700 --> 00:18:34.260
<v Matt Schwartz>As

213
00:18:34.260 --> 00:18:39.340
<v Noah Labhart>you step out on the balcony and you look across all that you've built, what are you most proud of?

214
00:18:40.680 --> 00:18:42.540
<v Matt Schwartz>I'll cheat and give you two moments.

215
00:18:42.760 --> 00:18:46.900
<v Matt Schwartz>The first moment was we partnered.

216
00:18:47.500 --> 00:18:53.940
<v Matt Schwartz>One of our advisors is the former executive director of ReFED, which is the nation's leading think tank on food waste.

217
00:18:54.180 --> 00:19:01.260
<v Matt Schwartz>And we enlisted him to help us build an understanding of just how much food waste are we preventing

218
00:19:02.640 --> 00:19:09.160
<v Matt Schwartz>is the impact of that? In other words, how many greenhouse gas emissions are we preventing and

219
00:19:09.160 --> 00:19:13.880
<v Matt Schwartz>how many gallons of water loss are we preventing? And we then teamed up with our machine learning

220
00:19:13.880 --> 00:19:21.340
<v Matt Schwartz>team to look at the results of our customers year over year at chain-wide scale. So how much waste

221
00:19:21.340 --> 00:19:26.420
<v Matt Schwartz>was there with Afresh versus how much was there before and then using ReFED's methodology to

222
00:19:26.420 --> 00:19:28.620
<v Matt Schwartz>to convert it into these environmental indicators.

223
00:19:29.040 --> 00:19:31.640
<v Matt Schwartz>And earlier this year,

224
00:19:31.660 --> 00:19:33.340
<v Matt Schwartz>and we've far exceeded these numbers now,

225
00:19:33.540 --> 00:19:34.820
<v Matt Schwartz>we learned that we prevented

226
00:19:34.820 --> 00:19:36.780
<v Matt Schwartz>almost 5 million pounds of food waste,

227
00:19:36.940 --> 00:19:41.300
<v Matt Schwartz>and that that meant in the 100 million coming up on range

228
00:19:41.300 --> 00:19:42.860
<v Matt Schwartz>for greenhouse gas emission,

229
00:19:43.180 --> 00:19:45.520
<v Matt Schwartz>tons prevented or pounds prevented,

230
00:19:46.100 --> 00:19:49.220
<v Matt Schwartz>and similarly hundreds of millions of gallons

231
00:19:49.220 --> 00:19:50.480
<v Matt Schwartz>of water loss prevented.

232
00:19:51.140 --> 00:19:54.740
<v Matt Schwartz>That for me was an incredibly impactful moment

233
00:19:56.420 --> 00:20:01.400
<v Matt Schwartz>learning engineer read off those numbers, I got a little bit emotional just thinking that this

234
00:20:01.400 --> 00:20:07.220
<v Matt Schwartz>scrappy small team was able to have that big of an impact on like a per person basis, driving

235
00:20:07.220 --> 00:20:11.940
<v Matt Schwartz>hundreds of thousands of pounds of food waste prevention per person in our organization.

236
00:20:12.640 --> 00:20:19.340
<v Matt Schwartz>That was one moment. And then I think the second moment, I can actually tell another story about

237
00:20:19.340 --> 00:20:23.600
<v Matt Schwartz>learning about everybody on the team's motivation for working in food, which was super impactful.

238
00:20:23.600 --> 00:20:27.100
<v Matt Schwartz>but given the technical nature of our conversation,

239
00:20:27.420 --> 00:20:30.200
<v Matt Schwartz>I think the third most impactful thing

240
00:20:30.740 --> 00:20:33.480
<v Matt Schwartz>was an anecdote that we got from an end user

241
00:20:33.880 --> 00:20:36.600
<v Matt Schwartz>who told us that he had been working as a produce manager

242
00:20:36.860 --> 00:20:40.220
<v Matt Schwartz>in the grocery industry for his whole career, for 35 years.

243
00:20:40.440 --> 00:20:42.500
<v Matt Schwartz>And that interacting with the Afresh system

244
00:20:42.500 --> 00:20:44.800
<v Matt Schwartz>and using it to empower him in his job

245
00:20:45.060 --> 00:20:46.800
<v Matt Schwartz>was the single most impactful thing

246
00:20:46.800 --> 00:20:48.140
<v Matt Schwartz>that he's done in his career.

247
00:20:48.380 --> 00:20:51.660
<v Matt Schwartz>And I think that was an incredibly meaningful moment as well.

248
00:20:53.600 --> 00:20:54.740
<v Noah Labhart>Let's flip the script a little bit.

249
00:20:54.920 --> 00:20:59.220
<v Noah Labhart>Tell me about a mistake you made and how you and your team responded to it.

250
00:21:00.720 --> 00:21:09.120
<v Matt Schwartz>I mentioned this earlier on the delayed focus of building out our commercial organization.

251
00:21:09.560 --> 00:21:18.080
<v Matt Schwartz>I think this mistake was one that cost us the ability to grow even faster than we already have.

252
00:21:18.080 --> 00:21:27.740
<v Matt Schwartz>And I think we focused really deeply on building a product that was going to knock it out of the park and be the best thing in the market for solving our problem.

253
00:21:27.960 --> 00:21:38.440
<v Matt Schwartz>But I think that we could have bet on ourselves a bit earlier to thread the needle and say, as soon as that product is ready, we're going to step on the gas and sell the heck out of this thing.

254
00:21:38.440 --> 00:21:45.800
<v Matt Schwartz>So that was something I wish we had done is maybe bring on our VP of sales and our marketing

255
00:21:45.800 --> 00:21:48.660
<v Matt Schwartz>leader a bit sooner than we had done.

256
00:21:48.780 --> 00:21:51.360
<v Matt Schwartz>But I love both of those people in our organization.

257
00:21:51.380 --> 00:21:56.300
<v Matt Schwartz>And who knows, maybe we wouldn't be so lucky as to have folks that are that talented if

258
00:21:56.300 --> 00:21:57.780
<v Matt Schwartz>we hadn't done that.

259
00:21:57.860 --> 00:21:59.700
<v Matt Schwartz>And hindsight's 20-20.

260
00:21:59.820 --> 00:22:03.720
<v Matt Schwartz>So that's probably the biggest one that comes to mind for me.

261
00:22:05.660 --> 00:22:09.640
<v Noah Labhart>Well, what does the future look like for your product and for your team?

262
00:22:11.000 --> 00:22:22.980
<v Matt Schwartz>The initial product that we built, this store-level ordering tool for produce, has and will prevent billions of pounds of food waste, I believe, in and of itself.

263
00:22:23.180 --> 00:22:28.600
<v Matt Schwartz>And in and of itself, I think, can be a massive financial product for us to sell.

264
00:22:28.800 --> 00:22:31.480
<v Matt Schwartz>But it's really just the insertion point.

265
00:22:31.480 --> 00:22:44.060
<v Matt Schwartz>And if I go back to this idea of building the brain of the fresh food industry, we have a long ways to go for us to be controlling and powering the most critical decisions and workflows across the industry.

266
00:22:44.260 --> 00:22:57.740
<v Matt Schwartz>And very concretely, our customers and other ones in the industry have asked us to power their meat and seafood departments, to power their food service departments, to power their decision making at the distribution center.

267
00:22:57.740 --> 00:23:02.800
<v Matt Schwartz>like how many truckloads of a product should go into the store to power their corporate workflows

268
00:23:02.800 --> 00:23:07.320
<v Matt Schwartz>of how do they merchandise and think about which items they sell and how they sell them.

269
00:23:07.480 --> 00:23:12.860
<v Matt Schwartz>And then even branching out into the convenience store market, the food service market,

270
00:23:12.960 --> 00:23:18.360
<v Matt Schwartz>even restaurant groups over time and doing all of this globally is the big journey that we're on

271
00:23:18.360 --> 00:23:23.800
<v Matt Schwartz>to really fulfill our mission of eliminating waste and making fresh food accessible to everyone.

272
00:23:23.800 --> 00:23:30.440
<v Matt Schwartz>I think that's the dynamic that we're then working through from a product expansion perspective, which is incredibly exciting.

273
00:23:30.980 --> 00:23:36.800
<v Matt Schwartz>And then the other dynamic of our growth, which we're moving forward, is just simply grow, grow, grow.

274
00:23:37.020 --> 00:23:42.560
<v Matt Schwartz>We are experiencing an insane level of demand from the market to roll out faster.

275
00:23:42.680 --> 00:23:46.700
<v Matt Schwartz>Like I described, we're going from hundreds to thousands of stores just this year.

276
00:23:46.700 --> 00:24:01.140
<v Matt Schwartz>And to do that, we need to, again, hit the gas commercially, but build the system to be scalable, even for our existing product in a way that enables us to ingest all of that demand that exists within the market.

277
00:24:02.960 --> 00:24:13.100
<v Noah Labhart>Well, let's switch to you, Matt. Who influences the way that you work? A CEO, a CTO, architect, person, really any person? Name a person you look up to and why.

278
00:24:14.680 --> 00:24:21.980
<v Matt Schwartz>I'm very fortunate to work with an executive coach and I'm a firm now huge believer in the

279
00:24:21.980 --> 00:24:30.600
<v Matt Schwartz>value of coaching for business leaders and for frankly anyone so my coach Ed Batista I feel

280
00:24:30.600 --> 00:24:36.340
<v Matt Schwartz>super fortunate to work with on a regular basis and make me better and better and better at my

281
00:24:36.340 --> 00:24:42.200
<v Matt Schwartz>job and I'll tell you there's nothing more humbling than starting a company that's growing

282
00:24:43.100 --> 00:24:47.340
<v Matt Schwartz>Realizing just how quickly you can become incompetent in every new stage.

283
00:24:48.220 --> 00:24:54.300
<v Matt Schwartz>It's a cliche that the job evolves every three to six months as a founder, but it's totally true.

284
00:24:54.500 --> 00:24:57.400
<v Matt Schwartz>And you have to build those sort of capabilities.

285
00:24:57.540 --> 00:25:03.540
<v Matt Schwartz>So I realize it's not a direct mentor necessarily, but I would go to my coach first and thinking through that.

286
00:25:03.540 --> 00:25:22.340
<v Matt Schwartz>And when it comes to specific sort of people that I really look up to, I honestly wish that there were broader models of people that are starting social impact companies that are built massively for scale.

287
00:25:22.340 --> 00:25:32.440
<v Matt Schwartz>I think you can look at any comparison to like Elon Musk and what he's doing is really fraught and potentially come across as like ridiculously egotistic.

288
00:25:32.540 --> 00:25:43.040
<v Matt Schwartz>But I find him to be really inspiring when it comes to the idea of like electrifying our automotive grid and broader grid and what he's done with Tesla in that domain.

289
00:25:43.040 --> 00:25:50.700
<v Matt Schwartz>I think I really disagree with some of the ways that he goes about doing that and we would really look to find ways that

290
00:25:50.700 --> 00:25:57.740
<v Matt Schwartz>intersect that massive massive ambition with also massive massive empathy and team building and

291
00:25:57.740 --> 00:26:04.080
<v Matt Schwartz>compassion and things like this and as a result like I really would hope to find

292
00:26:04.080 --> 00:26:07.080
<v Matt Schwartz>a broader set of leaders out there and

293
00:26:07.080 --> 00:26:08.360
<v Matt Schwartz>find folks that are

294
00:26:08.360 --> 00:26:15.480
<v Matt Schwartz>have that level of ambition to impact the world beneficially and then do so in a kind and graceful

295
00:26:15.480 --> 00:26:23.880
<v Matt Schwartz>way. So some mix of mentors from my executive coach to family to having some inspiration from

296
00:26:23.880 --> 00:26:25.580
<v Matt Schwartz>other leaders like that.

297
00:26:26.900 --> 00:26:31.300
<v Noah Labhart>Well, we talked about, you know, mistake and you kind of lumped it into

298
00:26:31.300 --> 00:26:37.220
<v Noah Labhart>going back and doing it a different way. But I'm going to ask that again to see if there's another

299
00:26:38.360 --> 00:26:44.160
<v Noah Labhart>if there's something even in your life outside of Afresh that you would, your professional life

300
00:26:44.160 --> 00:26:48.360
<v Noah Labhart>outside of Afresh, you would do differently. But if you could go back to the beginning,

301
00:26:48.600 --> 00:26:53.280
<v Noah Labhart>what would you do differently? Or where would you consider taking a different approach?

302
00:26:54.660 --> 00:27:03.740
<v Matt Schwartz>I'll go to self-care and the personal journey. I wish that I had learned the paramount value

303
00:27:03.740 --> 00:27:09.600
<v Matt Schwartz>value of self-care. And it can feel and sound a little woo-woo to talk about it, like, oh,

304
00:27:09.640 --> 00:27:15.220
<v Matt Schwartz>you know, something that I made as a mistake was working too hard or not giving myself enough

305
00:27:15.220 --> 00:27:22.400
<v Matt Schwartz>space. But I really struggled, I think, early days and continue to work through dealing with

306
00:27:22.400 --> 00:27:28.120
<v Matt Schwartz>the stresses of building such a fast-growing enterprises. It can affect my sleep. It can

307
00:27:28.120 --> 00:27:33.440
<v Matt Schwartz>affect the way I think. It can affect my mood and all these types of things. And at the end of the

308
00:27:33.740 --> 00:27:40.040
<v Matt Schwartz>to be really effective, having the ability to regulate your emotions, act as a leader when

309
00:27:40.040 --> 00:27:46.720
<v Matt Schwartz>you need to be and make the hard decisions is absolutely critical. And so the mistake I'd say

310
00:27:46.720 --> 00:27:53.900
<v Matt Schwartz>I made early on was just working around the clock and also feeling like every moment in the company

311
00:27:53.900 --> 00:27:59.260
<v Matt Schwartz>was existential. And certainly there are moments early on where things really are existential.

312
00:27:59.260 --> 00:28:05.140
<v Matt Schwartz>essential. There are these make or break moments in the company, but over time you realize that

313
00:28:05.140 --> 00:28:11.740
<v Matt Schwartz>not any one moment, not any one conversation or day is going to make or break you or the company.

314
00:28:11.940 --> 00:28:18.420
<v Matt Schwartz>And to have a little bit more self-compassion and invest a bit more in things like sleep,

315
00:28:18.500 --> 00:28:24.380
<v Matt Schwartz>meditation, exercise, eating well, journaling, spending time with loved ones and getting away

316
00:28:24.380 --> 00:28:26.780
<v Matt Schwartz>away from work to really enable you to be successful.

317
00:28:27.080 --> 00:28:32.440
<v Matt Schwartz>So I think that's a different approach that I would have taken on a more personal level.

318
00:28:34.240 --> 00:28:35.520
<v Noah Labhart>Well, last question, Matt.

319
00:28:35.980 --> 00:28:40.300
<v Noah Labhart>So you're getting on a plane and you're sitting next to a young entrepreneur who's built the

320
00:28:40.300 --> 00:28:41.200
<v Noah Labhart>next big thing.

321
00:28:41.400 --> 00:28:42.560
<v Noah Labhart>They're jazzed about it.

322
00:28:42.600 --> 00:28:44.000
<v Noah Labhart>They can't wait to show it off to the world.

323
00:28:44.060 --> 00:28:46.380
<v Noah Labhart>They can't wait to show it off to you right there on the plane.

324
00:28:46.720 --> 00:28:49.880
<v Noah Labhart>What advice do you give that person having gone down this road a bit?

325
00:28:51.220 --> 00:28:59.040
<v Matt Schwartz>it'd be a little bit tough because they've already built something and uh you know i think the first

326
00:28:59.040 --> 00:29:04.840
<v Matt Schwartz>thing i would do is really challenge them to ensure that they've got product market fit or

327
00:29:04.840 --> 00:29:10.600
<v Matt Schwartz>that they're building towards product market fit i think the most the biggest mistake the absolute

328
00:29:10.600 --> 00:29:17.020
<v Matt Schwartz>number one mistake that entrepreneurs make when they're trying to start something new is building

329
00:29:17.020 --> 00:29:21.120
<v Matt Schwartz>building, building, building, and then letting something out into the wild and finding out that

330
00:29:21.120 --> 00:29:28.040
<v Matt Schwartz>nobody wants it. And there's nuances here. Like I think that there are some people who say you

331
00:29:28.040 --> 00:29:32.000
<v Matt Schwartz>really need, you don't need to necessarily validate. People don't know what they want before

332
00:29:32.000 --> 00:29:36.680
<v Matt Schwartz>you give it to them. And there's some truth to that. But I really believe that no matter what

333
00:29:36.680 --> 00:29:43.220
<v Matt Schwartz>you're building, there are super lean approaches to making an MVP and validating your hypotheses

334
00:29:43.220 --> 00:29:48.740
<v Matt Schwartz>prophecies about what's going to be valuable what are people going to want before you actually

335
00:29:48.740 --> 00:29:53.800
<v Matt Schwartz>spend all the time to go build the thing and as a result if I'm sitting on a plane next to that

336
00:29:53.800 --> 00:29:59.260
<v Matt Schwartz>entrepreneur I'd be asking them questions of this is awesome I think it looks cool but like have

337
00:29:59.260 --> 00:30:06.300
<v Matt Schwartz>you tried selling it have you tried to understand who you're selling it to what are they gonna think

338
00:30:06.300 --> 00:30:12.860
<v Matt Schwartz>about it do they know those things and really helping them understand whether or not they have

339
00:30:12.860 --> 00:30:18.660
<v Matt Schwartz>achieved product market fit or are on a path to achieving product market fit which can be a little

340
00:30:18.660 --> 00:30:23.540
<v Matt Schwartz>bit of like a a wet blanket answer i think everybody wants to go take that thing and say

341
00:30:23.540 --> 00:30:29.500
<v Matt Schwartz>damn this is like really amazing on that plane like let's go sell it but at the end of the day

342
00:30:29.990 --> 00:30:34.520
<v Matt Schwartz>if you do that and you fail you're just going to be in for a world of hurt when it comes to all the

343
00:30:36.400 --> 00:30:40.600
<v Matt Schwartz>that you put into it. And that'd be a damn shame.

344
00:30:41.580 --> 00:30:46.340
<v Noah Labhart>That's solid advice. Well, Matt, thank you for being on the show today. Thank you for telling

345
00:30:46.340 --> 00:30:48.240
<v Noah Labhart>the creation story of Afresh.

346
00:30:49.260 --> 00:30:52.000
<v Matt Schwartz>Yeah, it was my pleasure. Thank you so much for having me. And

347
00:30:52.000 --> 00:30:53.100
<v Matt Schwartz>I loved your thoughtful questions.

348
00:30:54.320 --> 00:30:57.200
<v Noah Labhart>And this concludes another chapter of Code Story.

349
00:31:01.860 --> 00:31:04.920
<v Noah Labhart>Code Story is hosted and produced by Noah Labhart.

350
00:31:05.040 --> 00:31:09.840
<v Noah Labhart>Be sure to subscribe on Apple Podcasts, Spotify, or the podcasting app of your choice.

351
00:31:10.260 --> 00:31:15.320
<v Noah Labhart>Support the show on patreon.com slash Code Story for just five to ten bucks a month.

352
00:31:15.660 --> 00:31:17.900
<v Noah Labhart>And when you get a chance, leave us a review.

353
00:31:18.160 --> 00:31:20.100
<v Noah Labhart>Both things help us out tremendously.

354
00:31:21.860 --> 00:31:24.020
<v Noah Labhart>And thanks again for listening.

355
00:31:31.900 --> 00:31:32.800
<v Matt Schwartz>Thank you.
