From Tiny Romanian Startup to Global AI Automation Leader | Daniel Dines, CEO of UIPath

The MAD Podcast with Matt Turck · with Daniel Dines, Co-founder and CEO, UiPath

Daniel Dines is the Co-founder and CEO at UiPath. We cover how a failed consumer tool led to a $10,000 screen-reading license, why UiPath went global while still small, including Japan generating more revenue than the US in 2017, and why enterprise automation needs predictable LLMs rather than smarter ones.

Watch on YouTube

Chapters

  1. 1:38 — UiPath was founded in an apartment in Bucharest. How did it all start?
  2. 8:05 — Building a global product
  3. 11:26 — The growth stage.
  4. 18:50 — "We were AI from the beginning"
  5. 20:10 — Raising the first round of funding.
  6. 23:48 — Working with the board.
  7. 25:11 — How did UiPath expand from the Romanian to the global market?
  8. 35:00 — Process Mining, Task Mining, and Communications Mining.
  9. 41:41 — The Automation Layer explained.
  10. 45:28 — The use cases for using AI in UiPath's automations
  11. 56:22 — UiPath's strategy for Gen AI adoption.
  12. 58:27 — The team.
  13. 59:42 — How important are partnerships for enterprise
  14. 1:02:48 — Recruiting the best salespeople in the industry
  15. 1:07:10 — Scaling from a software engineer to the CEO of a large company.

Transcript

UiPath was founded in an apartment in Bucharest. How did it all start?

Matt Turck [1:42] The founding story of UiPath is such a great story. I cannot resist the temptation to start the conversation with that. But it all started in your apartment in Bucharest in 2005. Is that correct?

Daniel Dines [2:12] Yeah, Matt, thank you for having me. It's always a pleasure to tell the story because I've said it multiple times, but every time I remember something, which is kind of fun. It didn't start in my apartment, but it started in a very small rented apartment, which is, I think, the equivalent of a garage—the Romanian version of a garage.

Matt Turck [2:17] And you had just come back from Seattle, right? You were at Microsoft for a few years?

Daniel Dines [2:48] Yeah, I worked five years at Microsoft, and I had the craziest idea to start a company, and even crazier, to go back to Romania to start a company. So obviously, I had no idea how to build a company. I was a software engineer, and like most engineers, I thought that just building a good product, even without customer input or anything, would be enough and people would jump on it.

Matt Turck [2:49] How hard can it be?

Daniel Dines [2:50] Yeah, exactly.

Matt Turck [2:54] So where did the initial idea come from?

Daniel Dines [3:22] Well, we had some experiments on the product side, but they were mostly in the consumer part, so we tried consumer. I thought it's way easier than to just go into big enterprise. I had no idea how to enter. So we built a really small tool initially that was like a dictionary, something providing quick access to online resources from your desktop computer. So, like, if you long-clicked on any word on your computer, we would understand what you were doing, extract the word behind the mouse cursor, and then offer a pop-up to search, to translate, to do some stuff.

Daniel Dines [4:08] It's actually way more difficult than you imagine to understand the context of every application and how they draw text and everything that's there. So we built a pretty sophisticated—it was systems programming—to intercept all the Windows APIs that an application is using. And we were rendering the text in memory and figuring it out. So it was pretty, pretty interesting. This is what we were doing in the first place. First, we started with this idea: let's intercept API calls and then let's build a product around it.

Matt Turck [4:16] Yeah.

Daniel Dines [4:36] Yeah. And the product was not successful in a real sense. We had like maybe a few, maybe even 100,000 users at peak, which was not bad. But what was interesting, that led us to our first real customer.

Matt Turck [4:37] Mm-hmm.

Daniel Dines [5:11] And it was a small software company based in the U.S. And they were doing some kind of integration software for credit unions. So what they actually were doing was to read the screens of these cash machines that tellers were using back in the day—we're speaking 2005, 2006—and read the number of bills and coins on the screen and then align it with their banking software. They didn't communicate. So it was a very early form of RPA, actually.

Daniel Dines [5:51] And the funny story is, we monetized that product that we launched, the consumer product. Maybe in one year we got maybe $100, $200. And this guy wrote to me and said, look, I'm not interested in the product itself, but I'm interested in the engine that reads the text of the screen. Would you license it? And I said, yeah, why not? Because we actually built a product in a good engineering fashion with layers of software. So it was very easy for me to give him a component.

Matt Turck [5:56] Just decoupled.

Daniel Dines [6:23] Just decoupled to give the software to him. And he asked me, how much do you want for a license? And I thought, look, I had no idea. So on a hunch, I said, like, $10,000. And the next day, basically, he wired the money without any negotiation, nothing. So I said to myself, well, this is an avenue actually that we can go on. And from that tiny library, we started to extend it to add, besides text capability, the ability to understand also what's on the screen, like all the controls, how they are related to each other.

Daniel Dines [7:11] And then we added the ability to interact with the screen, to click and type on the screens. And initially, you had to be a developer to use our library. So for a few years, until like 2013, we were basically an OEM SDK business. Not very lucrative. I think at most we made like $200K per year, which was kind of enough. It was like five people in the company, five developers.

Matt Turck [7:12] Yeah, yeah.

Daniel Dines [7:49] Basically, in Romania, you could make a living out of it. And we were living, in a way, the dream. I was independent, people were buying my software, and it was a completely bootstrapped business. But at the same time, it was kind of an endgame for my career. I stopped being a developer and I did all sorts of things—product support, marketing, legal, advertising, everything. Even paying the salaries was really in my hands. So I remember that we had a meeting at some point and we said to ourselves, we need to put a deadline on ourselves.

Daniel Dines [8:03] We cannot just do this thing because we ruin our careers.

Matt Turck [8:03] Mm-hmm.

Building a global product

Daniel Dines [8:29] And so it was like 2011 when we had, like, a death sentence on us. And then we said, let's do it two more years and let's build something more interesting on top of our little product. And that was the moment when we entered into low-code, no-code automation development.

Matt Turck [8:35] So that was a fundamental insight to go from a developer tool to a tool for business people?

Daniel Dines [8:39] Not really for business people, but a tool for—

Matt Turck [8:39] Or easier to use?

Daniel Dines [9:22] Easier to use by, I would say, technical business users. I think that might be a more accurate term. This is one of the pillars of our success. We tapped into a rather large population of people that are not necessarily pro devs, but they have basic programming knowledge and they can easily be trained in our technology and they can deliver automations. Because automation is a species of application development, but it's way simpler than delivering a full-blown application. You don't have to understand so many concepts about reusability and security and all this—the whistles and the bells of true engineering.

Daniel Dines [10:02] And it's enough to have maybe a few software architects, RPA software architects, and then you have many people that can really deliver the body of the work. So tapping into this population was essential because it's pretty large and it's not that expensive. So it made the entire proposition of delivering automation feasible.

Matt Turck [10:06] And then when that happened, when you added no-code, things started accelerating.

Daniel Dines [10:18] Yeah. So we started that no-code journey in 2011. It took us, like, two years to finish the product. And to our—

Matt Turck [10:24] And two years because you had to create abstraction layers to hide the complexity?

Daniel Dines [10:57] Yes, because from an SDK, basically, to going to a product, to a finished product—like, we call it Studio—but it's a finished product that one can use and build an automation and run it. Initially, it was something that you can run on the same machine. It's like Visual Studio or Eclipse or something. It was an IDE, basically, dedicated to build automations. So it took us some time to build it, but it was, I think, a pretty refined one and really good, state-of-the-art for low-code, no-code tech.

Daniel Dines [11:20] Even today, most of the way our product works is based a lot on the ideas that we incubated during these two years.

The growth stage.

Matt Turck [11:44] And then, so then the big acceleration, because one of the most fascinating parts of the story is exactly that: the fact that you were bootstrapped for a very long period of time, and then there was this crazy acceleration from 2012 to the IPO.

Daniel Dines [12:18] Kind of. I would say the acceleration started a bit in 2014. We launched that product in 2013, but our base of developers couldn't care less about this one because it was not for them, actually. But the word got out a little bit, and I think good timing is essential, especially in the beginning of a category when nobody really knows who the players are. And I said this story multiple times, but it was really a phone call from a guy sitting in Chennai, India, that basically accelerated our journey into the RPA category.

Daniel Dines [13:17] At that point, I didn't know what RPA was. And the term was coined like a year before. But interestingly enough, this guy was searching on the internet for a low-code automation platform because he was annoyed by his current provider not being flexible enough. So he was looking for something that was visually appealing, that looked like low-code, no-code to build automations. And we were the only nice game in town, really. So he called us, and it's kind of funny because he used a Yahoo address.

Daniel Dines [13:46] And I was in charge of support, so I was reading the tickets that we were getting, and he said he needed a demo of the product. And my first inclination was to just ignore it because it didn't look like a business.

Matt Turck [13:46] Yeah.

Daniel Dines [14:13] But then I had, again, this hunch: maybe it's something. So I asked a developer, because we were all developers, to take this guy through a demo. One hour later, the developer came to me and told me, "Daniel, this is actually something very interesting. He works for a big company. Apparently, you have to talk to him." And I talked to him right away. So we were on Skype at that time, and the first thing he asked me was, "What do you feel about this?"

Daniel Dines [14:25] How do you compare with this company that they were using? I said, "Man, I have no idea who they are. Let me search."

Matt Turck [14:26] Yeah.

Daniel Dines [14:51] So I was searching as I was talking, and there came this kind of boring corporate page with investors, careers, and I don't even know. It looked like a big company. We were just a tiny startup. I didn't think we could compare. But anyway, it was good because it was authentic. So he kind of liked it, and we continued the discussion. And in the end, his company offered us a paid POC to build competitive automations that they were building in parallel with the other company.

Daniel Dines [15:37] And then I sent most of my company, three people, to Chennai. They worked for like three months to build the automation. And that was the big aha moment when we understood this is actually quite a big market. This is the pain that we were looking for. We built a product in search of a market, actually. But unexpectedly, we found the market, which is not—I would not recommend that anyone do this. But that happened. We were developers. We built something that we really enjoyed.

Daniel Dines [15:51] It was nice. We knew, even before we had discussions, that we needed a little bit of luck. We knew that we built something that was remarkable.

Matt Turck [15:56] Did they effectively become your design partner, which is another cool term now?

Daniel Dines [16:00] They were, yeah, exactly. I didn't know the term until recently.

Matt Turck [16:03] It probably did not exist, right? That feels like a very recent term.

Daniel Dines [16:36] Yeah. So they were our first design partners. But then, from then, they were like a BPO company, but with a lot of technology. After them, we became known within the BPO circles. Capgemini and Cognizant were the next design partners, and they were even more important than the initial company—bigger companies. They knew in that moment that this was going to be instrumental for the automation of manual work. Because BPOs are structured in very long-term contracts, but every year they have to deliver a certain percentage of savings.

Daniel Dines [17:06] So they initially start with some kind of business process engineering, which is pure—it's working on the flowchart and understanding how you can remove unnecessary trips in the process. But after that, automation is the only game in town.

Matt Turck [17:07] Yeah.

Daniel Dines [17:29] And this one, emulating how people work, worked brilliantly for BPOs. Because, interestingly, many times they don't have access to the systems, to the customer systems directly. They use something like remote access, like Citrix.

Matt Turck [17:30] Yeah.

Daniel Dines [18:07] So they had to automate applications and processes strictly from a user point of view. And that was the thing that we mastered really well at that time, this computer vision approach. So it was really a nice integration between low-code and computer vision. So basically, on a screen, on a remote screen that comes from Citrix, it's pure image-based. And you can really record what we are doing with an understanding of the objects and pictures on the screen. So it was—I remember a moment when I also realized something.

Daniel Dines [18:43] It's dramatically better than anyone from the competition standpoint. I showed this to some people. They were actually experts in our competition at that point. And they were totally speechless because what I showed them working in front of them with the recorder, everyone could have done it. It was like, I don't know, three minutes or something. Press run, and it works. It would have taken days in other software using a very cumbersome process.

"We were AI from the beginning"

Daniel Dines [18:50] It's days.

Matt Turck [18:54] So you were sort of AI from the beginning, from that perspective, computer vision.

Daniel Dines [19:28] We were AI from the beginning. It's true. In the beginning, we were using some AI libraries, but it was the emergence of one of the first good libraries, this OpenCV from Intel. And we used that one heavily. But the key was to pack it with low-code, no-code, with automations, with all this that we have in the OCR, that we have our own stuff. But the integration was so nicely done, it was really way ahead of anyone else.

Matt Turck [19:56] Yeah, it's such an incredible story. And of course, there's always survivorship bias in those stories. But this idea of, like, you're a Romanian company and you get a call from an Indian company and you decide to take on the opportunity and just sort of leverage what almost fate gave you is fascinating, right? In a world where a lot of the advice is, like, be very deliberate and you only need this kind of customer. But the fact that you let yourself embrace the opportunities is so interesting.

Daniel Dines [20:05] But we were waiting for that opportunity for, like, eight years.

Raising the first round of funding.

Matt Turck [20:16] Yeah. But then you were able to recognize it when it showed up. And then, so the BPOs, and then that was the beginning of the acceleration. And then that's when you started raising money.

Daniel Dines [20:22] Yeah, we raised money in July 2015.

Matt Turck [20:22] Yep.

Daniel Dines [20:50] But I have to say, my first round was the longest by far. So I met our first investors in March 2014, and it took such a long time. First, it's very risky, I think, to invest in a nobody startup in Romania. So we got to know each other. Then they gave—

Matt Turck [20:51] I forget, was it Earlybird?

Daniel Dines [20:52] Earlybird, yeah.

Matt Turck [20:55] Earlybird East, I guess. Maybe now today they are Earlybird East.

Daniel Dines [20:57] Digital East, I think it's called. Digital East.

Matt Turck [20:57] Yes.

Daniel Dines [21:28] Yeah. It was kind of like a franchise of Earlybird. They gave us a term sheet in August 2014, but it was so onerous, the standard kind of terms, that I couldn't even myself take it. So we started a long negotiation process. Well, not to belabor the thing, but I'm sure they don't regret that they signed it. But they ended up signing common shares in the end. So we started to see such a nice acceleration, even through '14 and '15.

Daniel Dines [22:10] So I started talking with big clients. And can you imagine, companies like Kaiser Permanente left voice messages to us: guys, please contact us. So at some point, with all the negotiation, I ended up telling them, guys, if you invest, you have to decide now, and you invest in common shares. And this guy said, yeah, but the only provision is that we'll get the same terms as the next round. And it was smart. It was good.

Matt Turck [22:22] Yeah. Well, that sounded like a very well-negotiated, and almost certainly the best decision they ever made as investors. That's amazing. And then there was Accel for the Series A.

Daniel Dines [23:00] Accel was for the Series A. There were a few funds that passed on us, and it was interesting. Not valuation, but they couldn't accept to leave me in control of the company. And I was pretty adamant that, guys, that gives me the freedom to act. The moment we'll start having an independent board, I will take my political animal out of me. And this is not how you build a company.

Matt Turck [23:00] Yeah.

Daniel Dines [23:30] To us, it worked because even today I have a controlling stake in UiPath. And why it worked? Because I realized very early on that the people on our board are actually better than most of the people we can hire, actually better than all of them, especially in the initial stages. So this is why I opened completely the company to the board. I told them, guys, you don't have to ask my permission to talk. Everyone can talk to everyone, and at all levels in the company, because I was never afraid there would be any kind of politics behind my back or anything.

Daniel Dines [23:47] So it gives a lot of flexibility and freedom when you have this type of— because it's—

Working with the board.

Matt Turck [23:54] That's very interesting. So, to play it back, you had no problem having your VP of Sales talk to a board member?

Daniel Dines [23:54] Yeah.

Matt Turck [24:07] Which is, for anybody listening to this, one of the—there's certainly a spectrum of reactions, and a lot of CEOs feel like they need to control.

Daniel Dines [24:35] Yeah, they will go and be controlling. And also, I've seen with the people that I hired later, more seasoned executives, the board acts a little bit like—they are fearful of the board. And a lot of what they do is for them to look good in front of the board. I never had this. And I always told my boards, guys, we are here to discuss open things on the table. I don't care so much to praise ourselves, but I need your help to help me fix the dirty things in the company.

Matt Turck [24:50] Did that translate into how you ran boards? Would you focus board meetings on specific issues?

How did UiPath expand from the Romanian to the global market?

Daniel Dines [25:11] Yes, we ran boards mostly really about the issues. Of course, it was typical strategic things, numbers, product, but putting upfront what is not working was always part of my strategy to talk with the board.

Matt Turck [25:25] How was the evolution from a European company to a US company? You all moved to New York, opened an office in 2017. What was the process?

Daniel Dines [26:01] We were never truly a European company. So starting out of Romania has the advantage that Romania has no market. So we had to think globally and remotely. I didn't really have money to travel to meet customers. This is actually funny. Our first enterprise customer that we signed, I think it was fall of 2015. First, it was like a $100K deal. It was a Swiss company called Swiss Re. It's a pretty significant company. And they told me—we were talking about negotiation, the agreement—but so I really expected them to sign.

Daniel Dines [26:40] So they told me, "Daniel, before we sign, we'd like to meet you in person." And I was surprised. I said, "Why?" So then I realized they wanted to see if this is the real person behind. So I think this is when I had one of my first few business trips at that time. So I flew to Zurich and I met them, and they signed after seeing the person. But it was unusual for me.

Matt Turck [26:40] Yeah.

Daniel Dines [27:17] So we were dealing worldwide. GE was one of the first American customers. We signed GE in March 2016. Good deal at that time, like $200K, all remote. I didn't go to America for that one. And so we were prepared to do global business. I moved to New York. So I debated for a while between London and New York, but then I realized that you have to be in your largest market. And it's better to be close to the next investors.

Daniel Dines [27:36] And it's better to put your leadership team in a talent-pool geography, which there is no one compared to the US, really, in terms of talent pool.

Matt Turck [27:37] Yeah.

Daniel Dines [27:39] So it was a good decision.

Matt Turck [27:43] Was it a choice of New York versus San Francisco or somewhere else?

Daniel Dines [28:17] San Francisco was too far away, I think, for our global business. Time zone doesn't help you when you do global business. It's not really so well connected globally, I think, from a flying perspective. And we were not so big in tech at that point. Our interest was much more in the financial services industry. So I think New York and the East Coast was a good choice. And why New York? I think New York, it's a great city to be here.

Daniel Dines [28:31] It's a lot of—it's intense. It's fun to be. I don't regret my choice to be a little bit unusual, especially in 2017.

Matt Turck [28:38] Yeah. Less so today, in part thanks to you, as I think companies like you and—

Daniel Dines [28:44] There's been a few companies, Datadog, that started to be relevant at that time.

Matt Turck [28:45] Yes, exactly.

Daniel Dines [28:47] MongoDB.

Matt Turck [29:01] Yeah, but in terms of companies from Europe coming to New York, you really showed the way. And I think you inspired a number of other companies to do that today, which has been great.

Daniel Dines [29:34] But at the same time, we didn't establish in New York and then try to do only US. What was unique to us is, despite our small size and even not raising a Series A, so we were a very small company, we went globally. Japan in 2017 was a country that brought us more revenue than the US.

Matt Turck [29:35] Yes.

Daniel Dines [29:39] And we were lucky to expand into Japan.

Matt Turck [29:45] Did you go direct or through a partner? That's the usual question. So Japan being the second-largest software market in the world.

Daniel Dines [30:24] We went through a partner in Japan initially, but I was lucky to meet a Japanese guy that became, a bit later, the one running our business in Japan. And he was instrumental to put us in front of large customers. And to tell you also an anecdote that I don't think I ever said before: so I was in Tokyo for the first time, and I was meeting that guy from SMBC. His name is Yamamoto-san. We've built really a good partnership and friendship later on.

Daniel Dines [31:03] But when I met him the first time, I didn't have cards. So going to Japan, I had to print business cards. So at that time, I had only my Romanian phone number. So I thought it's not a problem to put. It turned out that this kind of scared him. How can I do—I'm one of the mega banks in Japan—how can I do business with a company based out of Romania? And then what I did the next day, I went to Skype and I bought a UK number to put on my business cards.

Daniel Dines [31:45] But anyway, we started to gain his trust with our product and then with our dedication. And we hired people in Japan and started to really offer them a lot of free support. Always our policy was really complete customer-centricity. And it's very easy to say this, but it's not so easy to practice it. So how does that manifest?

Matt Turck [31:53] Is that a question of customer support? Is it a question of how your product roadmap evolves?

Daniel Dines [32:30] It's a question of the product roadmap, and not even the product roadmap, but it was a question of fixing the bugs in the product. Developers, especially when you run so fast, developers are attached to building the next shiny thing. And many times companies have the temptation to bring a feature but not finish it, go to the next experiment. So you end up with an ugly mess, especially in an enterprise when you have a long list of features, not in consumer. So this Japanese client, actually, by their presence and way of asking, commanded certain respect.

Daniel Dines [33:05] And especially to our developers. So it was the first time when I went to them and I said, "Guys, this time I don't take any bullshit from you. They say something, you go deliver. I don't want to enter into endless debates of what's priority, what's not. These guys are paying us our salary. So let's stop all these futile debates."

Matt Turck [33:09] So you'd reprioritize the team to focus on this as opposed to—

Daniel Dines [33:14] Yes, to focus on—they helped to really deliver a strong product.

Matt Turck [33:24] And presumably you draw a line somewhere between not being taken too far apart from the roadmap by the customer, because that's a tension you find in startups.

Daniel Dines [33:46] Our product was always very horizontal. Even today, I don't think we have a line of code built for one customer. Maybe that was lucky, because when you build a—the key to build a horizontal product is to identify common building blocks, but they apply to many industries.

Matt Turck [33:47] Yeah.

Daniel Dines [34:13] And in our case, the building blocks were so obvious. The way we operate as a person is the same if I am in the healthcare industry or if I am in the banking industry, in the way I'm using computers and I'm using the same paradigms. For us, it was in a way simple to just identify the building blocks of how people use computers, formalize them in software, and then apply it to all the industries.

Matt Turck [34:46] It's actually a perfect segue. Let's talk about the product today. This started with RPA, as you said, so effectively creating software robots mimicking what people did. And that has evolved now into a full suite of different things. And you have three layers. You have Discover, Automate, and Operate. Yes. And so I think that would be a really interesting way to go about it. So the discovery layer, there's all those terms that people may have heard, but unless you're very much in the industry, it's hard to separate one from the other.

Process Mining, Task Mining, and Communications Mining.

Matt Turck [35:08] There's process mining, there is task mining. What do all those terms mean, and what does UiPath do for that layer?

Daniel Dines [35:43] So first of all, why is discovery of processes important? Because even if it's counterintuitive, in large enterprises, there is no single repository of truth and knowledge about what they are doing. You have to help them to understand even their processes, to discover, in a way, what they are doing. Because there's a lot of oral knowledge there. It's small groups, it's big groups, it's many manual tasks. Maybe only three, four people in the company have an idea of what they are doing.

Daniel Dines [35:58] It's also large processes like hire to retire. It's a very big process spanning almost all the departments.

Matt Turck [36:07] And maybe at that point, just to make it super obvious to anyone listening to this, a process is just like a series of actions in the enterprise.

Daniel Dines [36:08] It could be a series of steps.

Matt Turck [36:17] Yes. Onboarding is a process. Employee onboarding. Replying to a customer is a process. Everything is a process.

Daniel Dines [36:20] Paying an invoice, ordering a product.

Matt Turck [36:23] Yep. All of those are a series of steps that you—

Daniel Dines [36:32] A series of steps and also a series of approvals, verifications, validations between different departments.

Matt Turck [36:33] So process mining is a way—

Daniel Dines [37:08] So process mining is a way to actually look at the systems of record and figure out what transactions happen in the systems of record in a more visual way. So you plug into SAP, for instance, and then you can show all the transactions happening in a very nice process graph that shows all the paths in the process.

Matt Turck [37:14] So meaning you put a software agent that's going to monitor what happens?

Daniel Dines [37:31] No, no, no. In process mining, it doesn't work like this. You basically extract all the information from the logs, from the system logs, and then you transform them into a format that is understood by process mining.

Matt Turck [37:33] And the output is a graph?

Daniel Dines [38:07] The output is a graph, yeah. The format of process mining is kind of very simple. It has a timestamp of the transaction. It's the user that made the transaction. And it's the business activity of the transaction and some business data. Of course, it's a little more complicated, but this is the essential. And based on this, you understand all the steps and how a transaction flows through the system. And you understand also the timing between different steps.

Daniel Dines [38:35] You understand where the process can take more time than is necessary. You can compare with the ideal version of what you want. So you can do a lot of monitoring, optimization, and you can also understand what are the steps in a big process that are prone to automation.

Matt Turck [38:39] And the other two, task mining and communications mining?

Daniel Dines [38:56] Yeah, task mining is the ability to install an agent on users' desktops and monitor what they are doing and figure out what the repetitive patterns are in a manual task.

Matt Turck [38:58] Mm-hmm.

Daniel Dines [39:31] I think we are working right now to actually combine task mining and process mining better. In a way, you start with process mining. You understand that in one particular step, let's say, people are processing invoices, but it takes a long time. So then you can deploy an agent to the user group that processes invoices, and then it monitors them for a few days. And then we have AI that looks there and understands the patterns and figures out what they are doing.

Daniel Dines [40:17] Exactly. So then you can go automate or maybe optimize in a different way, but you combine system data with also manual steps that people are using. So this is how you have, like, a 360 view of what's going on in an enterprise. Communication mining, it's something that is more about understanding emails or messages that flow in an enterprise. And usually most processes will start with an external communication. A lot of times it happens on email or maybe using a ticketing software or some kind of chat version.

Daniel Dines [40:33] But we bought, two years ago, a company based in London. That was Re:infer.

Matt Turck [40:34] Re:infer.

Daniel Dines [41:03] Re:infer. So they were one of the first startups that built this transformer-based machine learning to understand email messages. Email is a form of short message, not long message, but it's a form of short messages, and also it's threaded. So it's interesting to understand the communication back and forth and to classify and to extract information from emails. And it made a lot of sense because we can combine communication mining that understands the message with document understanding, because a lot of times you will have also some kind of attachments.

The Automation Layer explained.

Daniel Dines [41:41] Extract, process both messages and documents, extract the information, understand the intent, and then run an automation. And then, using GenAI, you can go and reply back, create a contextual response to the customer. Customer can be internal or external customers for an enterprise.

Matt Turck [42:03] So the automation is a combination of different—so we've just spoken about the discovery layer, the automation layer. Then that's a series of different things depending on the task. It can be document processing, it can be creating a software bot, it can be replying.

Daniel Dines [42:42] Essentially, our technology works by taking a process as is and automating as much of that process. Sometimes you emulate people, sometimes you replace maybe some manual things that people are doing with some API calls, or, at large, it's mostly about emulating what people are doing. Because, in communication mining, for instance, many companies will set up some kind of shared email inboxes, and customers will just go there and complain or ask questions. And then you will have people monitoring the emails and putting them in different folders.

Daniel Dines [43:12] And then there will be specialized people per folder taking them and replying and doing certain actions. We'll basically use software to classify and then put them in folders. And then from folders, maybe running automations to extract more information and so on.

Matt Turck [43:20] And what's the operations layer? It's the analytics and the testing, to make sure that the system performs at scale.

Daniel Dines [43:49] Yeah, that was actually really one of the breakthroughs that we understood when we went to India, at that initial customer. Before that, our focus was to deliver one automation that was working well. So, one developer, one product, build an automation running on that machine. We were scheduling on one machine. But we focused so much on making it very reliable. And it was actually a good approach because if you start too big of a system day one, you'll end up with spaghetti and nothing works.

Daniel Dines [44:35] We mastered this piece, and it was world-class, best ever, and it's still the best in the industry to build one automation, run it reliably. What we understood there was that this is not enough. What if you have to build 100 automations and they have to depend one on the other, and they have to run at certain times, and they have to run on different types of machines with different types of software, different types of security permissions? So then we built all this: a product called Orchestrator that is capable of scaling hundreds and thousands of automations, or thousands of runtimes, and making the communication between them via queues.

Daniel Dines [44:55] And you have—it's a pretty sophisticated system.

The use cases for using AI in UiPath's automations

Matt Turck [45:28] Let's dive into AI. So, as we were just saying, what was actually super interesting, which I hadn't realized, is that you started as an AI company through computer vision, and now AI seems to be everywhere in the product. So you use AI for analysis of communications, communication mining, and you just said you use generative AI to start replying to stuff as well.

Daniel Dines [45:28] Yeah.

Matt Turck [45:32] I guess, what is the latest in terms of building AI into the product?

Daniel Dines [46:03] Generative AI is, in a way, the missing piece in RPA and even broadly in automation. Because first of all, it lets you understand unstructured content way better. So it helps close some pieces in a process that they couldn't automate before. Therefore, that was the first use for us of GenAI in our document understanding piece. And we have a generative extraction technology right now that helps extract information from unstructured documents, can even help to build better models for semi-structured documents.

Daniel Dines [47:03] One of our fastest-growing businesses is this document understanding business. And we combine specialized models with generative models to basically deliver an end product to the customer that improves over time. Because one of the things where GenAI doesn't work well today, in all fairness, is that it doesn't learn. All the fine-tuning, it's more context grounding, large context windows, but it's not learning. You don't go to OpenAI and modify their weights. This is not how it works.

Daniel Dines [47:41] But with a specialized model, that's possible. So what we are doing for our customers, for instance, they want to process invoices. I know it sounds trivial, but some of the invoices are so complicated, even a human user would find it difficult to understand all the relationships and to extract information. So what do we do? We have base models that are pretty good, but then we have to learn from samples. And we pair GenAI to tag samples, help people tag documents better to create training sets that work well.

Daniel Dines [48:26] So we accelerate using GenAI in creating the training sets, and then we use LLM-based dedicated models. So we build something on top of T5, which people will say is a little bit of an older model. But we believe that encoder-decoder models are better when you deal with semi-structured documents than decoder-only models. So we are using T5 as our own LLM, but then we retrain T5. We use a LoRA-based approach to minimize a little bit the training and the runtime performance.

Daniel Dines [48:51] But in the end, we will beat any performance of GPT-4 or whatever, and they would be extremely reliable. And they are not prone to any hallucination or to spitting out customer information.

Matt Turck [49:05] Yeah, it's incredibly refreshing to hear this, right? Because there's a little bit of a dominant narrative around the fact that the GPTs of the world or Llama 3 are going to do all things for all people. But the reality is a lot more complex than that.

Daniel Dines [49:32] I don't think so, because I think nature is pretty smart. And if you look at how our brain operates, we have a very good cognitive engine, but we are not using that cognitive engine to do trivial tasks. It's way too expensive. If you want to learn to swim or to play tennis, you start using your cognitive engine. Maybe you go to a coach. You understand the movements, but as you learn, you actually build a dedicated model that will help you do this unconsciously.

Daniel Dines [50:02] You don't think, because sometimes you don't even have time to think. So it has to be extremely fast and less expensive in terms of energy. I don't see any reason why this is not going to be the case in the real world. So it's kind of obvious for me.

Matt Turck [50:30] Yeah, I love that analogy. You have a large language model built in your mind, which is the language to get to the tennis court. And then you have your small language model that helps you to play tennis, and you only use it then, and then you stop using it and you use the general language model as you exit the court. I love that analogy. And is that DocPath, or is that different? There were those announcements of two LLM models, DocPath and CommPath.

Matt Turck [50:37] Is that those, or is that separate?

Daniel Dines [50:51] Yes, this is what I refer to. They are these T5-based LLMs, but trained with a lot of the data that we got there.

Matt Turck [50:58] And then there is UiPath AI Center, which enables customers to bring their own models. Is that right?

Daniel Dines [51:21] Yes, but it's really a thing for models customized by our customers, but starting from base models that we built. It's not really intended to take anything from Hugging Face and then just run it in AI Center. But it runs with our own models customized for the needs of customers.

Matt Turck [51:32] And then another thing I read while prepping for this was the AI Trust Layer, which was announced just recently. What is that?

Daniel Dines [52:11] We discovered that many of our customers actually use multiple LLMs, and they want to have some governance and security layer, so like an abstraction layer in front of the LLMs. So maybe they start with GPT-4, but who knows, maybe Claude is better for a particular task or not. So instead of creating, again, a little bit of spaghetti in the application code, you'd rather use this abstraction layer. And then you configure the abstraction layer for different calls. What kind of LLMs are you using?

Daniel Dines [52:53] And we can provide also better services like anonymization of data. We can do smart things. Even if you send an invoice to GPT-4 to extract some information, what we can do, for instance, is digitize the document and replace all the sensitive information with synthetic information, get it back, and then redo the translation when you go to the customer. So it's important to have this in-between layer. It helps with a lot of things.

Matt Turck [53:13] So obviously, a natural next evolution of all of this is the acceleration of AI agents. So where you have processes, but then you build a glue between the processes of agents making decisions based on whatever the input is. How do you think about this?

Daniel Dines [53:49] I think this is going to be maybe the biggest transformation we are seeing in the enterprise space that would be based on LLMs. To me, let me start with my generic thinking about where LLMs are today. They help a lot with increasing the productivity of clerical workers, but they are not transformational. Why do I think they are not transformational? Because it's a user-based technology.

Daniel Dines [54:28] You cannot use an LLM in enterprise production in an autonomous fashion today. It's simply impossible because of the hallucination aspect and the lack of reliability. In a way, I think to get to an incredible transformation, we don't need smarter LLMs. I think the LLMs that are here today are smart enough. We need them to be predictable, reliable. Because think about, even if you put yourself in the shoes of an enterprise and you hire a person, I don't think many people would shy away from hiring a genius that is extremely unpredictable.

Daniel Dines [55:15] They show up to work only one day a month, and they have all the... For most jobs, that doesn't work. You will need smart enough people, but reliable, diligent. I'm not an expert in the field, but I believe that we need another giant leap of innovation to get there.

Matt Turck [55:15] Mm-hmm.

Daniel Dines [55:59] I'm not sure just throwing compute and increasing the number of GPUs, without some fundamental discovery, is going to create this. So this is why, in my opinion, we will get to autonomous agents, but first we will have to have these digital assistants that work under people's supervision. And this is where—I think many people refer to this field as large action models. My instinct is the first wave of deployment will really be in a user-based mode.

UiPath's strategy for Gen AI adoption.

Daniel Dines [56:22] It's an assisted, user-assisted technology. It's like self-driving cars, which is an assisted technology. This is where we focus right now.

Matt Turck [56:32] And what's your strategy for this? Is that something that you're developing internally? Is that something that you're looking to partner on? How do you go about it?

Daniel Dines [57:07] We have a dual strategy. We have something called Project Foundation. So we are building internally this dual-modal model that understands both text and images that we want to put at the foundation of many of our task-based automations. So it's aimed to replace document understanding, computer vision, the way we interact with the screens. But we would also like—we are partnering with one of the most interesting startups right now, Adept, the one we are both investing in—to build really these next digital agents that will be capable...

Daniel Dines [57:53] Actually, of combining knowledge of a task or a process, maybe later on, with the capability of acting and replicating what the human user would do to complete that task. So in this way, we will have to learn how an accountant works, how an auditor works. And that, paired with some of our technology that is capable of acting on user interfaces and their ability to plan, to have knowledge of a task and then plan how that task should be completed.

The team.

Daniel Dines [58:27] I can create a list of steps, and then carry on these steps using UiPath technology. I think it's an amazing combination.

Matt Turck [58:36] What does AI look like at UiPath in terms of team and organization of the team? Who does AI?

Daniel Dines [59:16] Basically, we have three centers where our AI teams are located. We started initially in Seattle and Bucharest. The guy that leads our AI is based in Seattle, and they are doing mostly the computer vision part, document understanding. They are also building our Autopilots. This is a copilot-type product that aims to create automation faster, to help developers build based on a prompt, create a skeleton of automations. In London, based on the Reinfer team, we are building this project foundation that is the next generation of multimodal systems that we want to put as the base of everything we are doing.

How important are partnerships for enterprise

Matt Turck [59:59] Maybe for the last part of this conversation, switching to the go-to-market side of things, how important was the partnering aspect of this? You seem to have built very strong relationships with a couple of partners, and that seemed to have been a big part of the acceleration. What was that story, and any lessons learned there?

Daniel Dines [1:00:29] Partnership was instrumental. We couldn't have entered big enterprises' doors without partners. There was really absolutely no chance back in the day. But what I also realized around 2016 is that partners are not going to fight for your own destiny. They are very opportunistic in the end, and they want to make money. So the same competitor that I talked about in the context of the India phase, they made an early decision to go completely indirect in their go-to-market.

Daniel Dines [1:01:21] I think that was a huge mistake. So we went indirect via partners, but we built the— and I'm a big believer in a direct sales force that will fight for your own destiny. Partners, in our case, are not so important for us for reselling the technology. Partners are important to open the door and to implement our technology. But to win the deal, it's us. It's rare that the partner can win the deal for us. So this is, I've seen that that's the winning combination: to put your direct salespeople, to put the partners—

Daniel Dines [1:01:34] working together to win deals.

Matt Turck [1:01:38] And we're talking mostly about services consulting partners?

Daniel Dines [1:02:09] Yeah, services consulting partners. Technology partnership largely didn't work for us. And I think it's extremely difficult to make a technology partnership work. It has to be such a huge alignment at the leadership level between two companies that it really works. That's my learning. This is why I'm also investing in a few companies, and this is what I tell them. Even recently, I'm talking to one of our portfolio companies that is on the verge of doing a partnership with a much larger company.

Recruiting the best salespeople in the industry

Daniel Dines [1:02:49] My advice to him is: build a strong relationship with the leadership team, and especially with the CEO of that company. This is how a piece of paper doesn't make a partnership. Most partnerships are just marketing announcement hype. But if there is no personal connection, if there's no will on both parties to make it happen, it's not going to work.

Matt Turck [1:03:02] What have you learned over the years in terms of recruiting the best salespeople for the kind of sales you've done? Big-ticket items, long sales cycles.

Daniel Dines [1:03:32] I have so many thoughts. One of the issues I think a technical founder has is that they will never understand sales to the bare metal. Like, I understand software to the bare metal. I can talk to anyone in UiPath and I can challenge anyone. So I'm a pretty detailed guy in my software reviews, and so I go and I ask questions until I get to the root of the problem or challenge them in very much detail.

Daniel Dines [1:04:23] And I think this is what you should do in go-to-market as well. What I cannot do to that level, I have an understanding, but it's too high level. So, in a way, I always struggle to hire the best salespeople. What I've seen in UiPath and in some other companies, especially in the sales leadership, there are two types of leaders: operational-oriented leaders and customer-oriented leaders. Ideally, you'll need kind of both, but it depends who is on the top, and the culture will be reflected by the person you hire on the top.

Daniel Dines [1:05:20] Initially, for a startup, I think operationally it doesn't matter, in my opinion. All that matters is building an extreme customer-centric culture. So you need people that understand that you have to do everything for a customer. Even making quarters, it's not so important. Building customer relationships is all that matters. To us, initially, I think I made the good call to hire not professional sales reps, but rather consultative-type people. My first salespeople were actually, look, for instance, the first guy that was building EMEA for us, and then our leader in Japan.

Daniel Dines [1:06:07] They were both consultants as their background. So that helped because these people are really trained to do what's best for the customer. Next wave, I realized that we don't treat sales as engineering. We were treating sales more like an art. But that doesn't scale. So next, I hired the guy that had very strong operational rigor. And he put a good foundation for us to structure the sales organization, to assign territories, quotas, comp plans.

Daniel Dines [1:06:57] So that was when we put— but then we started to lose a little bit of the customer centricity. To me, it's always that struggle in my mind. How can you build a sales org that will preserve extreme customer focus, but will have the discipline of an engineering organization? It's a tension that we have to be very attentive to, that tension, because the leaders will go in one direction or the other. I haven't seen yet someone that is both equally strong operationally or from a customer-facing perspective.

Scaling from a software engineer to the CEO of a large company.

Matt Turck [1:07:43] And maybe to close, one remarkable and extremely rare thing about people like you is the ability to go from five people in an apartment, maybe not your apartment, in Bucharest to, for a while, a public company CEO. How did you, at a personal, professional level, navigate that journey and sort of scale yourself into a leader of a public company?

Daniel Dines [1:08:23] I always had, and I still have, the imposter syndrome. That helped me because I was always coming to the table with the idea: I am not the smartest, but I am the dumbest person at the table. So that helped me with managing my ego, lowering my expectations, always not being even afraid to ask stupid questions. What is this acronym? Some people would not ask because they think it's expected of them to. And to me, life is a learning journey.

Daniel Dines [1:09:08] When I discovered that in any domain, you will find things to learn that are very entertaining. Look, so I started as a software engineer. I was very proud that I was coding systems, server systems using C and C++. At Microsoft, I was working for SQL Server, which is a really amazing database engine. I met, I think, even today, the best engineers that I met in my life. The smartest people were there. But then, building the company, I had to learn a lot of other things.

Daniel Dines [1:09:54] I really became a copywriter. I wrote a lot of ads for the company. I learned Google Analytics and spending the dollars well. And then I took Microsoft's Word license agreement, and then I had to copy it and transform it to build our first legal agreement. I couldn't afford to pay a lawyer. But it helps, and I kind of like it. It's nice to learn different things. And then I started to learn sales. And to me, one piece of advice that I give to entrepreneurs is that, especially in enterprise business, sales is as important as the technology.

Daniel Dines [1:10:43] And it's not enough for them to understand the basics of sales. They need to love it. Because if you don't love it, you are not going to hire really good people. Maybe, to your previous question, the key to hiring great salespeople is to love them so they feel your love and your understanding. And you don't treat them only like it's a coin-operated machine, because it isn't. The better a salesperson is, the better they understand the customer and how to talk, how to explain their business, and how to—it's a very complex dynamic that happens in sales and in a deal that is six to nine months long.

Daniel Dines [1:11:40] It's really not simple. Look, and then the IPO process was very interesting to me. You learn quite a lot because when you talk to private investors, you have a lot of time to explain the business. When you talk to public investors, you have to be way more crisp. And you should tell the same story to everyone. You cannot deviate and give some people more information or less information.

Daniel Dines [1:11:58] So it was a great education for me to understand, and it helped me even with the way I'm structuring my ideas.

Matt Turck [1:12:00] Hmm.

Daniel Dines [1:12:24] We had a really good IR person. I worked with her quite a bit initially, and we worked together on how we present the information. It helped me quite a bit. And I always look back in time, and I'm asking myself, have I learned something? Am I being transformed in the last six months?

Matt Turck [1:12:24] Mm-hmm.

Daniel Dines [1:12:29] And if the answer is no, something is completely wrong.

Matt Turck [1:12:52] What a journey. Thank you so much for sharing all of this. It's been an absolutely wonderful conversation. Thanks for doing it. Hi, it's Matt Turck again. Thanks for listening to this episode of The MAD Podcast. If you enjoyed it, we'd be very grateful if you would consider subscribing if you haven't already, or leaving a positive review or comment on whichever platform you're watching or listening to this episode from. This really helps us build the podcast and get great guests.

Matt Turck [1:12:57] Thanks, and see you at the next episode.