YouTube2Text

How to Build & Sell AI Agents: Ultimate Beginner’s Guide — Transcript

by Liam Ottley · 50,742 words · 7,072 segments · language en · Watch on YouTube

Full transcript

  1. 0:00Two years ago, I taught myself how to
  2. 0:01build AI agents without any prior
  3. 0:03experience in AI. And since then, I've
  4. 0:05started multiple AI businesses that have
  5. 0:07generated over $5 million in revenue.
  6. 0:10I've grown from 0 to 450,000 subscribers
  7. 0:12here on YouTube. And I've built AI
  8. 0:15agents for some of the biggest companies
  9. 0:16in the world. It's pretty safe to say
  10. 0:18that learning how to build AI agents has
  11. 0:20completely changed my life. So, in this
  12. 0:22full course, I'm going to teach you
  13. 0:23everything, and I mean everything that I
  14. 0:25have learned over the past 2 years about
  15. 0:27building and more importantly making
  16. 0:29money with AI agents, even if you don't
  17. 0:31know how to code. My hope is that you
  18. 0:32too can learn and use this incredibly
  19. 0:34powerful skill in order to build the
  20. 0:36life of your dreams before these AI
  21. 0:38agents start taking our jobs. As you can
  22. 0:40see, by the length of this video, I'm
  23. 0:41not going to be holding anything back.
  24. 0:43So, in order to make it a bit easier to
  25. 0:44consume, we're going to be splitting it
  26. 0:46into three different chapters. First,
  27. 0:47we'll build your foundational
  28. 0:49understanding of AI agents, covering
  29. 0:51what they are, how they work under the
  30. 0:52hood, and the key concepts that you need
  31. 0:54to know before you actually start
  32. 0:56building them. And this is without any
  33. 0:58technical background required. Secondly,
  34. 0:59we will be diving into four different
  35. 1:01endto-end AI agent tutorials, taking you
  36. 1:04over my shoulder every step of the way
  37. 1:06as we build some of the most popular AI
  38. 1:07agent use cases on the market today. And
  39. 1:10I have carefully planned these builds
  40. 1:11out to give you a taste of multiple
  41. 1:12different noode platforms and different
  42. 1:14AI agent types. and you'll learn how to
  43. 1:16build each of these step by step
  44. 1:18watching over my shoulder. And finally,
  45. 1:19I will give you my proven blueprint for
  46. 1:21monetizing your AI agent building skills
  47. 1:23over the coming years while this
  48. 1:25technology continues to explode in
  49. 1:26adoption and popularity. I'll be sharing
  50. 1:28the exact strategies that I've used to
  51. 1:30generate millions of dollars with this
  52. 1:31skill set over the past 2 years. So,
  53. 1:33let's get into it. Now, if you're new to
  54. 1:35the channel, let me quickly share why
  55. 1:36I'm qualified to teach you about AI
  56. 1:38agents. So, if you are new to the
  57. 1:40channel and don't know who I am, my name
  58. 1:41is Liam Mley and 2 years ago, I started
  59. 1:43learning about AI with no prior
  60. 1:45experience in the field. I was teaching
  61. 1:46myself how to build AI agents and chat
  62. 1:48bots all through my own self-study,
  63. 1:50which I documented right here on this
  64. 1:52YouTube channel from day one. So, you
  65. 1:53can go back and watch all my previous
  66. 1:54videos of how I got from there to here.
  67. 1:56This led me to starting Morningside AI,
  68. 1:58which is my AI automation agency where
  69. 2:00we build AI systems and agents for
  70. 2:02businesses from basic customer support
  71. 2:04systems to full AI SAS platforms and
  72. 2:06even we've built my own AI agent SAS
  73. 2:08platform, Agent, which is now over
  74. 2:1045,000 users. At Morningside, we've
  75. 2:12worked with publicly traded companies
  76. 2:13and even recently an MBA team. I also
  77. 2:15run the world's largest AI business
  78. 2:17community with over 120,000 members on
  79. 2:19school as of this recording. and through
  80. 2:21my community and through this YouTube
  81. 2:23channel here, I've taught hundreds of
  82. 2:24thousands of people from all backgrounds
  83. 2:26really how to build and make money from
  84. 2:28AI agents. So, everything that I'm about
  85. 2:30to teach you today is exactly what
  86. 2:32helped me to achieve all of this. So,
  87. 2:34let's dive
  88. 2:39in. Now, if you look at how long this
  89. 2:41video is, you'll realize that there is a
  90. 2:42lot to cover here. And now, I don't want
  91. 2:44you to give up halfway through the
  92. 2:46video. So, let's quickly take a moment
  93. 2:47just to get clear on why AI agents are
  94. 2:49quite literally the next big thing. And
  95. 2:51I know that sounds cliche and you hear
  96. 2:52it all the time, but seriously, they
  97. 2:54are. And why learning to build them is
  98. 2:57by far one of the most valuable skills
  99. 2:58that anyone can have over the coming
  100. 3:00decades. And if if my experience over
  101. 3:02the past 2 years is anything to go by,
  102. 3:04that should be enough proof for you guys
  103. 3:05to believe me. So, stick with me. But
  104. 3:07here's the hard truth about AI and jobs
  105. 3:08right now. According to the latest
  106. 3:10research, McKenzie predicts that AI and
  107. 3:12agents could automate up to 50% of
  108. 3:14current work by 2030. And the World
  109. 3:16Economic Forum reports that 41% of
  110. 3:18companies plan to reduce their workforce
  111. 3:20due to AI. Now, a lot of this sounds
  112. 3:22doom and gloom, and of course, many
  113. 3:23people are naturally worried about their
  114. 3:25career in future based off seeing this
  115. 3:26kind of data. But it's not all bad if
  116. 3:29you know where to look. And this video
  117. 3:30isn't about making you feel all sad.
  118. 3:32It's about uplifting you. And if you
  119. 3:33look on the flip side of the same data,
  120. 3:35these same reports reveal an enormous
  121. 3:37opportunity for those willing to seize
  122. 3:38it. So the World Economic Forum's future
  123. 3:40of job report states that 50% of
  124. 3:42employees plan to reorient their
  125. 3:44business in response to artificial
  126. 3:46intelligence. And due to this
  127. 3:47reorientation, 66% of employees plan to
  128. 3:50hire talent with specific AI skills such
  129. 3:53as prompt engineering. So on one hand,
  130. 3:55we have the expectation of massive
  131. 3:57layoffs and automation of work over the
  132. 3:58next 5 to 10 years. But on the other, we
  133. 4:01have the majority of employers searching
  134. 4:03for people who have these AI skills or
  135. 4:05really just basic AI literacy. Why?
  136. 4:08Because AI literate employees who can
  137. 4:10automate parts of their work can have 5
  138. 4:12to 10x the output of someone who doesn't
  139. 4:14have any AI literacy. And I promise you
  140. 4:15that brushing up on your AI and reaching
  141. 4:17this point of AI literacy so that you
  142. 4:19can be on the winning side of this next
  143. 4:215 to 10 years is actually so much easier
  144. 4:23than you think. I mean, it's easy as
  145. 4:25watching this entire video in order to
  146. 4:26build your AI skills base to make a big
  147. 4:28step towards AI literacy. And if you
  148. 4:30don't believe me when I say that a
  149. 4:31little bit of self-study like this video
  150. 4:33goes a long way, here's a great clip
  151. 4:35that I've seen recently on the All-In
  152. 4:37podcast from one of the most respected
  153. 4:38investors and technologists in the
  154. 4:40world, Navar Raakan, alongside a whole
  155. 4:42bunch of other very smart billionaires.
  156. 4:44Again, I would say the easiest way to
  157. 4:46see that AI is not taking jobs or
  158. 4:48creating opportunities is go brush up on
  159. 4:50your AI. Learn a little bit, watch a few
  160. 4:52videos, use the AI, tinker with it, and
  161. 4:55then go reapply for that job that
  162. 4:57rejected you and watch how they pull you
  163. 4:59in. And so this video is exactly what
  164. 5:01Naval is talking about. So whether
  165. 5:02you're an aspiring entrepreneur wanting
  166. 5:03to learn valuable AI skills and launch
  167. 5:05an AI business like I have, or you're a
  168. 5:07business owner wanting to just
  169. 5:09understand agents so you can use them to
  170. 5:11grow your business, or maybe you're just
  171. 5:13wanting to make sure that you are the
  172. 5:14last person that your boss thinks of
  173. 5:16firing because he or she's an AI wiz and
  174. 5:18I can't afford to lose them. Then I have
  175. 5:20made this video for you guys. Now, what
  176. 5:22I want you to do is close out all of
  177. 5:23your other tabs. Go get a notebook and a
  178. 5:25pen and a beverage of choice and make
  179. 5:27sure you make a commitment to yourself
  180. 5:29right now in order to finish this
  181. 5:31training and ensure that you are going
  182. 5:32to be empowered by AI and not replaced
  183. 5:35by it. Now, if you've done all that,
  184. 5:36let's get stuck into
  185. 5:39it. All right, so step one in building
  186. 5:41AI agents is knowing what the hell an
  187. 5:43agent actually is. So, 2 years ago, when
  188. 5:45I first started learning about AI
  189. 5:47agents, I had no idea what they actually
  190. 5:49were. The term AI agent gets thrown
  191. 5:51around a lot in almost like everywhere
  192. 5:52these days. You got AI agents this, AI
  193. 5:54agents that. But what actually is an AI
  194. 5:56agent? Well, the clearest definition
  195. 5:58that I found that helps beginners to
  196. 5:59really wrap their head around what they
  197. 6:01are is this. An AI agent is a digital
  198. 6:03worker that can understand instructions
  199. 6:06and take actions in order to complete
  200. 6:08tasks. So, in a very simple way, just
  201. 6:10like businesses have employees who
  202. 6:12handle different tasks, an AI agent is
  203. 6:14like having a digital employee. But the
  204. 6:17cool thing is that you can build them
  205. 6:18and you can make them do whatever you
  206. 6:20want. You're like literally building an
  207. 6:22employee that you can put to work to do
  208. 6:23things for you. And of course, they cost
  209. 6:25much less to run than a human and they
  210. 6:27don't need sick days and they don't
  211. 6:29start beef with Mike over in the sales
  212. 6:30department because of his comment at the
  213. 6:32coffee machine. So, I'm sure you can see
  214. 6:34the appeal of this kind of digital work
  215. 6:36and AI agents to businesses who are
  216. 6:38looking to adopt them.
  217. 6:41In order to really understand why these
  218. 6:43AI agents are such a big deal, we need
  219. 6:45to look at where we are coming from. So
  220. 6:47most of you have probably encountered
  221. 6:48those chat bots on websites before. You
  222. 6:50know those little little chat widgets
  223. 6:52that pop up saying like, "Hey, how can I
  224. 6:54help you?" So these kinds of chat bots
  225. 6:55are pretty basic, right? They a lot of
  226. 6:57the time they're useless and they're
  227. 6:58they're kind of like a waiter who can
  228. 7:00only really recite the menu but can't
  229. 7:02actually take your order or or bring
  230. 7:03your food. They can't do anything. They
  231. 7:05just respond with some kind of
  232. 7:06pre-written answers. Well, nowadays it's
  233. 7:08a simple AI generated answer. But AI
  234. 7:10agents are different, right? So, here's
  235. 7:13an example. If you ask a regular chatbot
  236. 7:15about booking an appointment, it might
  237. 7:17say, "Oh, our business hours are 9 to5.
  238. 7:19Please call to book." And that's it.
  239. 7:21They just give you some information
  240. 7:22back. But with an AI agent, it could
  241. 7:25actually go and check the calendar, find
  242. 7:27some available slots, go back and forth
  243. 7:29with the person that they're chatting to
  244. 7:30in order to book an appointment, send
  245. 7:32you a confirmation email, then update
  246. 7:34the business's scheduling system and CRM
  247. 7:36automatically in seconds. This ability
  248. 7:39to take action is what makes agents so
  249. 7:41powerful. They're not just fancy chat
  250. 7:42bots. They're actually digital workers
  251. 7:44who can search through databases, update
  252. 7:47spreadsheets, send emails, book
  253. 7:49appointments, generate hold documents,
  254. 7:52and much much more. And so building and
  255. 7:54deploying an AI agent is a bit like
  256. 7:56hiring a new employee because when you
  257. 7:58bring someone into a business, you need
  258. 8:00to firstly explain their roles and the
  259. 8:02responsibilities to them. You need to
  260. 8:04give them access to your system so they
  261. 8:06can use them. And you need to trust them
  262. 8:08to handle those tasks independently. And
  263. 8:10now when we are building agents, as we
  264. 8:11see later, it's exactly the same, except
  265. 8:14these agents are going to be working
  266. 8:1524/7. They're never going to get tired.
  267. 8:17They can be duplicated and modified
  268. 8:19instantly. And they cost a fraction of
  269. 8:21what a human employee does. And this is
  270. 8:23exactly why understanding how to build
  271. 8:25and sell AI agents is becoming such a
  272. 8:27crucial and valuable skill these days.
  273. 8:29Because whether you're an entrepreneur
  274. 8:31looking to scale your business or you're
  275. 8:33an employee wanting to become
  276. 8:34irreplaceable and and make more money at
  277. 8:36work, knowing how to create and deploy
  278. 8:38these digital workers is like the
  279. 8:41biggest cheat code in the whole world
  280. 8:42right
  281. 8:44now. Now that you understand what AI
  282. 8:46agents actually are, let's look under
  283. 8:48the hood and see how they actually work.
  284. 8:50Just like humans need a brain, memory,
  285. 8:52and tools in order to do their job, AI
  286. 8:55agents need specific components in order
  287. 8:57to function correctly. An AI agent needs
  288. 8:59five key parts in order to work.
  289. 9:01Firstly, every AI agent needs a brain.
  290. 9:03In the AI world, we call this a large
  291. 9:05language model or an LLM for short. And
  292. 9:07you've probably heard of some of these.
  293. 9:08You've got GPT from OpenAI, Claude from
  294. 9:11Anthropic, Gemini from Google, etc. You
  295. 9:13can think of the LLM as having a super
  296. 9:15smart intern who can understand your
  297. 9:17instructions in plain English, and then
  298. 9:19figure out how to get things done from
  299. 9:20those instructions. So, without this
  300. 9:22brain, all of the other parts would be
  301. 9:23useless, right? It's like having a whole
  302. 9:25desk full of office supplies but having
  303. 9:27no one sitting there in order to use
  304. 9:28them. Secondly, the brain needs
  305. 9:30instructions on how to behave. And this
  306. 9:32is prompting. So writing a prompt for an
  307. 9:34agent is how you program a lot of the
  308. 9:36behavior of it rather than having to
  309. 9:37code it manually. And this is really
  310. 9:39what makes building AI agents so much
  311. 9:41more accessible to non-coders as the way
  312. 9:43of actually programming the
  313. 9:44functionality and how they work is done
  314. 9:46through clearly written instructions
  315. 9:47rather than having to actually code it.
  316. 9:49Thirdly, agents need memory. Imagine
  317. 9:52trying to have a conversation with
  318. 9:53someone who forgets everything you said
  319. 9:5430 seconds ago, right? So, memory is
  320. 9:56really important because it allows your
  321. 9:58agent to remember what you talked about
  322. 10:00just a few messages ago, keep track of
  323. 10:02the tasks that it's been working on,
  324. 10:04build on previous conversations, and
  325. 10:06even in more advanced ones, it can learn
  326. 10:08from your past interactions. And the
  327. 10:09good news about memory is that most AI
  328. 10:11agent platforms completely handle this
  329. 10:13memory component automatically. So, you
  330. 10:14don't need to worry too much about it.
  331. 10:16But just know that it is an important
  332. 10:17part of a functioning AI agent. The
  333. 10:19fourth component of an agent, and this
  334. 10:20one is optional, but it is external
  335. 10:22knowledge. AI models like GPT and Gemini
  336. 10:25are pre-trained on a huge amount of
  337. 10:27data, but that data is basically cut off
  338. 10:29at a certain point, eg 2024. It's kind
  339. 10:32of like having a new employee who only
  340. 10:34really knows what they learned in
  341. 10:35school. But just like you can train an
  342. 10:37employee like that with your company's
  343. 10:39specific materials, you can also give an
  344. 10:41AI agent additional knowledge on top of
  345. 10:44the information it was trained on
  346. 10:45through providing things like PDFs of
  347. 10:47your company documents, spreadsheets
  348. 10:48with product information, customer
  349. 10:50service transcript, or basically any
  350. 10:52other textbased information. Without
  351. 10:54this added knowledge, agents will be
  352. 10:56limited to general information and
  353. 10:57couldn't handle specific business tasks.
  354. 10:59But as I said, knowledge is optional and
  355. 11:01you will only need it in some builds.
  356. 11:02Finally, and this is the most important
  357. 11:04part, we have tools. So tools are what
  358. 11:07transform an AI agent from just being
  359. 11:08able to chat to being able to actually
  360. 11:11get things done. So you can think of
  361. 11:12tools like giving your digital employee
  362. 11:14access to different softwares. Just like
  363. 11:16you might give a new hire access to your
  364. 11:18email or your calendar or your CRM
  365. 11:20system, you can give an AI agent access
  366. 11:22to digital tools that let it take
  367. 11:24actions when needed. These tools let
  368. 11:26your agent do things like checking
  369. 11:27real-time data, updating databases,
  370. 11:29sending messages and notifications,
  371. 11:30creating documents, all the stuff we
  372. 11:32went over just before and much, much
  373. 11:34more. The really powerful part, which
  374. 11:35we're going to cover later, is when
  375. 11:36agents use multiple tools together in
  376. 11:38order to solve complex problems, just
  377. 11:41like us humans would use multiple
  378. 11:42different websites and softwares when
  379. 11:44doing our tasks. Now, let me show you
  380. 11:46how all of these parts work together in
  381. 11:47a real example. So, say you want an
  382. 11:50agent to handle customer support. When
  383. 11:52the agent is sent a message, the brain
  384. 11:54immediately understands the prompt that
  385. 11:55it has been given and also understands
  386. 11:57what the customer is asking. It checks
  387. 11:59its recent memory before replying each
  388. 12:01time to understand the full context of
  389. 12:03their conversation. And if the brand
  390. 12:04detects that the customer wants a
  391. 12:06specific question answered from the
  392. 12:08knowledge base, it will use its external
  393. 12:10knowledge in order to deliver the right
  394. 12:12information to them. And finally, it may
  395. 12:14use tools to update a customer's account
  396. 12:16or to process a refund whenever required
  397. 12:18during the conversation. So all of these
  398. 12:20things are happening in seconds as the
  399. 12:21conversation is going on. Which is why
  400. 12:23AI agents are such a game changer. They
  401. 12:25can combine all of these components in
  402. 12:27order to create a fully capable digital
  403. 12:29worker that very very closely replicates
  404. 12:31how humans
  405. 12:34work. Now that you know the anatomy of
  406. 12:36an agent and the five parts of it, a
  407. 12:38more practical framework for
  408. 12:40understanding how we actually plan and
  409. 12:41build AI agents is what I call the three
  410. 12:44ingredients. Basically, you only have
  411. 12:45three elements to plan when creating an
  412. 12:47AI agent, which when mixed in various
  413. 12:49ways can create millions and different
  414. 12:51types of agents for different use cases.
  415. 12:53This is because the AI model or brain
  416. 12:55can be easily swapped in and out and
  417. 12:57isn't really a major factor in the
  418. 12:59performance of the agent as any of the
  419. 13:01top models that you pick from any of the
  420. 13:02different providers at any given time,
  421. 13:04they're all pretty good. And also, the
  422. 13:05recent chat memory is handled by default
  423. 13:07in almost all cases when you're building
  424. 13:08on these platforms that you're going to
  425. 13:09see later. What this leaves us with is
  426. 13:11what really matters when building and
  427. 13:12planning AI agents. Firstly, the
  428. 13:14knowledge, the external data that you
  429. 13:15want the agent to be able to use when
  430. 13:17answering. Secondly, the tools, the
  431. 13:19different actions that you want the
  432. 13:20agent to be able to take, eg saving the
  433. 13:22contact info to the CRM or getting some
  434. 13:24live data on stocks or sending an email.
  435. 13:27And then finally, prompting, which is
  436. 13:29the glue that ties everything together
  437. 13:31and determines how the agent behaves.
  438. 13:33So, write these down. While the agent
  439. 13:35has five components, the brain, the
  440. 13:36prompt, the memory, the knowledge, and
  441. 13:38tools, your main focus as an AI agent
  442. 13:40builder is in the three ingredients of
  443. 13:42prompting, knowledge, and tools. In the
  444. 13:44next chapter, we'll be looking at how
  445. 13:45you actually build an agent using the
  446. 13:47different combination of these three
  447. 13:48ingredients. But first, we need to dive
  448. 13:50deeper into the keystone of
  449. 13:52understanding how to build your own
  450. 13:53valuable digital workers. And it all
  451. 13:55comes down to
  452. 13:58tools. Now, we need to dig a lot deeper
  453. 14:00on tools as they are by far the most
  454. 14:02powerful part of AI. agents. But in
  455. 14:05order to understand deeply and be able
  456. 14:06to build powerful agents with them, we
  457. 14:08need to take a few steps back and
  458. 14:10actually cover the basics of how
  459. 14:12software and the web and internet as a
  460. 14:14whole works. Now, this is as techy as
  461. 14:16it's going to get in this video, but I
  462. 14:17promise once you understand this, it's
  463. 14:19so important and it's literally like
  464. 14:20having a superpower. So, please stick
  465. 14:22with me through this. So, remember how
  466. 14:24we said that tools are what allow agents
  467. 14:25to take an action to actually do things
  468. 14:28rather than just chat? Well, the way
  469. 14:30agents use tools and do work online is
  470. 14:33just how we do it as well, but with one
  471. 14:35key difference. Instead of clicking
  472. 14:37buttons and typing into forms, agents
  473. 14:39use what we call APIs. And every time
  474. 14:42you use the internet, you're actually
  475. 14:43making dozens of requests to APIs as
  476. 14:46well and getting responses back, but you
  477. 14:48just don't realize it. So, let me show
  478. 14:49you what I mean. So, when you click on
  479. 14:51this video, here's what actually
  480. 14:53happened. Firstly, your browser sent a
  481. 14:56request to YouTube servers saying, "Hey,
  482. 14:59I want to watch this video." And then
  483. 15:00YouTube servers sent back all of the
  484. 15:02data needed. And thirdly, your browser
  485. 15:05unpacked that data and started playing
  486. 15:07the video on your screen. So this
  487. 15:08request and response pattern happens
  488. 15:10with almost everything that you do
  489. 15:11online. When you open up Instagram, you
  490. 15:13are requesting your feed from Instagram
  491. 15:15service. When you send a tweet, you are
  492. 15:17sending your data through Twitter's
  493. 15:19service. And when you check your email,
  494. 15:20you are requesting from Google the
  495. 15:22latest messages in your inbox and
  496. 15:24they're sending it back and your browser
  497. 15:25is loading it. Thankfully, we get pretty
  498. 15:27websites and apps that make it very easy
  499. 15:29for us to do this and use software via
  500. 15:31APIs through a nice application. But
  501. 15:33under the hood, it is still two
  502. 15:34computers talking back and forth,
  503. 15:36requesting, sending, and displaying new
  504. 15:38information for us on our screen. These
  505. 15:40request and response happen through what
  506. 15:41we call APIs, which are application
  507. 15:43programming interfaces. So, you can
  508. 15:45think of APIs like waiters in a
  509. 15:47restaurant. Basically, they're going to
  510. 15:48take your order or your request to the
  511. 15:50kitchen, which are the servers of the
  512. 15:52business, and then they bring back your
  513. 15:54food, which is the response. So, you
  514. 15:56have request and response, and you have
  515. 15:57you as the client, and them as the
  516. 15:59server. There are two main types of
  517. 16:01requests that you can make. Firstly,
  518. 16:02either a get request. This is basically
  519. 16:05just like asking for information like
  520. 16:07checking the weather or looking up the
  521. 16:08price or loading this video. You're
  522. 16:10requesting to get the information to do
  523. 16:12something. Secondly, we have post
  524. 16:14requests, which is when you're sending
  525. 16:15some kind of information like posting a
  526. 16:17tweet, sending an email, or uploading a
  527. 16:20photo. So, go back and write both those
  528. 16:21down because we're going to be using
  529. 16:22them extensively in the building section
  530. 16:24of this video. Now, here's where it gets
  531. 16:26interesting. So, AI agents use these
  532. 16:28same APIs as their buttons to do things.
  533. 16:30So, each tool an agent has access to use
  534. 16:32is essentially an API that it is able to
  535. 16:35call. So, these kinds of tools come in
  536. 16:36two different flavors. We have pre-made
  537. 16:38integrations like Google Calendar or
  538. 16:40Gmail where it kind of comes out of the
  539. 16:42box ready for you to use and just plug
  540. 16:43straight into your agent. And then we
  541. 16:45have custommade tools that we can build
  542. 16:47ourselves. So you can think of pre-made
  543. 16:49integrations like buying a readymade
  544. 16:50meal where they've done a lot of the
  545. 16:52hard work versus custom tools where we
  546. 16:54are like cooking from scratch. And both
  547. 16:56work, but custom tools give you a lot
  548. 16:58more control. And this is a skill that
  549. 17:00I'm going to be teaching you in the
  550. 17:01second chapter of this
  551. 17:04video. Okay. So now you got the basics.
  552. 17:06Let's get clear on how a tool is
  553. 17:07actually made and what the key parts are
  554. 17:09as you're going to be using them a lot.
  555. 17:11So, let's break this down using a simple
  556. 17:13example of a text capitalization tool.
  557. 17:15It takes in some text and the outputs
  558. 17:17the capitalized version of it. So, first
  559. 17:19to create a tool, we need a function. We
  560. 17:21need something that does work. In this
  561. 17:23case, it's super simple, right? It needs
  562. 17:24to take in text and it needs to make it
  563. 17:26uppercase. So, this can either be done
  564. 17:28through a basic Python function or you
  565. 17:30can use an LLM to do this as well.
  566. 17:31Basically, we need to build some way to
  567. 17:33capitalize the text that we give to this
  568. 17:35function and actually do the do the
  569. 17:36work. Next, in order for the AI agent to
  570. 17:39use this function, we need to wrap it in
  571. 17:41an API. So, we have the function and
  572. 17:42then the API wraps around it. And this
  573. 17:44is essentially making that functionality
  574. 17:46we created accessible over the internet
  575. 17:48via APIs. Without it, the function
  576. 17:51cannot be used by our agent. And in
  577. 17:53order to use the API that we've just
  578. 17:54created and use this function inside it,
  579. 17:56the API is going to expect the same sort
  580. 17:59of inputs that the function needs. So
  581. 18:01the input of the text that we want to
  582. 18:02capitalize and it's going to output the
  583. 18:04capitalized version. So this is very
  584. 18:06important to remember function. It takes
  585. 18:08in the input of the uncized text does
  586. 18:10work and outputs the capitalized
  587. 18:12version. We're basically then just
  588. 18:14building an API around it so that we can
  589. 18:16put it on the internet and then we can
  590. 18:18have an agent that knows how to call
  591. 18:19that API can send information into the
  592. 18:21input go through the function and then
  593. 18:23get spit out and then our agent catches
  594. 18:25it at the end. But the magic step and
  595. 18:27what has really caused the AI revolution
  596. 18:28to kick off is that we can explain to
  597. 18:31our agent how to use this API just by
  598. 18:34explaining how the API works in natural
  599. 18:36language. And this is where schemas come
  600. 18:40in. A schema is like a one-page
  601. 18:42instruction manual on how to use an API
  602. 18:45and therefore how to access the
  603. 18:47functionality inside that API. And when
  604. 18:48an AI agent is given one of these
  605. 18:50schemas, it too can read that
  606. 18:52instruction manual and determine things
  607. 18:54like what the tool does, what
  608. 18:56information it needs as an input, like
  609. 18:58we talked about before, and what
  610. 19:00information to expect as an output. Now,
  611. 19:02they may look scary, but they're
  612. 19:03actually really, really easy to
  613. 19:04understand, and we're going to cover
  614. 19:05them in the next chapter with this
  615. 19:06video. And the good part about it is
  616. 19:08that these days, schemas are
  617. 19:09automatically created by many of these
  618. 19:11no code platforms that you build agents
  619. 19:12on. But I'm teaching you this because it
  620. 19:14still helps to know what they are doing
  621. 19:16and what that what's really happening
  622. 19:17under the hood on these platforms. And
  623. 19:19there are still going to be times where
  624. 19:20you may need to roll up your sleeves and
  625. 19:21do it yourself. The incredible part
  626. 19:22about these schemas is that modern AI
  627. 19:24like chatpt can read these instructions
  628. 19:26and perfectly understand not just how to
  629. 19:28use it and like okay I need an input and
  630. 19:30then I expect an output but also when to
  631. 19:32use it. For example, let's say we had an
  632. 19:34agent and we gave it that capitalization
  633. 19:36tool that we just talked about and then
  634. 19:37we said can you please capitalize this
  635. 19:39text? Mary had a little lamb. The agent
  636. 19:41would then read over the schemas that we
  637. 19:43provided it and then it would see that
  638. 19:44there's a tool with a description saying
  639. 19:46this tool capitalizes text right in the
  640. 19:48instructions for the capitalization
  641. 19:50tool. We would have said this thing is
  642. 19:52for capitalizing text and it takes in
  643. 19:54some text and it gives you the
  644. 19:55capitalized version. And so the agent
  645. 19:56will read that and see okay this looks
  646. 19:59like based off the instruction they just
  647. 20:00gave this is the tool that they want to
  648. 20:02use. And then it will check the
  649. 20:03requirements and see that the tool takes
  650. 20:05in one input in string format which is
  651. 20:07just text which we have described as the
  652. 20:10text to be capitalized. So it reads all
  653. 20:11this. He says okay it it needs one
  654. 20:13input. It's in string format. So I know
  655. 20:15I need to give it some text and okay
  656. 20:17what does this text do? It's the text
  657. 20:18that they want to capitalize. Great. So
  658. 20:20now it knows it needs the input and it
  659. 20:22knows that this is where it's going to
  660. 20:23send the text to be capitalized. Then
  661. 20:24now that it knows what it wants, it goes
  662. 20:26back to our message and it intelligently
  663. 20:28extracts Mary had a little lamp. not,
  664. 20:30hey, can you please capitalize Mary had
  665. 20:32a little lamb? It's smart enough to know
  666. 20:33that we want that taken out. So, it will
  667. 20:35take that part, Mary had a little lamb,
  668. 20:37out of our input, and then it sends that
  669. 20:39to the API where our capitalization
  670. 20:42function does its thing. Then the API
  671. 20:43sends back the capitalized version plus
  672. 20:46a bunch of other response data as well.
  673. 20:48Then the agent looks at your original
  674. 20:50question, looks at this messy response
  675. 20:52it got back from the API, and then using
  676. 20:54its brain, the LLM, it writes a natural
  677. 20:56language response answering your
  678. 20:58question. It would say, "Here's your
  679. 20:59capitalized text colon Mary had a little
  680. 21:02lamb in all caps." That may sound
  681. 21:03complicated. It may have gone over your
  682. 21:04head. Please go back and just listen to
  683. 21:06it again. You really, really need to
  684. 21:08understand this process of uh the
  685. 21:10message comes in, looks at the schema,
  686. 21:11realizes, okay, it wants to use this
  687. 21:13tool. Okay. What do I need to do in
  688. 21:14order to use this tool? Okay. Well, then
  689. 21:16I'm going to grab it out of the input.
  690. 21:18I'm going to put it in here. And it can
  691. 21:19actually go back and forth. Say our
  692. 21:21capitalization tool needed some other
  693. 21:22input. Say you needed to provide uh the
  694. 21:25number of letters you wanted to be
  695. 21:26capitalized. It may see that this tool
  696. 21:28needs two inputs and I've only been
  697. 21:30given one. So then it will go back and
  698. 21:32ask me, hey, could you can you please
  699. 21:34tell me how many letters you want to be
  700. 21:35capitalized and you will see this magic
  701. 21:37in the agents that we're going to build.
  702. 21:39When the agent can ask you questions in
  703. 21:40order to help fulfill the needs of the
  704. 21:42tool, you have this very intelligent
  705. 21:43system that really will blow you away
  706. 21:45when you see it in action. And one thing
  707. 21:46many people miss about this process is
  708. 21:48the agent actually gets back raw
  709. 21:50computer data from the API or what we
  710. 21:52call JSON. But using the LLM, it can
  711. 21:55transform that into natural conversation
  712. 21:56and answer your question in a very very
  713. 21:59uh clear and concise way. So it's
  714. 22:00basically like having an employee who
  715. 22:02can read all this technical information
  716. 22:04and then explain it to you in plain
  717. 22:05English, which is another part of why AI
  718. 22:07agents are so powerful. And so when you
  719. 22:09understand this pattern that we've just
  720. 22:10gone through, I promise you, you will
  721. 22:11never see the internet the same way
  722. 22:13again. Every action online is just
  723. 22:15requests and responses. And therefore,
  724. 22:18we can build our own tools and AI agents
  725. 22:20to automate all of it. So instead of you
  726. 22:22manually searching the web, copying
  727. 22:24information, pasting it into
  728. 22:26spreadsheets, sending emails, an AI
  729. 22:28agent can do it all automatically using
  730. 22:29tools if you build it correctly. It's
  731. 22:31like having a digital employee who can
  732. 22:33press all of these API buttons for you
  733. 22:36thousands of times faster than any human
  734. 22:38could. And don't worry if this feels a
  735. 22:39little bit technical. In the next
  736. 22:41chapter, uh I'm going to show you how to
  737. 22:42create your own tools like this from
  738. 22:44scratch using platforms like Relevance
  739. 22:46AI, uh where you can build out powerful
  740. 22:47tools without writing any code. and will
  741. 22:49really start to click into place once
  742. 22:50you see the stuff in action in the
  743. 22:52building section. But before we get into
  744. 22:53that, let me reveal the power of AI
  745. 22:55agents which is unleashed when they are
  746. 22:57given multiple tools to work
  747. 23:00with. Now, obviously having an AI agent
  748. 23:02that just capitalizes text isn't very
  749. 23:04useful. I get that. The real magic
  750. 23:06happens when you give agents multiple
  751. 23:08tools and the ability to use them
  752. 23:09together in order to achieve complex
  753. 23:11goals. So, do you remember our
  754. 23:13definition? AI agents are workers that
  755. 23:15can understand instructions and take
  756. 23:16actions to complete tasks. When you give
  757. 23:19an AI agent a task, it's going to try
  758. 23:21its best to execute on it, but if it
  759. 23:23doesn't have the right tools on hand to
  760. 23:24do the job, it's going to be useless.
  761. 23:26And so, the more tools that you can give
  762. 23:28an agent, the more flexibility it has to
  763. 23:30solve problems just like a human would.
  764. 23:32So, let me give you a real example from
  765. 23:33my own business, right? Say I build an
  766. 23:35agent and give it the task. Find AI
  767. 23:37startups that have recently raised money
  768. 23:39and put them in a spreadsheet and add a
  769. 23:41summary of each of the businesses in the
  770. 23:42spreadsheet and then email me the link
  771. 23:44to the spreadsheet. When you give an AI
  772. 23:45agent a task like this and provide it
  773. 23:47with multiple tools to use, it can break
  774. 23:49down this problem just like a human
  775. 23:51would. For example, it might think first
  776. 23:54I need to search for AI startups using
  777. 23:56my web searching tool. Okay, let's do
  778. 23:57that first. Then I'll need to create a
  779. 23:59new spreadsheet with my Google Sheets
  780. 24:01tool. And then for each company that I
  781. 24:03find, I'll need to add a row to the
  782. 24:04spreadsheet. And then I'll need to write
  783. 24:06a summary of each business and put it in
  784. 24:07a new column. And then finally, I'll use
  785. 24:09my email tools in order to send the link
  786. 24:10to Liam. And that's all great, but then
  787. 24:12when you add on top of that powerful
  788. 24:14reasoning models like OpenAI's 01 and 03
  789. 24:16and even things like deepseat as the
  790. 24:18brain of the agent that can plan, take
  791. 24:20actions, then reflect and then plan
  792. 24:22again and so on. You have essentially
  793. 24:24created a truly intelligent AI that
  794. 24:26solves problems and approaches them just
  795. 24:28like a human would. So, say for example,
  796. 24:30the original plan was to use the web
  797. 24:32search tool to search for AI startups
  798. 24:34raising money. Probably a terrible
  799. 24:35search term, but what if that doesn't
  800. 24:38return any good results to the agent?
  801. 24:39Well, a human would go, damn, I need to
  802. 24:41change my search term or maybe I need to
  803. 24:43try find a different method of finding
  804. 24:44these companies on like LinkedIn or
  805. 24:46something. The latest in AI technology
  806. 24:47like these reasoning models, it allows
  807. 24:49these agents to do this exact same kind
  808. 24:51of reflection and replanning in order to
  809. 24:54achieve their objective. And this is
  810. 24:55when you can really see why we call them
  811. 24:57digital workers because they can do
  812. 24:59things like planning multiple steps.
  813. 25:01They will use different tools in a
  814. 25:03sequence and even adjust their approach
  815. 25:05based on the results from those tools.
  816. 25:07Now, I should mention that this
  817. 25:08technology isn't perfect yet, right? So,
  818. 25:10these multi-step tasks are often
  819. 25:12unreliable and agents typically need
  820. 25:14human supervision for more complex
  821. 25:16workflows. But things are moving
  822. 25:19incredibly, incredibly fast. In fact,
  823. 25:20we're already seeing the next evolution,
  824. 25:22which is multiple agents working
  825. 25:24together. Instead of just one agent
  826. 25:25trying to do everything, you can have
  827. 25:27one main agent that you give orders to,
  828. 25:29and then it can use all of the other
  829. 25:30agents underneath it as tools where it
  830. 25:32can send specific instructions. Like
  831. 25:34underneath the main agent might be a
  832. 25:36research agent, which is best at finding
  833. 25:38companies and has its own tools. Then
  834. 25:39you have a writing agent that's really
  835. 25:41good at writing summaries. Then you have
  836. 25:42an emailing agent, which has got all the
  837. 25:44emailing tools. And so each of these
  838. 25:45agents can be specialized in their
  839. 25:47specific task with multiple tools. and
  840. 25:49then they all work together to achieve a
  841. 25:50common goal. This is exactly what major
  842. 25:53companies like HubSpot and Microsoft and
  843. 25:54Google are building towards. It's these
  844. 25:57entire workforces of AI agents that can
  845. 25:59handle complex business processes
  846. 26:00automatically. In the next chapter, I'll
  847. 26:02show you how to build AI agents like
  848. 26:03this for yourself using no code tools.
  849. 26:05But first, we need to understand the
  850. 26:06different ways that these agents can
  851. 26:08actually be used in the real
  852. 26:11world. So, we understand how AI agents
  853. 26:14and tools work under the hood. Now,
  854. 26:15great. If you don't, please go back and
  855. 26:18take some notes, right? You should by
  856. 26:19now have a whole bunch of notes um from
  857. 26:21the stuff that we've covered already.
  858. 26:22And this stuff that you're learning took
  859. 26:23me two years in order to learn and and
  860. 26:25be able to apply effectively. So, you
  861. 26:27best believe it that it's going to take
  862. 26:28you two to three watches before it all
  863. 26:30sinks in. So, if you're feeling a bit
  864. 26:31lost and and overwhelmed, don't worry.
  865. 26:33That's how it feels with learning
  866. 26:34anything new or how it should feel if
  867. 26:36you're learning something that's
  868. 26:37actually pushing your boundaries and
  869. 26:38adding something to your to your
  870. 26:39capabilities. Next, we need to look at
  871. 26:41the different ways that AI agents can be
  872. 26:43used in the real world. There are two
  873. 26:45main categories of AI agents.
  874. 26:47Conversational agents and automated
  875. 26:49agents. Conversational agents are ones
  876. 26:50that humans interact with directly
  877. 26:52through chat on things like websites.
  878. 26:55You've got maybe you're chatting to it
  879. 26:56on WhatsApp. You've got interacting with
  880. 26:58it over the phone via phone call. You've
  881. 27:00got chatting to it via Instagram DMs or
  882. 27:02custom apps and websites. For example,
  883. 27:04OpenAI's GPT platforms allows you to
  884. 27:06create agents that you can chat with
  885. 27:08directly on your computer or on your
  886. 27:09phone. or using platforms like my own
  887. 27:11Agent, you can connect these agents that
  888. 27:13you build onto a WhatsApp number or onto
  889. 27:15Instagram. And I'll show you how to do
  890. 27:17this in the tutorial chapter of this
  891. 27:19video. So, in all these cases, you or
  892. 27:21someone else is there sending messages
  893. 27:23or instructions to the agent and
  894. 27:25explaining what you want to do and kind
  895. 27:26of chatting back and forth with it,
  896. 27:28whether it's on a website, WhatsApp,
  897. 27:29Instagram, or whatever. And within these
  898. 27:31conversational agents, it's not just
  899. 27:32text based. It's like I said, there's AI
  900. 27:34voice agents as well, which are an
  901. 27:35extremely exciting sector of the AI
  902. 27:37space right now. And these systems use
  903. 27:39multimodal models that can take in audio
  904. 27:42as input and then produce audio as an
  905. 27:44output. And so these agents can be
  906. 27:46chatted to over the phone or via audio
  907. 27:48rather than via text. This AI voice
  908. 27:50stuff is super cool. And in the tutorial
  909. 27:52section, I'm going to show you how to
  910. 27:53take the exact same AI agent that we can
  911. 27:55chat to on a website and then connect it
  912. 27:57to a phone number and talk to it on the
  913. 27:58phone. But then we get to what I call
  914. 28:00automated agents. And so these are
  915. 28:02slightly different from the
  916. 28:03conversational ones. The truth is that
  917. 28:04AI agents don't always need humans to
  918. 28:06talk to them and use them directly. All
  919. 28:09they need is some kind of input or
  920. 28:11instructions to trigger them and that
  921. 28:13tells them what to do. This means that
  922. 28:14we can build these automated agents that
  923. 28:16instead of waiting for some kind of
  924. 28:18human input, they are actually part of
  925. 28:20larger systems and processes and they're
  926. 28:22triggered automatically by events like a
  927. 28:24new email received or a form submission
  928. 28:26or they work on schedules like once a
  929. 28:28day and they essentially work in the
  930. 28:30background without necessarily having
  931. 28:32human oversight or input. For example,
  932. 28:34later in the video, we are going to be
  933. 28:35building an automated agent that is
  934. 28:37triggered by a new form submission. When
  935. 28:39the form is submitted, some of that form
  936. 28:41data is taken and sent to the agent,
  937. 28:42which then causes it to use the tools
  938. 28:44that we've equipped it with and follows
  939. 28:46the instructions in the prompt that we
  940. 28:47gave it in order to make decisions and
  941. 28:49take appropriate actions on our behalf
  942. 28:51in a fully automated way. We are still
  943. 28:53sending the message to the agent, but
  944. 28:55it's not a human needing to type it
  945. 28:57manually or speak it over the phone.
  946. 28:59There's no human step. The input is
  947. 29:01being automated in some way. And this of
  948. 29:02course opens up a huge number of use
  949. 29:04cases for AI agents in businesses
  950. 29:06especially. And of course I'll be
  951. 29:07showing you how to build both types of
  952. 29:08these conversational and automated
  953. 29:10agents in the tutorial section of this
  954. 29:12video. But the last step of building
  955. 29:14your foundation of knowledge before we
  956. 29:15move into that is to look at some real
  957. 29:17world examples of how businesses are
  958. 29:19using these AI agents right
  959. 29:23now. So firstly we have the personal
  960. 29:25assistant category. And this is what
  961. 29:27most people think of when they hear the
  962. 29:28word agent. something that you can chat
  963. 29:30to that's going to update your calendar
  964. 29:31and sort of send emails and even make
  965. 29:33phone calls for you. Um, now these are
  966. 29:35all nice to have features, but honestly
  967. 29:38uh this space is likely going to be
  968. 29:39dominated by the big tech giants. You've
  969. 29:41got OpenAI through Chatbt trying to do
  970. 29:43this with Tasks, Google through their
  971. 29:45suite of apps and connecting them to
  972. 29:47Gemini and Apple through Siri. These
  973. 29:49guys are going to eat up this entire
  974. 29:50market of personal assistance and your
  975. 29:52own personal AI agent that helps you do
  976. 29:54personal stuff. the real opportunity
  977. 29:56lies in business applications and how
  978. 29:58people like you and I can build and sell
  979. 30:00AI agents to businesses which we're
  980. 30:01going to be covering in depth in the
  981. 30:03final chapter of this video. So, we've
  982. 30:04got the next chapter which is going to
  983. 30:05be on building the four tutorials and
  984. 30:08the final chapter is all about how to
  985. 30:09sell and how to monetize your AI agent
  986. 30:11skills that you've just learned. One of
  987. 30:12the core use cases for businesses right
  988. 30:14now are what's called co-pilots. And
  989. 30:16these are AI agents made for specific
  990. 30:18roles in a business. We're going to be
  991. 30:20building one of these later in the
  992. 30:21video. And these specialized AI agents
  993. 30:23are essentially helping someone in a
  994. 30:25specific role in a business to do their
  995. 30:27job more effectively. Take a customer
  996. 30:29support co-pilot for example. It would
  997. 30:31have a knowledge base that allows reps
  998. 30:33to get answers to customer queries
  999. 30:34instantly and deliver them over the
  1000. 30:35phone. So they've got the little
  1001. 30:36co-pilot up on the side there. They're
  1002. 30:38on the phone. They get a question, they
  1003. 30:40can search and for an answer in the
  1004. 30:41knowledge base, it gives them back and
  1005. 30:42they can give it to them over the phone.
  1006. 30:44This same agent could also have a tool
  1007. 30:45that allows them to look up the customer
  1008. 30:47information very quickly. Um, I could
  1009. 30:49have another tool that it makes it very
  1010. 30:50easy to send a summary of the call into
  1011. 30:52the database so that the next rep who
  1012. 30:54picks up the phone and talks with them
  1013. 30:55knows exactly what was discussed
  1014. 30:56previously. It's like giving every
  1015. 30:58support rep some kind of AI assistant
  1016. 31:00that makes them dramatically more
  1017. 31:01effective. It also makes their customer
  1018. 31:03support a lot more consistent as to what
  1019. 31:05the company wants people to be saying,
  1020. 31:06which is a a big problem with managing
  1021. 31:08large customer support systems. And then
  1022. 31:10we have lead generation and appointment
  1023. 31:11setting agents. These are probably the
  1024. 31:13most valuable type right now. And
  1025. 31:15businesses are using these on their
  1026. 31:16websites, through WhatsApp, on
  1027. 31:18Instagram, and even over the phone to
  1028. 31:20engage and have conversations with the
  1029. 31:21interested people who are approaching
  1030. 31:23the business 24/7. They can offer
  1031. 31:25instant answers about products and
  1032. 31:27services. And they're even smart enough
  1033. 31:28to be able to capture emails and phone
  1034. 31:30numbers mid-con conversation for later
  1035. 31:32follow-up by sales team. Some can even
  1036. 31:34book appointments on the spot and mid-
  1037. 31:36conversation by using a tool to check
  1038. 31:37the calendar availability and then using
  1039. 31:39another tool to create a new booking
  1040. 31:41once they've agreed on a time with the
  1041. 31:43prospect. Another real world agent use
  1042. 31:44case and one of my favorites is a
  1043. 31:46research agent. And so these can help
  1044. 31:48businesses by automatically researching
  1045. 31:50leads that come in through their website
  1046. 31:51or elsewhere. And when someone fills out
  1047. 31:53a form, the agent can spring into action
  1048. 31:55and start searching the web for
  1049. 31:56information on the company, finding
  1050. 31:58their LinkedIn profile of the person
  1051. 31:59they're going to get on a call with and
  1052. 32:00gathering any other valuable data that
  1053. 32:02it can find. Then it can take all of
  1054. 32:03this information and generate a summary
  1055. 32:05of who this person is and what this
  1056. 32:07company is also and decide whether
  1057. 32:09they're a good fit for working with the
  1058. 32:10company and if so then they can send the
  1059. 32:13sales team some kind of detailed brief
  1060. 32:14or suggested strategy on how to close
  1061. 32:16this particular person on a call based
  1062. 32:18on the research. So it's basically like
  1063. 32:20having a an automated team of
  1064. 32:22researchers who as soon as leads show
  1065. 32:23interest in your business, they're out
  1066. 32:25there figuring out everything about them
  1067. 32:26and determining one whether they're a
  1068. 32:28good fit for you and your products and
  1069. 32:29services which is called qualification.
  1070. 32:30Then secondly, if they are qualified,
  1071. 32:32giving the sales rep something that will
  1072. 32:34bring them up to speed on who this
  1073. 32:35person or who this company is and how
  1074. 32:37they can try to close
  1075. 32:39them. So, we have covered a lot so far.
  1076. 32:42So, before we dive into each of these
  1077. 32:43agent builds that I'm going to walk you
  1078. 32:45through over my shoulder, please make
  1079. 32:47sure that you've got your notes taken
  1080. 32:48out and the core concepts of this video
  1081. 32:50so far understood properly. You should
  1082. 32:52be clear on things like what is the
  1083. 32:54definition of an AI agent? What are the
  1084. 32:56five parts of an agent? How is building
  1085. 32:59an AI agent like being a chef? And how
  1086. 33:01many ingredients do you have to play
  1087. 33:02with? What are the two main parts of a
  1088. 33:05tool? And what do schemers do? So, pause
  1089. 33:08the video now and try to answer these
  1090. 33:09questions. And if you aren't 100%
  1091. 33:11confident, you need to go back and watch
  1092. 33:13it again. So, don't rush this or you're
  1093. 33:15going to feel way out of depth when we
  1094. 33:17get into the tutorials that we're going
  1095. 33:18to be covering next. But if you are,
  1096. 33:19congratulations. You are one step closer
  1097. 33:21to AI literacy and becoming a much more
  1098. 33:23valuable uh participant in this global
  1099. 33:26economy. So before we get into the
  1100. 33:27second chapter, there's just three very
  1101. 33:28quick things from me. Firstly, if you
  1102. 33:30are a business owner who wants to fast
  1103. 33:32track to becoming an AI leader within
  1104. 33:34your industry, at my agency, Morningside
  1105. 33:36AI, we offer everything from AI
  1106. 33:38education and upskilling programs for
  1107. 33:39executives and staff to AI strategy and
  1108. 33:42roadmap consulting and of course AI
  1109. 33:44development services as well. So we
  1110. 33:45would love to help you get ahead. So
  1111. 33:47feel free to get in touch via our
  1112. 33:48website in the description below. And
  1113. 33:50secondly, at Morningside, we are hiring
  1114. 33:52for all sorts of roles right now. So
  1115. 33:53whether you want to build AI systems for
  1116. 33:55some of the world's biggest companies
  1117. 33:56that we have as clients or to help
  1118. 33:58produce videos like these that are seen
  1119. 34:00by millions of people or create
  1120. 34:02educational material for thousands of
  1121. 34:04businesses. Uh we have roles for all
  1122. 34:05sorts of things right now. So you can
  1123. 34:06apply using the link in the description.
  1124. 34:08And please, even if you're just vaguely
  1125. 34:09interested, I really recommend you just
  1126. 34:11check out the link and see what roles
  1127. 34:12we're hiring for. Uh you never know
  1128. 34:14what's going to be on there. Um and it
  1129. 34:16may be a very good way for you to use
  1130. 34:17your skills to fast track into the AI
  1131. 34:18space by working under myself and my
  1132. 34:20team. And finally, if you have gotten
  1133. 34:22any value so far in this video, please
  1134. 34:23head down below and leave a like on the
  1135. 34:25video. It helps me reach more people.
  1136. 34:27Um, I put a lot of work into these
  1137. 34:28videos and it also lets me know that you
  1138. 34:30enjoy this kind of content and that I
  1139. 34:31should make more of it. And of course,
  1140. 34:32if you like this kind of content and
  1141. 34:33want to see more of it, you can
  1142. 34:34subscribe so that YouTube will put my
  1143. 34:36videos up for you whenever a new one is
  1144. 34:38released. So, there's also a little
  1145. 34:39share button if you want to click that.
  1146. 34:40That'll let YouTube know this is good
  1147. 34:41content and that you're sharing it to
  1148. 34:42other people. Not only will that help
  1149. 34:44me, but you can share it to your friends
  1150. 34:45and family who may also or you may want
  1151. 34:48to help them to brush up on these skills
  1152. 34:49or help them give a way to get on the
  1153. 34:51front foot with AI. And that's what I
  1154. 34:52really make these videos for. So, thank
  1155. 34:54you for sitting through that little bit
  1156. 34:55of housekeeping and self-promotion. Now,
  1157. 34:57let's get stuck into the
  1158. 35:01building. I have carefully assembled
  1159. 35:03this chapter on building to give you the
  1160. 35:05most bang for your buck possible in
  1161. 35:07order to kick off your AI agent learning
  1162. 35:09journey. We are going to be covering
  1163. 35:10four different use cases across four
  1164. 35:12different AI agent building platforms.
  1165. 35:14These are all no code, so don't worry
  1166. 35:16about that. And the chances of you
  1167. 35:18falling in love with at least one of
  1168. 35:19these platforms is pretty much 100% as
  1169. 35:22you're going to rapidly start to connect
  1170. 35:23the dots uh about how you can start to
  1171. 35:25use these kinds of agents and these
  1172. 35:27platforms in your own life or in your
  1173. 35:28work or for your friends and family and
  1174. 35:30those around you. So, here's a quick
  1175. 35:31rundown of the builds we're going to be
  1176. 35:33getting into. The first build is going
  1177. 35:34to be a sales co-pilot built with
  1178. 35:36relevance AI. And here we're going to be
  1179. 35:38building three custom research tools
  1180. 35:40from scratch, including an advanced web
  1181. 35:42scraping tool, which is a a great skill
  1182. 35:44that I want to teach you. And with
  1183. 35:45these, we are going to be creating a
  1184. 35:46conversational agent to help the sales
  1185. 35:48reps at Big Boy Recruits, a hypothetical
  1186. 35:51fantasy uh recruitment firm, in order
  1187. 35:53for them to be better prepared for sales
  1188. 35:55course. So that's the purpose of the
  1189. 35:56sales co-pilot. The second build is
  1190. 35:58going to be an automated lead
  1191. 35:59qualification agent. And this will be
  1192. 36:01built on a platform called N8N. And this
  1193. 36:03time we will be helping Big Boy
  1194. 36:05Recruits, our fantasy recruitment firm,
  1195. 36:07to automatically research and qualify
  1196. 36:09new leads and then send an email
  1197. 36:10notification to the correct sales rep.
  1198. 36:12And this is going to show you that
  1199. 36:13automated style of agent where it's
  1200. 36:15built into a process rather than having
  1201. 36:16a human input necessarily. In build
  1202. 36:18number three, we will be building a
  1203. 36:19website and phone-based lead generation
  1204. 36:22customer support agent. This will be
  1205. 36:23built on voice flow and it's going to be
  1206. 36:25able to do three things. Firstly, answer
  1207. 36:27questions from a knowledge base,
  1208. 36:28generate instant quotes using a custom
  1209. 36:30tool we build and also do lead capture
  1210. 36:33on interested prospects. We're then
  1211. 36:34going to slap this agent onto a website
  1212. 36:36widget so that you can chat to it via a
  1213. 36:38website and via chat and text. And then
  1214. 36:40we're going to take that exact same
  1215. 36:41agent and connect them to a phone line
  1216. 36:43so that we can call our agent over the
  1217. 36:44phone and access all of the same
  1218. 36:45functionality we just talked about. And
  1219. 36:47finally, for build number four, we'll be
  1220. 36:49using my own AI agent platform, Agent,
  1221. 36:51to rapidly build a lead generation agent
  1222. 36:53and connect it to a WhatsApp number that
  1223. 36:55we can chat to. The leads that we
  1224. 36:56collect are going to be automatically
  1225. 36:57sent into an Air Table database for
  1226. 36:59later review. And please don't skip
  1227. 37:01around these builds as they're all kind
  1228. 37:02of connected in some way where we're
  1229. 37:04reusing parts from build one and build
  1230. 37:05two, etc. But without further ado, let's
  1231. 37:08get into building some agents. All
  1232. 37:09right, people. Enough of the theory. Uh,
  1233. 37:12now we get into the fun bit of actually
  1234. 37:14building these agents out. So, I've done
  1235. 37:16a lot of work and my team has done a lot
  1236. 37:18of work. So, thank you to the my team
  1237. 37:19members who have helped me put this
  1238. 37:20together. Um, putting together four
  1239. 37:22different AI agent builds for you. And
  1240. 37:24this is really going to walk you through
  1241. 37:26an A to Z all the different platforms
  1242. 37:28that you really need to care about, all
  1243. 37:30the different kind of core use cases and
  1244. 37:32functionality. There's a lot more of
  1245. 37:33course, but this is going to really give
  1246. 37:35you the foundation that you need to
  1247. 37:37succeed in the space. And hopefully
  1248. 37:39it'll be the thing that kind of sparks
  1249. 37:40your interest in it because I I want you
  1250. 37:43guys to have fun with it. these big
  1251. 37:44tutorials for me. Honestly, when I put a
  1252. 37:46lot of work into it, I build up the sort
  1253. 37:47of mental resistance to it because I
  1254. 37:49know how much work there is going into
  1255. 37:50it and I have to make this big whole
  1256. 37:52session where I'm all uptight about it.
  1257. 37:53But I'm just going to try and relax and
  1258. 37:55enjoy this. And I really want you all to
  1259. 37:56do the same. So, set a bit of time
  1260. 37:58aside. You can either pause this video,
  1261. 38:00put on your watch later, but I really
  1262. 38:02want you to take your time with this.
  1263. 38:05I'm going to be doing this more. So,
  1264. 38:06when you do tutorials like this, there's
  1265. 38:07a few different ways you can do it. I
  1266. 38:09can either do all the building and then
  1267. 38:11give you the templates and kind of just
  1268. 38:12spoon feed it to you. And that's more so
  1269. 38:14what you do for someone if you're trying
  1270. 38:15to like really fast track them and they
  1271. 38:17don't want to learn all the skills, but
  1272. 38:18um I I know what I'm trying to build
  1273. 38:20here for you guys. And I'm going to give
  1274. 38:21you a sort of stream of consciousness.
  1275. 38:23You just get to see me kind of jamming
  1276. 38:25out and building these things. And I'll
  1277. 38:26be explaining my thought process and the
  1278. 38:28concepts etc along the way to reinforce
  1279. 38:30what we've learned before. So I'm just
  1280. 38:32going to dive into it with our first
  1281. 38:34agent.
  1282. 38:39And so what I've done is put together a
  1283. 38:40big Figma board here which is going to
  1284. 38:41be breaking down all these different
  1285. 38:42builds. So under here there's some
  1286. 38:43goodies you see. Oh, there's some
  1287. 38:45goodies under each of these that I've
  1288. 38:47put together. Um and we're going to go
  1289. 38:48through them one by one. Starting off
  1290. 38:50with agent one over here. I mean there's
  1291. 38:51a lot of stuff here um that you guys are
  1292. 38:53going to get. So you'll get the whole
  1293. 38:54Figma and it includes all the templates.
  1294. 38:56So if you do want to just kind of watch
  1295. 38:57through this, pick it up. You can either
  1296. 38:59do it and follow it step by step with me
  1297. 39:00and see how I build it and really build
  1298. 39:02those flexible skills that you're going
  1299. 39:03to need to succeed in the space or you
  1300. 39:05can just watch it and be like, "Okay, I
  1301. 39:07kind of get what he's doing and then
  1302. 39:09take all the templates from me at the
  1303. 39:10end." That's I mean, completely up to
  1304. 39:12you. Depends if you want to be a really
  1305. 39:13really nerdy builder about it and get
  1306. 39:14into the weed like like I like to do. Um
  1307. 39:17or you just want to be like, "Hey, I
  1308. 39:18want to do this my business. I want to
  1309. 39:19roughly understand how these things work
  1310. 39:21and what platforms." So, use this
  1311. 39:23resource as you will. But we're going to
  1312. 39:24jump into agent build number one here,
  1313. 39:26which is our sales co-pilot built with
  1314. 39:28relevance AI. So, running through this
  1315. 39:30quickly, we have the purpose of this.
  1316. 39:32This is basically going to look a bit
  1317. 39:33like this. It's going to be a co-pilot
  1318. 39:35and co-pilots work in that you have a uh
  1319. 39:37it's basically a specific AI agent that
  1320. 39:40you build for a specific staff or staff
  1321. 39:42member or role. So, say this case, it's
  1322. 39:44going to be a sales co-pilot. It'll be
  1323. 39:46the thing that the sales rep uses to uh
  1324. 39:49in their day-to-day as they're working
  1325. 39:50on their jobs. You can add tools like in
  1326. 39:52this case, you see we're going to have
  1327. 39:54three different tools here for our
  1328. 39:55agent. One's going to be a company
  1329. 39:56researcher tool. So this is when the
  1330. 39:58sales rep would be like, hey, I have a
  1331. 40:00call coming up soon. Um, let's put in
  1332. 40:01this I need to research this company cuz
  1333. 40:03this is who I'm going to be on a call
  1334. 40:04with. So they'll put in the company URL.
  1335. 40:06This tool that we're going to create is
  1336. 40:07going to go and research that company.
  1337. 40:08It's going to bring back and give a
  1338. 40:10summary. And then it's like, okay, well
  1339. 40:11this is the LinkedIn URL of the person
  1340. 40:12that we're going to be got on a call
  1341. 40:14with shortly. It's going to pass in the
  1342. 40:16LinkedIn URL. It's going to take that
  1343. 40:17URL. It's going to pull all the
  1344. 40:18information and write a summary about
  1345. 40:20the person. So now we have the company
  1346. 40:21summary and we have the person summary.
  1347. 40:23And the final step here is going to be
  1348. 40:24what I'm calling a pre-all report
  1349. 40:26generator. And that's going to take both
  1350. 40:28that company and prospect research that
  1351. 40:29we've done. It's going to combine them
  1352. 40:31together and be for this specific
  1353. 40:34company. As you're going to see that
  1354. 40:35this hypothetical company we're building
  1355. 40:36this sales co-pilot for, it's going to
  1356. 40:39generate a basically a pre-core report
  1357. 40:41or a strategy uh a strategy prep for the
  1358. 40:43sales rep so that they go onto those
  1359. 40:44calls much more prepared and also sort
  1360. 40:47of a personalized guide on how to try to
  1361. 40:49close this person. So, um, all of these
  1362. 40:51templates are going to be here. Each of
  1363. 40:53these are templates for the tools. And
  1364. 40:54this is for the agent as well. Um, but
  1365. 40:57here's some more information. You guys
  1366. 40:58can pick through this as you wish. But,
  1367. 40:59um, this is the kind of end result and
  1368. 41:01we're going to be able to chat to it.
  1369. 41:02And this would be something you could
  1370. 41:03build for a client. You could build it
  1371. 41:04for your own business or you could just
  1372. 41:06tinker around. You could build co-pilots
  1373. 41:07like this on relevance for yourself. So,
  1374. 41:09that's why I want to start with
  1375. 41:10relevance because it also is a platform
  1376. 41:11that we can build these tools on. So,
  1377. 41:13it's a really, really good one to start
  1378. 41:14with and let's get into it. So, the
  1379. 41:16first step of course is to go to
  1380. 41:18relevance AI. So, I'll put a little link
  1381. 41:19up here. You guys will be able to get
  1382. 41:20this Figma. It'll be on the school. Um,
  1383. 41:22all of the information and all the
  1384. 41:23resources for this are going to be like
  1385. 41:24this Figma is going to be linked to the
  1386. 41:26school. My free school community. If you
  1387. 41:27haven't already joined, biggest AI
  1388. 41:29community on school, biggest AI business
  1389. 41:31community probably in the whole world.
  1390. 41:33Um, so we can jump across that first
  1391. 41:35link in the description. You'll be able
  1392. 41:36to find this in the YouTube resources
  1393. 41:37section. Um, pretty straightforward. Of
  1394. 41:39course, when you click on this, it's
  1395. 41:41going to ask you to log into relevance.
  1396. 41:43So, if you haven't already, you can make
  1397. 41:44an account. Um, it's fairly low cost.
  1398. 41:46They have a free plan, then a team's
  1399. 41:48plan, I believe. Um, so it's not too
  1400. 41:49much, but it is a really, really
  1401. 41:50valuable tool as you're going to see.
  1402. 41:52So, you can sign in here. I'm going to
  1403. 41:54jump in with my Google account. There
  1404. 41:57may be a bit of setup for your account,
  1405. 41:58but I'm sure you guys are smart enough
  1406. 41:59to figure out how to set up an account.
  1407. 42:00I'm sure relevance also makes it easy
  1408. 42:02enough. So, then we get taken to this
  1409. 42:04dashboard, but we see on this left hand
  1410. 42:05side, we have tools. So these are the
  1411. 42:07tools that I've talked about um where
  1412. 42:08it's some kind of functionality that we
  1413. 42:10can create and we can build it all on
  1414. 42:11relevance no code and there's even sort
  1415. 42:13of extensibility or you can add more
  1416. 42:15functionality in to relevance by adding
  1417. 42:18some low code components or even custom
  1418. 42:19code. So relevance is a really great
  1419. 42:21base for building not only tools but
  1420. 42:23then the agents that you can connect
  1421. 42:24that into and we're going to use the
  1422. 42:25same relevance tools that we make now in
  1423. 42:27multiple of the different agents that
  1424. 42:28I'm going to make for the rest of this
  1425. 42:29video. So first things first if we go
  1426. 42:30back to the Figma here we see we need to
  1427. 42:32make three different tools. So tool one
  1428. 42:33is company researcher. It's going to
  1429. 42:35take in a company URL. It's going to
  1430. 42:36search the web and it's going to return
  1431. 42:37a summary. So, that's the functionality
  1432. 42:39we need. Let's go and create a new tool.
  1433. 42:42Going to call this um
  1434. 42:45research company. We can give it a cool
  1435. 42:48little I'm going to zoom this up for you
  1436. 42:49guys. Hopefully, that's the right size.
  1437. 42:51Um uh search. Have fun with this stuff,
  1438. 42:55guys. Like, if if it's putting stupid
  1439. 42:57emojis on things to to enjoy it, then
  1440. 42:59then that's what you need to do. Like,
  1441. 43:01uh if you make it a chore, it's going to
  1442. 43:02feel like a chore, right? Um, now we get
  1443. 43:04to descriptions. Um, this is something
  1444. 43:06we're going to see recurring, but
  1445. 43:07basically as as you know, as we learned
  1446. 43:09in the concept section, we need to have
  1447. 43:11natural language descriptions of our
  1448. 43:13tools and of our APIs so that the agents
  1449. 43:15can read those descriptions and
  1450. 43:16understand uh what the agent or what the
  1451. 43:18tool does and what those different parts
  1452. 43:20does. So, you'll see this recurring
  1453. 43:22throughout this. But first things first,
  1454. 43:23what does this research company tool do?
  1455. 43:26Um, takes and oh, I got caps lock on.
  1456. 43:30takes um and there's also some tutorials
  1457. 43:32here if you want to go deeper. Relevance
  1458. 43:34has some great documentation as well. Um
  1459. 43:36but takes in a
  1460. 43:40company
  1461. 43:43penny URL
  1462. 43:45and scrapes the website then returns a
  1463. 43:51sum and AI generated summary. So then to
  1464. 43:55build a tool we need to have some kind
  1465. 43:57of input. You don't always need an
  1466. 43:58input. It can actually just be
  1467. 43:59triggering, but generally you're going
  1468. 44:00to have some kind of input that the
  1469. 44:02agent needs to pass into the tool. In
  1470. 44:03this case, to research company, it's
  1471. 44:05going to need to take in some text,
  1472. 44:07which is going to be a URL. Um, we're
  1473. 44:09going to say comp company
  1474. 44:13URL. And then again, here we have
  1475. 44:15another description. You see, describe
  1476. 44:16how to fill this input. This is again
  1477. 44:18going to help our agent within relevance
  1478. 44:20AI and elsewhere as you'll see in
  1479. 44:22tutorial number four. Why this is so
  1480. 44:24important to add in the descriptions,
  1481. 44:25right? So this is a
  1482. 44:29URL for a company to be
  1483. 44:34researched must be in the format https
  1484. 44:39colon slash
  1485. 44:43um dot dot dot dot dot. So we need to
  1486. 44:45have the https for this to work. So
  1487. 44:48that's going to be our input. Now if
  1488. 44:49this seems a bit confusing just stick
  1489. 44:50with me. It will make sense in a second.
  1490. 44:51this stuff. If there's anything that
  1491. 44:53I've learned from picking up so many
  1492. 44:54different tools, like when I first got
  1493. 44:56into Facebook ads, when I've got into
  1494. 44:57building these kinds of agents, it's you
  1495. 44:59feel completely overwhelmed, but that's
  1496. 45:00all just part of the process. And what
  1497. 45:02feels difficult now is not going to feel
  1498. 45:03difficult forever. So, just please stick
  1499. 45:05with me. Um, and it's a really, really
  1500. 45:07great feeling once you go and be like,
  1501. 45:08this was hard a few weeks ago and now
  1502. 45:10it's really easy. So, we've got our
  1503. 45:12first input. That's what the research
  1504. 45:13company tool is going to do. And then we
  1505. 45:15need to define our steps. So, the next
  1506. 45:17step, we can go add. I'm going to hide
  1507. 45:19this so we get a bit more space. Add
  1508. 45:20step. Now, the cool thing about
  1509. 45:22relevance is that it comes with a lot of
  1510. 45:23great functionality out of the box.
  1511. 45:25Here's one, extract website content, we
  1512. 45:27have LLMs, we have Google searching, we
  1513. 45:30have all sorts of AI generations,
  1514. 45:32replicate um knowledge bases as well.
  1515. 45:35There's so much cool stuff on here and
  1516. 45:36this is why I really rate relevance as
  1517. 45:38one of the best platforms. If you were
  1518. 45:39to go all in and want to upskill, you
  1519. 45:42can build so much on this. Um, so I'm a
  1520. 45:44big fan. I love the the relevance team
  1521. 45:45and what they're doing. So the initial
  1522. 45:47plan for this build I was going to use
  1523. 45:48the extract website content which is
  1524. 45:50fairly straightforward. We can say oh
  1525. 45:52one other thing um the company URL we
  1526. 45:55are going to be using this company URL
  1527. 45:56throughout our tool here. So we can
  1528. 45:58change this text to say something more
  1529. 46:00descriptive. So company
  1530. 46:03u URL. You guys are going to got going
  1531. 46:06to think like think and write like
  1532. 46:07coders now cuz you need to uh use some
  1533. 46:09kind of syntax and use some kind of
  1534. 46:10variable naming convention. This is a a
  1535. 46:13standard one or you can do things like
  1536. 46:15company URL camel case but I prefer this
  1537. 46:18format as I'm I'm mainly a Python kind
  1538. 46:20of guy myself. Now that we have that
  1539. 46:21named we can use it in these kinds of
  1540. 46:23fields. So here you can see pops up use
  1541. 46:25inputs. So basically when this tool is
  1542. 46:27run it's going to take the inputs or the
  1543. 46:29information we put in the inputs and
  1544. 46:30it's going to pass it to different steps
  1545. 46:32and use them as we describe within the
  1546. 46:33within the builder here. So let's run
  1547. 46:35this quickly. Let's put in my company
  1548. 46:39https/
  1549. 46:43morningings.ai. Um, and then we can
  1550. 46:46click uh run here. So, that's going to
  1551. 46:49go to my website and scrape the
  1552. 46:51information off of it. There we go. So,
  1553. 46:54it's got all of this, but you see it's
  1554. 46:57just pulling back the first page. Um,
  1555. 46:58and this is why I actually I shuffled
  1556. 47:00this around. And I want to show you guys
  1557. 47:02how to do something a bit more advanced.
  1558. 47:03I know this is supposed to be a beginner
  1559. 47:04tutorial, but this is not really that
  1560. 47:06useful and I it's a very easy thing for
  1561. 47:08me to just bump this up to a little bit
  1562. 47:10more valuable. Um, while relevance tool
  1563. 47:12here is great, we can do better. So,
  1564. 47:14we're actually going to delete this. Um,
  1565. 47:16you can use that step for all sorts of
  1566. 47:18other things, but I really like what's
  1567. 47:20called fire crawl
  1568. 47:23firecroll web scraper. This is a cool
  1569. 47:26app. Um, firecrawl.dev. Shout out to the
  1570. 47:29guys at firecraw. Basically, if we then
  1571. 47:31go HTT Oh, I should just see if they can
  1572. 47:33do it. Morningside
  1573. 47:37doti and now do a free scrape for us
  1574. 47:40here. So, this is just going to do the
  1575. 47:42single URL just like we got in
  1576. 47:43relevance. But the difference here is if
  1577. 47:46we then go to crawl, if you hover over
  1578. 47:49this, it's going to crawl a URL and all
  1579. 47:51of its accessible subpages outputting
  1580. 47:53the content from each page. So, instead
  1581. 47:55of just taking that front page, it's
  1582. 47:56actually going to crawl through multiple
  1583. 47:57things. So this is really the first cool
  1584. 48:00thing or or first skill that I want to
  1585. 48:01put in your tool belt is that you have
  1586. 48:02things like fire call that you can use
  1587. 48:04their relevance. They have things like
  1588. 48:05map which is just going to output all
  1589. 48:06the URLs that it finds. Then there's
  1590. 48:08other things here where you can use AI
  1591. 48:10to extract data. I'm not going to go
  1592. 48:11into that. But what we want is this
  1593. 48:12crawling functionality from firecraw. So
  1594. 48:15I'll put a link in on the school post
  1595. 48:16that comes with this video. It again
  1596. 48:18first link in the description to go to
  1597. 48:19the school and if you go to the YouTube
  1598. 48:21resources section um there will be a uh
  1599. 48:23a whole post on this and all the
  1600. 48:25resources will be in there. It'll also
  1601. 48:26be in my free course on school as well.
  1602. 48:28So you can find it in the classroom
  1603. 48:29section. So you want to sign up to FCL
  1604. 48:32so you can get API key. It's very easy.
  1605. 48:34We can just go through with Google.
  1606. 48:35Again, this is not sponsored and there
  1607. 48:37is zero sponsoring going on through any
  1608. 48:39of these tools. I guess I'm kind of
  1609. 48:40sponsoring my own tool because I'm
  1610. 48:41putting it at the end. But I'm not
  1611. 48:43getting paid a dime for any of this. I'm
  1612. 48:44really just trying to put you guys on
  1613. 48:45what I like to use, what's made me
  1614. 48:47money, what's made me a more valuable AI
  1615. 48:49automation expert or developer for my
  1616. 48:52companies and for the companies you work
  1617. 48:53with. continue and then you get to the
  1618. 48:56dashboard here. It might look a bit
  1619. 48:57scary, but what you can do is go to the
  1620. 48:58API keys. So, you can click on create an
  1621. 49:00API key here,
  1622. 49:03YouTube. I'm having issues with mine. It
  1623. 49:05should be fine for you. I've already got
  1624. 49:06an API key, but once you get the API
  1625. 49:07key, what you can do is take it and come
  1626. 49:09back here to
  1627. 49:11relevance. And you can go into the side
  1628. 49:13panel here. Where is it? Settings. And
  1629. 49:16then we have our API keys. So, we're
  1630. 49:17going to need to add more into this
  1631. 49:18later. So, keep an eye on this. This is
  1632. 49:20something you need to be familiar with.
  1633. 49:22Um, and you can scroll down to firecrawl
  1634. 49:23and you just pop it into this firecall
  1635. 49:25API key section here and you're good to
  1636. 49:28go. And you can come back. Oh no, we
  1637. 49:29don't want to duplicate
  1638. 49:32that. Now we've got our firewall set up.
  1639. 49:35We need to make a couple things. We need
  1640. 49:37to do a couple tweaks here. We have, of
  1641. 49:39course, the if you want to get those
  1642. 49:41variables up, you can go bracket bracket
  1643. 49:43um or curly bracket curly bracket, which
  1644. 49:44is shift um to get those. I don't know
  1645. 49:46why it's not popping up. There we go.
  1646. 49:49Company URL. And if we hover over this,
  1647. 49:50we can see it says scrape the provided
  1648. 49:52URL only. Uncheck if we want to crawl
  1649. 49:54instead. So if we want to get that crawl
  1650. 49:56functionality that we just saw that we
  1651. 49:58think we want to get all the data, we
  1652. 50:00can uh uncheck
  1653. 50:02it. And then we want to extract the main
  1654. 50:05content. So you might have to just trust
  1655. 50:06me on that one that we don't want to
  1656. 50:07have all of the other rubbish. We just
  1657. 50:09want the body of the website. Um a
  1658. 50:11number of pages. We don't want this to
  1659. 50:12take too long. You can expand this much
  1660. 50:13more. Um but I'm just going to go for
  1661. 50:15say five for now just to keep it uh keep
  1662. 50:18it quick.
  1663. 50:21And then now what we can do is run this
  1664. 50:23again. We've still got my URL up here.
  1665. 50:24We can go run
  1666. 50:27step. Give it a second. You will at some
  1667. 50:29point have to pay firecrol. Of course,
  1668. 50:31it's not a free service, but they do
  1669. 50:32have a free plan, so you should have no
  1670. 50:33issues with getting that. So here you
  1671. 50:34can see we're getting a lot more data
  1672. 50:35back from this web scrape than we were
  1673. 50:37with just the relevance version, which
  1674. 50:39is great. So the next step is we have
  1675. 50:41this data. We want to generate some kind
  1676. 50:42of research summary um so that we can
  1677. 50:44send that to our sales script once they
  1678. 50:46have requested it. So now it gets into
  1679. 50:48the fun part of writing LLM prompts. For
  1680. 50:51this one, sometimes you need to really
  1681. 50:53go and and make a big effort, which we
  1682. 50:54are going to do later as you'll see. But
  1683. 50:56in this case, we just want a quick
  1684. 50:57summary. I'm going to throw one in here
  1685. 50:59that I made earlier. All of this will be
  1686. 51:00available on the Figma or it'll be given
  1687. 51:02somewhere in the resources, right? But
  1688. 51:03um if we just need something quick and
  1689. 51:05dirty here, it's not really a massive
  1690. 51:06part of the project, so it's okay to
  1691. 51:08just whack one in there. So bang, I've
  1692. 51:09got it in there. Can you please take
  1693. 51:10this website content and summarize it
  1694. 51:12into a 300word natural language summary,
  1695. 51:14which clearly outlines rad where they're
  1696. 51:15based, their values, etc. anything that
  1697. 51:17would be helpful to know for a sales rep
  1698. 51:19who will soon be on a call with them. Uh
  1699. 51:20break it into key areas like overview,
  1700. 51:22products and services team etc. And I've
  1701. 51:24got a couple things here to make sure
  1702. 51:25that it doesn't mess up which I it was
  1703. 51:27doing for me a bit in testing. So we do
  1704. 51:29want to put in if we go curly bracket
  1705. 51:30curly bracket we want to put in the fire
  1706. 51:32call data here which is going to be uh
  1707. 51:34all the website data that came back from
  1708. 51:36our scrape. We want to then insert it
  1709. 51:38into this prompt here. So I hope you're
  1710. 51:39starting to the things in your your cogs
  1711. 51:40and your brain are starting to click
  1712. 51:42into gear here. And then we get to
  1713. 51:43select the model for this. It's pretty
  1714. 51:45basic task. So, I want something quick
  1715. 51:46and cheap. Um, for many of you, it's
  1716. 51:48going to be easiest to work with the
  1717. 51:49Open AI APIs because you've probably
  1718. 51:51already played around with your API key
  1719. 51:52before, which I'll show you how to do in
  1720. 51:54a second. But, let's go with GPT40 Mini,
  1721. 51:56but Relevance, of course, does have
  1722. 51:58support for all of uh the other models.
  1723. 52:00But my tendency for most tasks now is to
  1724. 52:02actually go for some of the Google
  1725. 52:03models that have come out. Again, you
  1726. 52:05guys might be watching this in a year or
  1727. 52:06whatever. It might be quite different,
  1728. 52:08but at the moment, Google is really
  1729. 52:09leading the way with making the cheapest
  1730. 52:11models possible, and they're actually
  1731. 52:12really good as well. the the price
  1732. 52:14decrease on using things like uh Google
  1733. 52:16Gemini Flash Light and Google Gemini
  1734. 52:17Flash 2.0 and stuff like that. It's
  1735. 52:20ridiculously cheap and it's also a
  1736. 52:21really good model. So, it's a bit more
  1737. 52:22difficult to get APIs on the Google
  1738. 52:24side. So, I'm just going to stick with
  1739. 52:25OpenAI for this tutorial. Um, so let's
  1740. 52:26go GPT4 mini. And then we need to of
  1741. 52:29course set up our API key. Um, if you
  1742. 52:31scroll down, where is the OpenAI? So, to
  1743. 52:33get your OpenAI API key, you need to go
  1744. 52:38platform.openai.com.playground/playgroundplayground,
  1745. 52:39sorry. Um, this will again be linked in
  1746. 52:41the resources or you can just type up
  1747. 52:43platform.openai.com. I'm sure you'll
  1748. 52:44find it. If you haven't already, create
  1749. 52:46an account um, and sign in. And then you
  1750. 52:48need to go to your dashboard here. You
  1751. 52:50go on the left side, you go to API keys,
  1752. 52:52and you click create a new secret key.
  1753. 52:54And then you're going to be able to copy
  1754. 52:55that key and bring it back into uh,
  1755. 52:57relevance. Paste it in here. And then
  1756. 52:59you're good to go and start using the
  1757. 53:00OpenAI suite of models. It's pretty
  1758. 53:02easy, right? So now we have our
  1759. 53:04information back from the scrape. We
  1760. 53:06have our prompt in here. And then we can
  1761. 53:09go run step and see what this company
  1762. 53:11research tool is going to output for us.
  1763. 53:12Boom. Morningside AI is a leading
  1764. 53:14artificial intelligence development
  1765. 53:15company dedicated to empowering
  1766. 53:16businesses autonomous AI agent
  1767. 53:18development, enterprise consulting,
  1768. 53:19chatbot development team. Uh they
  1769. 53:23got keep me out of my own team page.
  1770. 53:25Damn. But uh yeah, so there you go.
  1771. 53:27That's the that's the company research
  1772. 53:28tool. That's step one. Um I hope you
  1773. 53:30guys can kind of see how that works. Now
  1774. 53:32a cool thing about relevance is there is
  1775. 53:33this build section which we've just gone
  1776. 53:35through. But you can also go to use and
  1777. 53:36this can be really helpful when sharing
  1778. 53:38these kinds of tools. So not this is not
  1779. 53:39really only just an AI agent tutorial.
  1780. 53:41I'm also teaching you how to build tools
  1781. 53:42because you can build very valuable
  1782. 53:43tools and something like relevance. And
  1783. 53:45then you can go share. You can go
  1784. 53:48publicly
  1785. 53:49available. Oh, and I can click this and
  1786. 53:52then I can give to my employees. I can
  1787. 53:54give to the companies that I'm working
  1788. 53:56with, the clients that I've sold these
  1789. 53:58kind of services on. And then they get a
  1790. 53:59nice and handy tool like this. I mean, I
  1791. 54:01use these throughout my organization for
  1792. 54:02like description generation, a lot of
  1793. 54:04content repurposing. There's tons and
  1794. 54:06tons of different use cases for building
  1795. 54:07these kinds of tools. And then you can
  1796. 54:08take this URL and you can share it
  1797. 54:09around to whoever you want. So, this is
  1798. 54:11a uh a great way to use relevance. Let's
  1799. 54:13go back to our tool here. But for now,
  1800. 54:15we need to keep moving along so we can
  1801. 54:17get this this first agent done. So,
  1802. 54:18that's the first tool. I'm going to run
  1803. 54:19through it a bit quicker now that we
  1804. 54:20know how these kind of tool buildings
  1805. 54:22work. I'm going to create a new tool
  1806. 54:24here. I'm going to call it this time if
  1807. 54:26we go back to our Figma. And I recommend
  1808. 54:28when you guys are building your agents,
  1809. 54:29you're building systems and planning
  1810. 54:30them out. This kind of laying out in a
  1811. 54:32Figma, if you're not familiar, this is
  1812. 54:34Figma. It's like a design software, but
  1813. 54:35you can also use it for kind of
  1814. 54:36whiteboarding. It's called a Fig Jam
  1815. 54:38board. It's one of the types of uh
  1816. 54:39boards you can do. And I use this all
  1817. 54:41the time with my team as well. It's like
  1818. 54:43if you can't take what I'm telling you,
  1819. 54:45lay it out on a board so that I can
  1820. 54:46review it and give you notes and and
  1821. 54:47then we all agree this is the build. Um
  1822. 54:50there's often a lot of uh communication
  1823. 54:51issues with explaining functionality. So
  1824. 54:53this AI agent layout, it's really
  1825. 54:55helpful. You can if it's maybe a
  1826. 54:57workflow automation, you can do box box
  1827. 54:58arrow arrow arrow all of this laying out
  1828. 55:00how it's going to be built. Here I've
  1829. 55:02done it for you in a very basic format.
  1830. 55:04So we've done this first one. Maybe I
  1831. 55:05just make this green. Um second one is
  1832. 55:07going to be prospect researcher. So this
  1833. 55:09takes in a LinkedIn URL, searches the
  1834. 55:11web, and returns a summary. And you're
  1835. 55:13going to see how I tie this all into an
  1836. 55:14agent
  1837. 55:15shortly. So we're going to go research
  1838. 55:18prospect. Sil takes in a linked in URL
  1839. 55:22scrapes the profile and then generates
  1840. 55:25an of the prospect input. We're going to
  1841. 55:28need a link and URL the link linked and
  1842. 55:32URL of the prospect.
  1843. 55:35and we rename
  1844. 55:40this. Now, we're going to add a step and
  1845. 55:43relevance has got us here linked
  1846. 55:46um get a LinkedIn profile or company
  1847. 55:50post. So, this is cool cuz then we can
  1848. 55:52pop in our LinkedIn URL
  1849. 55:55here. Oh, we don't need two of
  1850. 56:01them. So, we're going to get the user
  1851. 56:03profile here. Then if I put in
  1852. 56:08mine my LinkedIn profile, if you guys
  1853. 56:10want to connect with me on LinkedIn,
  1854. 56:12more than welcome to do so. I'll put in
  1855. 56:13the description below. Um, we can do a
  1856. 56:17little run step here. So, if we go back
  1857. 56:19over to data here, that's great. We've
  1858. 56:22got my about section. So, this goes very
  1859. 56:24long way across because it's in uh it's
  1860. 56:26in JSON here. It's got my company. It's
  1861. 56:29got my company domain, where I'm from,
  1862. 56:33years, company, founded, tons and tons
  1863. 56:34of great information that you guys can
  1864. 56:36use and we are going to use shortly. So,
  1865. 56:37this is really cool. I would probably
  1866. 56:39add one more step to this if I was
  1867. 56:40taking this um and building it for for
  1868. 56:42my own team. I would add in another
  1869. 56:44LinkedIn scrape here um where we just do
  1870. 56:46the same thing, but we also get the
  1871. 56:48posts because posts can give you a bit
  1872. 56:50more up to date um information on what
  1873. 56:51they've been doing recently. that you
  1874. 56:53can guys can add that and you just go
  1875. 56:54add a step LinkedIn and you do the same
  1876. 56:57thing as we've done here but you change
  1877. 56:59this to LinkedIn post get user post so
  1878. 57:02that may be a cool thing for you guys to
  1879. 57:03add the uh functionality on at the end
  1880. 57:05is a bit of a challenge you can pause
  1881. 57:06this video and do that and then we need
  1882. 57:07a llm step to take this again I'm going
  1883. 57:10to grab a pre-written prompt that I did
  1884. 57:12just to save some time going to drop
  1885. 57:13this in here says fairly similar stuff
  1886. 57:17um LinkedIn data I'm going to put all
  1887. 57:21the data in
  1888. 57:23there. And then we're going to use a
  1889. 57:25GPT4 mini again. And we can give that a
  1890. 57:28run because we've already got this data
  1891. 57:30queued up here. And there we go. We've
  1892. 57:31got a nice summary. Um, if I change this
  1893. 57:34to nice and formatted. So there's a
  1894. 57:36little button down there between raw or
  1895. 57:38formatted. And you can copy the stuff
  1896. 57:39out of here, of course. So Liam Mley, my
  1897. 57:41followers. Damn, I got a lot more than I
  1898. 57:43thought. So there we have the summary,
  1899. 57:44my name, where I'm based, uh,
  1900. 57:46information, my career experience. Super
  1901. 57:48handy stuff. And this is going to be
  1902. 57:50super helpful in the next step when we
  1903. 57:51generate that pre-core report. So very
  1904. 57:53quickly, we've created one more tool.
  1905. 57:55I'm going to save this. So now we've
  1906. 57:56got, if we go back to our Figma, we have
  1907. 57:59two of these done. Now the final one is
  1908. 58:02going to take in the company and
  1909. 58:03prospect research and generate a
  1910. 58:05pre-call report. So this one's going to
  1911. 58:06be a little bit different. If I go
  1912. 58:08create a new
  1913. 58:11tool, preall report
  1914. 58:16tool. Okay, free call takes in company
  1915. 58:19and prospect summary and generates a
  1916. 58:21free call report for sales
  1917. 58:24direct. And now for the inputs for this,
  1918. 58:26we need long text, not just normal text
  1919. 58:28because we're going to be taking in that
  1920. 58:29big company and uh and prospect
  1921. 58:31research. So we go prospect summary
  1922. 58:34summary of the prospect based on length
  1923. 58:37and profile
  1924. 58:41that and a prospect in this case is
  1925. 58:43someone who's a potential customer. Just
  1926. 58:45to clarify that if you're new to
  1927. 58:47business and don't really get these
  1928. 58:48terms. Company summary, uh,
  1929. 58:56summary, right? We have our prospect
  1930. 58:58summary and company summary in there. I
  1931. 59:00hope you're following along. Next step
  1932. 59:01is just an LLM step and we want to
  1933. 59:03combine these two together. Again, I've
  1934. 59:04got a little handy prompt for this to
  1935. 59:06save us time. Now, in this case, you
  1936. 59:07will see that the prompt is a bit
  1937. 59:08bigger, right? So this is um for more
  1938. 59:11important parts when you are creating
  1939. 59:12tools whether it's it's for agents or
  1940. 59:14just generally when you're using prompt
  1941. 59:15engineering and LLMs to create value. In
  1942. 59:17this case we are creating value because
  1943. 59:19in this case we're taking in this
  1944. 59:20prospect summary and this company
  1945. 59:22summary. We're also giving it the the
  1946. 59:24context of this fantasy or or
  1947. 59:26hypothetical business that we are
  1948. 59:28selling this agent to as like a co-pilot
  1949. 59:30system. We've got Big Boy Recruits which
  1950. 59:32is Dallas based recruitment firm
  1951. 59:33specializing in software industry talent
  1952. 59:35acquisition for SMBs. You're going to
  1953. 59:37see this kind of recur across the
  1954. 59:38different projects we do, but basically
  1955. 59:39we're helping these big boy recruits to
  1956. 59:41automate their business with AI. So,
  1957. 59:43this takes in some context on that
  1958. 59:45business and it's going to generate a a
  1959. 59:47report that's going to help the sales
  1960. 59:48rep say, "Okay, this is the company.
  1961. 59:49This is what we sell. This is what we
  1962. 59:51specialize in. This is the company that
  1963. 59:52we're trying to sell to. This is who
  1964. 59:54we're going to be talking to. What's
  1965. 59:55some how can I personalize this call or
  1966. 59:57what's the strategy I can go into this
  1967. 59:58with? What are some angles that I can
  1968. 1:00:00attack this call from?" And so to do
  1969. 1:00:02this, I have a prompt writing tool that
  1970. 1:00:04I use quite regularly and my team uses
  1971. 1:00:06it as well. Um, perfect
  1972. 1:00:09prompt. So, this tool does a lot of leg
  1973. 1:00:11work for myself and my team all the
  1974. 1:00:13time. I'm going to give it to you guys
  1975. 1:00:14to use for free. You'll be able to clone
  1976. 1:00:15it into your relevance account.
  1977. 1:00:17Basically, what I'll usually do is I'll
  1978. 1:00:18put on uh the dictation thing. You've
  1979. 1:00:20got it on one of these keyboards. You've
  1980. 1:00:22got this little thing. basically
  1981. 1:00:24whatever on your computer allows you to
  1982. 1:00:26speak into the computer and it takes in
  1983. 1:00:28your voice and transcribes it into into
  1984. 1:00:30text on the screen. I'll press that and
  1985. 1:00:32then I'll explain as you can see here
  1986. 1:00:33what is this prompt doing and why and
  1987. 1:00:35I'll go this prompt needs to do this
  1988. 1:00:36this this is going to take in this
  1989. 1:00:37information it's going to do this the
  1990. 1:00:39reason we're doing this is this this and
  1991. 1:00:40I'll do like a big big body of text in
  1992. 1:00:43there and then the next one if I have
  1993. 1:00:44them I'll give some good examples of
  1994. 1:00:46input and output pairs of how I want it
  1995. 1:00:48to take in data and how I want it to
  1996. 1:00:49spit it out. If you give it both of
  1997. 1:00:51these and you hit run, it's going to
  1998. 1:00:52print you out using the researchbacked
  1999. 1:00:54prompting techniques that we use at
  2000. 1:00:55Morningside. It's all crammed in here.
  2001. 1:00:57There's a video that I recommend all of
  2002. 1:00:59you watch. It's going to be in the free
  2003. 1:01:00course anyway on school. So, when you
  2004. 1:01:01get in there and watch my prompt
  2005. 1:01:02engineering guide, um, this is basically
  2006. 1:01:04the entire information of that prompt
  2007. 1:01:05engineering guide smashed into this LLM
  2008. 1:01:08step here. So, when you pass this
  2009. 1:01:09information in, it applies all of that
  2010. 1:01:10and it gives you out a prompt that is
  2011. 1:01:12fully researched back and performs very,
  2012. 1:01:14very well right out of the box. So,
  2013. 1:01:15that's a little bit of extra value I
  2014. 1:01:16wanted to throw in there for you guys.
  2015. 1:01:17this is going to be available on the
  2016. 1:01:18school um with the rest of the resources
  2017. 1:01:20as well. So basically I put in the
  2018. 1:01:22information here about what this
  2019. 1:01:23particular uh task was. I said it's
  2020. 1:01:26going to take in the prospect
  2021. 1:01:27information. It's going to take in the
  2022. 1:01:28prospect summary and the company
  2023. 1:01:29information and it spat out this
  2024. 1:01:31basically first go and I just had to
  2025. 1:01:33insert these variables. So this prompt
  2026. 1:01:34and everything else will be on the on
  2027. 1:01:35the score resources as well. So in this
  2028. 1:01:37case because we are doing a bit of
  2029. 1:01:38strategy and sort of high level thinking
  2030. 1:01:40rather than just summarizing and we may
  2031. 1:01:41want to change the model here to
  2032. 1:01:43something a bit smarter. We could go to
  2033. 1:01:4403 mini which is one of the later ones.
  2034. 1:01:46Um, again, when you're watching this, it
  2035. 1:01:48might be 06 or 010 or whatever the hell
  2036. 1:01:50they come up with next, but there's
  2037. 1:01:52probably going to be some much better
  2038. 1:01:53models. So, just use a smart one because
  2039. 1:01:54it's really strategizing on how big boy
  2040. 1:01:57recruits can position themselves for
  2041. 1:01:58this call. So, enough of me yapping
  2042. 1:02:00about that. Let me grab some inputs for
  2043. 1:02:02this and we can test
  2044. 1:02:05[Music]
  2045. 1:02:06it. Shout out muscle. All right. So,
  2046. 1:02:08I've got this information here about
  2047. 1:02:10myself, my LinkedIn profile, and my
  2048. 1:02:12company. And so again, remember that
  2049. 1:02:13this is for Big Boy Recruits, a Dallas
  2050. 1:02:15recruitment firm specialized in software
  2051. 1:02:16industry talent. So it's going to look
  2052. 1:02:18at my company, Morningside AI. It's
  2053. 1:02:20going to look at me and my background
  2054. 1:02:21and my profile on LinkedIn. Then it's
  2055. 1:02:23going to spin, as we see here, um,
  2056. 1:02:25review this, analyze this, map big boys
  2057. 1:02:27unique value proposition, ra, and it's
  2058. 1:02:29going to try and create a report that's
  2059. 1:02:32going to allow the sales rep to sell me
  2060. 1:02:33or close me better on there or find some
  2061. 1:02:35angles to sell to at least. So if we go
  2062. 1:02:37run tool, and now you see that I'm using
  2063. 1:02:38a lot of just basic web scraping and LLM
  2064. 1:02:40steps. I just want to show you guys the
  2065. 1:02:41basics. The thing is tools can get very
  2066. 1:02:43very advanced when you have like CRM you
  2067. 1:02:45want to integrate into, but relevance
  2068. 1:02:47allows you to do all of that. It's just
  2069. 1:02:48within the scope of tutorial, it can be
  2070. 1:02:50pretty difficult to be pulling
  2071. 1:02:51information from all over the here cuz I
  2072. 1:02:52have to set up a database, show you guys
  2073. 1:02:54how to do it, too. So, this this keeps
  2074. 1:02:56it quite confined, but it still gives
  2075. 1:02:57you a good taste of it. So, if we look
  2076. 1:02:59at this view, all key business
  2077. 1:03:01challenges and opportunity, Morningside
  2078. 1:03:03AI, this Liam's profile gives me a bit
  2079. 1:03:05of a rundown of this mapping big boy
  2080. 1:03:07recruits unique value proposition. Maybe
  2081. 1:03:08it's going to be better if I change this
  2082. 1:03:10to the format. There we go. Talks about
  2083. 1:03:13mapping big boys recruits, strategic
  2084. 1:03:15talking points. I've been following your
  2085. 1:03:17journey of digital marketing, AI, ra um
  2086. 1:03:20dive into opportunity. I work at big
  2087. 1:03:21boys. This assist, and it's even gone
  2088. 1:03:23and done a section on anticipated
  2089. 1:03:24objections. So, the idea is that the
  2090. 1:03:26sales rep is going to have a skimmer of
  2091. 1:03:27this before the call, which ties into
  2092. 1:03:29the value that I've listed here, which
  2093. 1:03:31I'm going to do for all of these builds,
  2094. 1:03:32by the way, which comes down to
  2095. 1:03:33ultimately a better prepared sales rep
  2096. 1:03:35should close more deals, right? if they
  2097. 1:03:37know more about the prospect and the
  2098. 1:03:38company and you have an angle to try
  2099. 1:03:40sell through or suggestions at least. It
  2100. 1:03:42should increase the conversion rate of
  2101. 1:03:43the sales team. So, we've built this
  2102. 1:03:44tool. We can change this to green now.
  2103. 1:03:47And the final step is going to be
  2104. 1:03:48heading over to our agent builder within
  2105. 1:03:50relevance. I'm going to save this. If
  2106. 1:03:52you pop over in the left panel here, you
  2107. 1:03:54can go into our agents. And what we want
  2108. 1:03:56to do is create a new
  2109. 1:03:59agent. We're going to call it our sales
  2110. 1:04:03co-pilot.
  2111. 1:04:05Um, big
  2112. 1:04:07boy big boy sales co-pilot. Sorry, I
  2113. 1:04:11got, like I said, I got to have fun with
  2114. 1:04:12the stuff where I go kind of insane. Um,
  2115. 1:04:14this this agent is
  2116. 1:04:18our sales co-pilot that helps reps to be
  2117. 1:04:25better prepared for sales
  2118. 1:04:28[Music]
  2119. 1:04:30calls. Triggers, we don't need to do any
  2120. 1:04:32of that. We go to core instructions. I'm
  2121. 1:04:34going to again paste in some of the
  2122. 1:04:35stuff that I've prepped earlier. So, if
  2123. 1:04:36I paste this in here, you'll see that
  2124. 1:04:37it's structured fairly similarly to the
  2125. 1:04:39prompt that we just did before for the
  2126. 1:04:41uh pre-core report generator. And this
  2127. 1:04:43is again using another tool that I've
  2128. 1:04:44created um for AI agent prompting. Um
  2129. 1:04:47so, it's fairly similar stuff that I I
  2130. 1:04:49include in that other prompting tool,
  2131. 1:04:50but the agents is slightly different um
  2132. 1:04:53to just regular LLM steps within
  2133. 1:04:55different tools and workflow
  2134. 1:04:56automations. So, I will include this as
  2135. 1:04:58well. It's my AI agent perfect prompt
  2136. 1:05:00generator and it's fairly
  2137. 1:05:01straightforward to use. I'll include
  2138. 1:05:02that in there as well. But basically,
  2139. 1:05:04you put in all the information about
  2140. 1:05:05what the agent is, why it's doing it,
  2141. 1:05:06the different tools that you're
  2142. 1:05:07connecting to it, and then it prints out
  2143. 1:05:09this for you. So, I'll just run through
  2144. 1:05:10it. We've got a role here telling it who
  2145. 1:05:11it is, um, and kind of hyping it up and
  2146. 1:05:13saying how good it is. Explains the
  2147. 1:05:15task, um, talking about how it's helping
  2148. 1:05:16to conduct detailed research on
  2149. 1:05:18companies and prospects. Um, some
  2150. 1:05:20specifics. Uh, don't need to worry about
  2151. 1:05:21those too much. Just reiterating the
  2152. 1:05:23task. And now here we can enter in the
  2153. 1:05:25references to tools. So if we go slash
  2154. 1:05:27tool and see in order to get the agent
  2155. 1:05:29to function as well as possible, we need
  2156. 1:05:31to tell it what tools it has available.
  2157. 1:05:33This is really key across all the agents
  2158. 1:05:35you build, especially if they're more
  2159. 1:05:36conversational. You need to explain to
  2160. 1:05:38them what tools they have and how and
  2161. 1:05:40when they should use them. So if I go,
  2162. 1:05:41you have three powerful tools. Research
  2163. 1:05:45company. Um, yep, that's right. Purpose,
  2164. 1:05:48input, company URL, use when needing to
  2165. 1:05:50gather company information. This one of
  2166. 1:05:52course is the uh
  2167. 1:05:56prospect. And then this last one is our
  2168. 1:06:01[Music]
  2169. 1:06:02pre. There we go. So that's all whacked
  2170. 1:06:04in there. Don't need to worry about that
  2171. 1:06:05too much. But again, this will be
  2172. 1:06:07included um this prompt and everything
  2173. 1:06:08if you want to follow along and also if
  2174. 1:06:10you just want to clone the whole agent
  2175. 1:06:11um and use it in your own business or
  2176. 1:06:13sell it or whatever you want to do. We
  2177. 1:06:14also get to select the model here. Um
  2178. 1:06:16I'm just going to keep it as GPT4 mini.
  2179. 1:06:18I like some pretty fast responses here
  2180. 1:06:19because agents as someone's using it, it
  2181. 1:06:21can feel really irritating if it's not
  2182. 1:06:23responding quickly. So, we've got all
  2183. 1:06:25that built out. That's the core
  2184. 1:06:26instructions in the prompt of the agent.
  2185. 1:06:28Um, we can go down to the uh tools
  2186. 1:06:31section. It's got all the tools
  2187. 1:06:33connected in here because we mentioned
  2188. 1:06:34them in the prompt. And we can just go
  2189. 1:06:36through and do some quick settings on
  2190. 1:06:37here. Um, I don't want to have to do an
  2191. 1:06:39approval for it. Some tools you can say,
  2192. 1:06:41look, they've got to give it a thumbs up
  2193. 1:06:42before it can actually uh trigger it.
  2194. 1:06:44Um, prompt for how to use. Just some
  2195. 1:06:46quick descriptions we can pop in here.
  2196. 1:06:48I'm not sure why relevance doesn't carry
  2197. 1:06:49that over from the tool. I guess they're
  2198. 1:06:50asking us to do it again for some
  2199. 1:06:52reason. Um when you need to research a
  2200. 1:06:54uh
  2201. 1:06:55prospect linked and URL, we're going to
  2202. 1:07:00say this is auto run as well. Um and
  2203. 1:07:03then preall change this to auto run as
  2204. 1:07:05well.
  2205. 1:07:07Use this when you need to generate a pre
  2206. 1:07:11call report from the company and
  2207. 1:07:15prospect
  2208. 1:07:18research. All righty. Um, and there's
  2209. 1:07:20all sorts of other cool stuff.
  2210. 1:07:21Relevance, as you can see, is like
  2211. 1:07:23abilities, sub aents, metadata, extra
  2212. 1:07:24stuff that you can build onto. Um, but I
  2213. 1:07:26just want to get you guys started with
  2214. 1:07:27the core of this. Um, all right. So, we
  2215. 1:07:30can confirm
  2216. 1:07:33that. And boom, we have our agent here
  2217. 1:07:36ready to go. So this is where you can
  2218. 1:07:37test your agents and use them if you
  2219. 1:07:38want to. But in this case, I'm just
  2220. 1:07:40going to give it a quick rundown and say
  2221. 1:07:42see if the functionality is working as
  2222. 1:07:43we as we planned. Um, hi, I am getting
  2223. 1:07:47on a call with Liam Otley from morning
  2224. 1:07:53side
  2225. 1:07:55AI. Here uh has
  2226. 1:07:59details or we can just go
  2227. 1:08:06[Music]
  2228. 1:08:15lenol report please to prep for the
  2229. 1:08:19call. Sending your task to big boy sales
  2230. 1:08:22copilot. And then we get to see all the
  2231. 1:08:24debug and how it's actually walking
  2232. 1:08:26through these different steps. Oh, let's
  2233. 1:08:28see what he
  2234. 1:08:31does. Yep. Okay, that's great. It's
  2235. 1:08:34using the research company as we wanted
  2236. 1:08:36it
  2237. 1:08:37to. Should add in one more step there to
  2238. 1:08:40research the prospect as
  2239. 1:08:42well. There we go. Using the second
  2240. 1:08:44tool. It is pretty satisfying when this
  2241. 1:08:46stuff works. And this is just a really
  2242. 1:08:48basic one, guys. I don't want you to
  2243. 1:08:49think this is like, oh, well, that's
  2244. 1:08:51pretty underwhelming, Liam. I'm trying
  2245. 1:08:52to teach you the basics so that you can
  2246. 1:08:54actually build on top of this. So if you
  2247. 1:08:56get the bug, if you get the like you get
  2248. 1:08:58a travel bug, if you get the agent bug
  2249. 1:09:00and you see the stuff and you're really
  2250. 1:09:01interested. Oh, look, there it is. Now
  2251. 1:09:03it's filling out the prospect summary as
  2252. 1:09:04the inputs. Surely we don't have to
  2253. 1:09:06watch it do that. It's going to take a
  2254. 1:09:09while.
  2255. 1:09:11[Music]
  2256. 1:09:12Um, I really write that out word for
  2257. 1:09:15word like that. But when you start to
  2258. 1:09:16see this magic and you add in other cool
  2259. 1:09:18tools and functionality, you test it on
  2260. 1:09:20yourself. You can build like things for
  2261. 1:09:21maybe you want to do content, you make
  2262. 1:09:22yourself a little content co-pilot,
  2263. 1:09:25etc. There we go. To use all the tools
  2264. 1:09:28and it should be spitting back and bam,
  2265. 1:09:29there we go. So, I hope that was worth
  2266. 1:09:31the wait. Let's go through it now.
  2267. 1:09:32Here's your comprehensive precore report
  2268. 1:09:34for your upcoming conversation with Liam
  2269. 1:09:35Mley from Morningside AI. Pre-core
  2270. 1:09:37report. Talent acquisition under
  2271. 1:09:39pressure. Morningside AI operates in a
  2272. 1:09:40highly competitive AI and tech market as
  2273. 1:09:42they scale. Finding specialized talent,
  2274. 1:09:44engineers, data scientists, AI with a
  2275. 1:09:46proven record can be challenging. That's
  2276. 1:09:49scarily accurate because that is
  2277. 1:09:50literally one of the biggest constraints
  2278. 1:09:51that we have had to scaling Morningside
  2279. 1:09:53long-term is that it's just really
  2280. 1:09:54really hard even with my channel. It's
  2281. 1:09:56so hard to find the right people and get
  2282. 1:09:58them to commit as as developers as well.
  2283. 1:10:00So if you want to build a very big
  2284. 1:10:01general AI development firm, an AI
  2285. 1:10:03automation agency, you need the best
  2286. 1:10:05talent and you need to get a lot of it
  2287. 1:10:06in um so that you can scale up. So
  2288. 1:10:08that's bloody spot on. Obviously this
  2289. 1:10:10thing knows that's a good angle to sell
  2290. 1:10:12through. Um but yeah, prospect analysis.
  2291. 1:10:14Liam's a dynamic entrepreneur and
  2292. 1:10:16thought
  2293. 1:10:17leader with a robust background in
  2294. 1:10:19e-commerce, digital marketing and AI.
  2295. 1:10:21His journey reflects a passion for
  2296. 1:10:22innovation and commitment to continuous
  2297. 1:10:24learning. Again, that's pretty bloody
  2298. 1:10:26spot on um hands-on experience. So there
  2299. 1:10:29you go. That is the big boy sales
  2300. 1:10:31co-pilot for big boy recruits. The cool
  2301. 1:10:33thing you can do now once you have built
  2302. 1:10:34this um is you can go share um there's a
  2303. 1:10:38chat UI which I'm going to turn on now.
  2304. 1:10:40There are chat widgets so you can put
  2305. 1:10:41them on websites and stuff like that.
  2306. 1:10:43What I want to do is just pull this up
  2307. 1:10:44because this is what you'd be giving to
  2308. 1:10:46your client likely or if you guys are
  2309. 1:10:48going to start selling these to
  2310. 1:10:49businesses which again we're touching on
  2311. 1:10:50selling in the last section of this
  2312. 1:10:52video. So how do you turn these into
  2313. 1:10:53into a business and start making money
  2314. 1:10:55from it and selling these as a as a
  2315. 1:10:56service and building these businesses
  2316. 1:10:58which is really where the money's money
  2317. 1:10:59is made. So there you go. This URL you
  2318. 1:11:00can obviously send to your client. If
  2319. 1:11:02you're building it for your own team,
  2320. 1:11:03you can send this to your team and say,
  2321. 1:11:04"Hey, pin this because you're going to
  2322. 1:11:06be able to use it. Add more
  2323. 1:11:07functionality into it, etc. That is how
  2324. 1:11:09you build a co-pilot on relevance AI.
  2325. 1:11:16All righty, that is build number one out
  2326. 1:11:18of the way and we are jumping into AI
  2327. 1:11:20agent build number two, which if you're
  2328. 1:11:22listening closely at the start of the
  2329. 1:11:23section, we are talking about an
  2330. 1:11:26NATbased inbound lead qualification
  2331. 1:11:28agent that's going to be doing some
  2332. 1:11:29pretty cool stuff for us, which is a
  2333. 1:11:31really important function within a
  2334. 1:11:32business um around lead qualification.
  2335. 1:11:34Um, so this is a really cool one. Again,
  2336. 1:11:36in this case, this is what we call an
  2337. 1:11:37automated agent, not a conversational
  2338. 1:11:38one. What we just built is a
  2339. 1:11:40conversational agent. humans are
  2340. 1:11:41directly talking to it and chatting back
  2341. 1:11:43and forth and using it and we are
  2342. 1:11:44operating it ourselves. In this case, as
  2343. 1:11:46you can see on this little flow uh flow
  2344. 1:11:48diagram here, this is a screenshot from
  2345. 1:11:49the final product. We are actually
  2346. 1:11:51baking this into a workflow that's going
  2347. 1:11:53to be triggered on a form submission.
  2348. 1:11:55We're going to do some research and then
  2349. 1:11:56we're going to use the handy AI agent
  2350. 1:11:58and tools agent within NA10 to trigger
  2351. 1:12:00another workflow and then send some
  2352. 1:12:02emails off. So, this capability of using
  2353. 1:12:04AI agents in workflow automation really
  2354. 1:12:06expands the possibilities of what you
  2355. 1:12:08can build. And the software NAN that I'm
  2356. 1:12:10going to teach you how to use is really
  2357. 1:12:11at the the cutting edge and leading the
  2358. 1:12:13charge when it comes to these automated
  2359. 1:12:14uh AI agent workflows. And just quickly,
  2360. 1:12:16it's good that we walk through the
  2361. 1:12:17purpose and the value behind this
  2362. 1:12:18automation so that we know why we're
  2363. 1:12:19doing it. Right? So this inbound lead
  2364. 1:12:21qualification use case is based on the
  2365. 1:12:22fact that companies who market
  2366. 1:12:23themselves well soon have far too many
  2367. 1:12:25people reaching out to them. Many of
  2368. 1:12:27which are not a good fit or what you'd
  2369. 1:12:28call qualified for what they sell. Eg
  2370. 1:12:31they're too small or they're not the
  2371. 1:12:32right industry. Like you you have a
  2372. 1:12:33business and they say we only help XYZ
  2373. 1:12:36kinds of businesses. And if leads come
  2374. 1:12:37to that business who are not qualified,
  2375. 1:12:38then they obviously don't want to be
  2376. 1:12:40taking calls or or doing anything
  2377. 1:12:41further with them. So this process of
  2378. 1:12:43researching a new lead and deciding
  2379. 1:12:44whether or not to take a call is known
  2380. 1:12:46as qualification, which is what this
  2381. 1:12:48agent aims to automate. So the value
  2382. 1:12:50here is that instead of having to pay
  2383. 1:12:51someone to manually qualify and go
  2384. 1:12:52through all of these leads or using
  2385. 1:12:54arbitrary rules, which is what some
  2386. 1:12:56businesses have to go to, it's like
  2387. 1:12:57look, oh look, we've got so many leads.
  2388. 1:12:59Let's just say if they don't want if
  2389. 1:13:00they say that they're not on this, then
  2390. 1:13:01we'll just cut them out. And that's
  2391. 1:13:02potentially leaving money on the table
  2392. 1:13:04by cutting out leads who would have
  2393. 1:13:05actually been a good deal, but the rules
  2394. 1:13:07kind of didn't see enough detail to be
  2395. 1:13:09able to determine if they're a good fit
  2396. 1:13:10or not. So, this automation is
  2397. 1:13:12essentially immediately qualifying and
  2398. 1:13:14triggering the next steps to the sales
  2399. 1:13:15team and allowing them to do that human
  2400. 1:13:17style research on these leads at scale.
  2401. 1:13:19So, enough talking. Here's a little bit
  2402. 1:13:21more information. Again, with all of
  2403. 1:13:22these, it's going to be on the figure on
  2404. 1:13:23the school. Then, I've also broken down
  2405. 1:13:24how this agent would actually operate in
  2406. 1:13:26the real world and sort of real time. A
  2407. 1:13:28lead's going to be submitting the form,
  2408. 1:13:30which is going to be this here. um the
  2409. 1:13:32relevance company AI researcher. So
  2410. 1:13:33something that we've just built in
  2411. 1:13:34relevance, we're going to reuse in here,
  2412. 1:13:36which is handy that you can start to
  2413. 1:13:37move these components around and see how
  2414. 1:13:38they can fit into different automation
  2415. 1:13:39platforms. Um then the AI agent is going
  2416. 1:13:42to look at this information from the
  2417. 1:13:43research. Then it's going to determine
  2418. 1:13:44based on a qualification criteria we
  2419. 1:13:46give them um inside the prompt of this
  2420. 1:13:48agent whether they are qualified or not.
  2421. 1:13:50If they are qualified, it's going to uh
  2422. 1:13:53use this tool here and call this second
  2423. 1:13:55workflow. when we're going to
  2424. 1:13:56essentially analyze that further and do
  2425. 1:13:58a notification to either our agency team
  2426. 1:14:00or our our SAS team and if they are not
  2427. 1:14:03qualified we will use this tool here
  2428. 1:14:05which will just send an email straight
  2429. 1:14:06back to the person who submitted the
  2430. 1:14:07form say hey sorry we're not open to
  2431. 1:14:09working with businesses like yourself at
  2432. 1:14:10the moment let us know if we can help
  2433. 1:14:12you any other way so that's a rough
  2434. 1:14:14rundown of the build let's jump into it
  2435. 1:14:15so to kick things off of course you need
  2436. 1:14:16a platform on natn.io
  2437. 1:14:20io. All links and resources will of
  2438. 1:14:21course be on the school uh post for this
  2439. 1:14:23video. And once you're on this page, you
  2440. 1:14:24can go to get started and you can create
  2441. 1:14:27an account for free and just go through
  2442. 1:14:29the setup process that they do. I'm sure
  2443. 1:14:30you can figure that out. They do have a
  2444. 1:14:3214-day free trial as of this filming. So
  2445. 1:14:34that's very good if you're just jumping
  2446. 1:14:35in, not having to pay anything. And they
  2447. 1:14:36give you quite a lot of usage up here.
  2448. 1:14:37As you can see, 1,000 executions. So
  2449. 1:14:39what we're going to do, of course, is
  2450. 1:14:40click on create workflow up here. I will
  2451. 1:14:42be giving you the template. So if you
  2452. 1:14:43want to just import it, you can. That
  2453. 1:14:45will be on the Figma there. But just
  2454. 1:14:46like the last tutorial, I'm actually
  2455. 1:14:47going to be showing you the process of
  2456. 1:14:49building these up from scratch that you
  2457. 1:14:50can see how I how you go through the
  2458. 1:14:52process of building these automations
  2459. 1:14:54and the the testing and back and forth
  2460. 1:14:56you need to do in order to get to the
  2461. 1:14:57end result. That's probably actually a
  2462. 1:14:58lot more important if you are to go out
  2463. 1:15:00if I'm trying to teach you to fish, not
  2464. 1:15:01just give you a fish, is to see how I
  2465. 1:15:03deal with problems when we're building
  2466. 1:15:04these. So, let's get started by starting
  2467. 1:15:06off our trigger. We're going to go
  2468. 1:15:09form has a nice
  2469. 1:15:12form on new inn form event. And here we
  2470. 1:15:15get to create an N8N form. So we can
  2471. 1:15:17call it uh work with
  2472. 1:15:21us. Provide
  2473. 1:15:26your. So now we get to pick the field
  2474. 1:15:29names. So we want to have the first one
  2475. 1:15:31which is what
  2476. 1:15:35is make that a required field. We add
  2477. 1:15:37another one. What is your company
  2478. 1:15:40website?
  2479. 1:15:42DG HTTP this morning. Require
  2480. 1:15:51field. Right. So, we've just built out a
  2481. 1:15:53basic form here with first name, company
  2482. 1:15:55website, which we're going to need for
  2483. 1:15:56the next step. I've put a placeholder in
  2484. 1:15:58here so they know that it needs to have
  2485. 1:15:59https um at the front of it. And I'm
  2486. 1:16:02asking for them to provide some
  2487. 1:16:03information about your inquiry like and
  2488. 1:16:05maybe you can say what can we help
  2489. 1:16:07you? Um and that's going to be text
  2490. 1:16:10area. So, they've got a bit more room.
  2491. 1:16:11So, we can go test step here. Make sure
  2492. 1:16:12that it's all looking nice. This is what
  2493. 1:16:14the form's going to look like. What's
  2494. 1:16:15your name?
  2495. 1:16:20Obby. There we go. We've submitted that
  2496. 1:16:22form. If you go back, there we go. We
  2497. 1:16:24have the data in. So, this shows you the
  2498. 1:16:26output. NAM works by having kind of this
  2499. 1:16:28middle island here, which is what you
  2500. 1:16:29set up. And then the left side is the
  2501. 1:16:31input and the right side is the output.
  2502. 1:16:33So, we've tested it and these are the
  2503. 1:16:34outputs that our form is giving, which
  2504. 1:16:36is what we are looking for. And the next
  2505. 1:16:38step in this lead qualification process
  2506. 1:16:39is to do some research on the lead. So
  2507. 1:16:42we have the company URL and this is when
  2508. 1:16:44we're going to go and make an HTTP
  2509. 1:16:46request. So this is basically calling
  2510. 1:16:48any API over the internet. And in order
  2511. 1:16:50to set this up, we actually need to go
  2512. 1:16:51back to
  2513. 1:16:55relevance and we're going to find the
  2514. 1:16:57company researcher tool that we made
  2515. 1:16:58with relevance. And now you're going to
  2516. 1:16:59start to see how this all fits together.
  2517. 1:17:01um that building tools and relevance can
  2518. 1:17:03also be very useful and an extremely
  2519. 1:17:05useful skill in all areas of AI
  2520. 1:17:07automation because now I can come on to
  2521. 1:17:09research company and not only can I use
  2522. 1:17:11it here this I mean this is why I think
  2523. 1:17:13relevance is such a great platform um
  2524. 1:17:15you have the use here so I can send this
  2525. 1:17:17across to a client I can share it with
  2526. 1:17:18it as I showed before I can use it just
  2527. 1:17:20here myself I can run it in bulk on a
  2528. 1:17:22spreadsheet or but more importantly in
  2529. 1:17:24this case I can go to the API and now I
  2530. 1:17:27can call this might look scary just
  2531. 1:17:29don't worry I can call this
  2532. 1:17:31functionality basically send in a
  2533. 1:17:33company URL and get back the research. I
  2534. 1:17:35can access this over the internet
  2535. 1:17:36through an API and they give me it here
  2536. 1:17:38and they tell me exactly how to call it.
  2537. 1:17:40So now we this is on actually a post
  2538. 1:17:41request. So we can copy this. Remember
  2539. 1:17:44how we talked about get and post
  2540. 1:17:46request. This is a post request because
  2541. 1:17:47we're posting some data to relevant AI.
  2542. 1:17:49So we change this method to post. We put
  2543. 1:17:52the URL in here. We do not need
  2544. 1:17:54authentication in this case but you can
  2545. 1:17:56turn it on. So you can make a private
  2546. 1:17:57here and then you can have an
  2547. 1:17:58authenticated. might sound a bit
  2548. 1:17:59complicated but for now don't worry
  2549. 1:18:00about it we don't need to have an
  2550. 1:18:02authentication step on
  2551. 1:18:04this and then if we look at the request
  2552. 1:18:07body here it tells us how we can send
  2553. 1:18:09data to relevant AI and if we go copy
  2554. 1:18:13here come back we're going to send a
  2555. 1:18:16body it's going to be in
  2556. 1:18:20JSON and we can change this to using
  2557. 1:18:23JSON and then we can paste in basically
  2558. 1:18:26what we have been given from relevant AI
  2559. 1:18:27now this looks a messy. Let's pop this
  2560. 1:18:29open a bit
  2561. 1:18:31more. And we actually need to change it
  2562. 1:18:33to an expression here. So fixed means
  2563. 1:18:35that we're not accepting any dynamic
  2564. 1:18:37data in. So when the form is submitted,
  2565. 1:18:39we actually need to take in some data
  2566. 1:18:40from that form which we have over here.
  2567. 1:18:42We need to inject it into this uh HTTP
  2568. 1:18:44request to relevant AI to get this
  2569. 1:18:46company research done. So we can't have
  2570. 1:18:48it as a fixed um JSON body here. Need to
  2571. 1:18:51change it to expression and then we can
  2572. 1:18:53pop this out here and it gets a bit
  2573. 1:18:54easier. So, we have params. We have the
  2574. 1:18:56company URL. And then we need to pop in
  2575. 1:18:59here. Oh, the company
  2576. 1:19:03URL. Pop that in there. And here on the
  2577. 1:19:05right side, we get to see what that
  2578. 1:19:06would look like given the test data that
  2579. 1:19:08we've just put through. So, you can see
  2580. 1:19:10I've got the company URL, https
  2581. 1:19:12morningside.ai in quotations here, which
  2582. 1:19:13is what we want. So, we can go back now.
  2583. 1:19:15And now we can give it a test to see if
  2584. 1:19:17it's going to be able to communicate
  2585. 1:19:18with relevant AI and get us the data we
  2586. 1:19:21want. There we go. We have our result
  2587. 1:19:24back from relevant AI which is the
  2588. 1:19:26summary. As you can see when we go back
  2589. 1:19:28to this um and back to build this is
  2590. 1:19:31exactly what we'd expect. You know you
  2591. 1:19:33put in the URL does this scrape a fire
  2592. 1:19:35call writes the summary spits out the
  2593. 1:19:37summary and this summary is what we're
  2594. 1:19:38getting back out over here which is what
  2595. 1:19:40we want. So bank that's great another
  2596. 1:19:42step
  2597. 1:19:43done. And those of you who are a bit
  2598. 1:19:45confused about what this is this is just
  2599. 1:19:46the body of the request. So because we
  2600. 1:19:48are sending a post request remember how
  2601. 1:19:50we have get and post request. Get
  2602. 1:19:51requests are typically just with a URL
  2603. 1:19:53and with a bunch of stuff tacked on. A
  2604. 1:19:54post request, we need to send a a JSON
  2605. 1:19:57body like this. And it does look quite
  2606. 1:19:59confusing, but if I take this and go
  2607. 1:20:01JSON
  2608. 1:20:06form, paste this in and beautify it. And
  2609. 1:20:09you can see how we have basically the
  2610. 1:20:10project which is the relevant project
  2611. 1:20:12that we are calling. And this tells the
  2612. 1:20:14API this is the project that we want to
  2613. 1:20:15interact with. and the project expects
  2614. 1:20:18the params, the inputs, which is the
  2615. 1:20:20company URL, and we're injecting that
  2616. 1:20:22company URL from our information here in
  2617. 1:20:25NA10 that we've dragged across. It might
  2618. 1:20:26seem tricky a few times, but trust me,
  2619. 1:20:28this stuff becomes like riding a bike
  2620. 1:20:29once you get up and running. So, um, a
  2621. 1:20:31few more of these and you'll be you'll
  2622. 1:20:32be completely fine. All right. And so
  2623. 1:20:34now that we have our company
  2624. 1:20:34information, the next step is going to
  2625. 1:20:36be setting up the agent, which is really
  2626. 1:20:38the coolest part in my opinion about
  2627. 1:20:39make right now is that we come in here
  2628. 1:20:41and we can click on um agent and we can
  2629. 1:20:44set it to as a tools agent, which means
  2630. 1:20:46we connect our own tools. And if we just
  2631. 1:20:48back out of
  2632. 1:20:49this, we can do cool things like set up
  2633. 1:20:52the model. And right here, this is so
  2634. 1:20:53cool because we get to see exactly what
  2635. 1:20:55we were just talking about earlier in
  2636. 1:20:57this video, but we have the different
  2637. 1:20:59parts of an agent, the different
  2638. 1:21:00ingredients, right? So here's the chat
  2639. 1:21:01model. This is the brain. This is the
  2640. 1:21:03LLM that's going to be powering the
  2641. 1:21:04whole agent using the soup example. Like
  2642. 1:21:06this is the one meat that we get to
  2643. 1:21:08choose, right? This is a specific model.
  2644. 1:21:10In this case, we going to be using
  2645. 1:21:11OpenAI again because you already have
  2646. 1:21:13your API key and I can't really be
  2647. 1:21:14bothered going and showing you a whole
  2648. 1:21:15another provider, but it's the same
  2649. 1:21:16process for all of them. You can if you
  2650. 1:21:18want anthropic, you can then pick all
  2651. 1:21:20the anthropic models. Uh but in this
  2652. 1:21:22case, just to keep it simple, let's just
  2653. 1:21:23go back
  2654. 1:21:26to and open AI model.
  2655. 1:21:30And if we go back again, you can see
  2656. 1:21:32that we now have uh the memory and the
  2657. 1:21:34tools that we can connect. So, of
  2658. 1:21:35course, we have the tools, which we've
  2659. 1:21:37talked about a lot in this video
  2660. 1:21:38already. We can connect multiple
  2661. 1:21:39different tools here, as we're going to
  2662. 1:21:40do in a second. And then we also have
  2663. 1:21:41memory set up here, which is a little
  2664. 1:21:43bit outside of the scope of this video.
  2665. 1:21:44As I said, in most platforms, it comes
  2666. 1:21:46builtin, but NAT is a bit more of a
  2667. 1:21:47developercentric platform. So, if you
  2668. 1:21:49wanted to play around with memory, um
  2669. 1:21:50different forms of of managing memory,
  2670. 1:21:52you can do that here. In our case, we're
  2671. 1:21:53not going to be touching it. And in
  2672. 1:21:55order to connect a knowledge base, if we
  2673. 1:21:57wanted to set up a knowledge base for
  2674. 1:21:58our agent, we would connect it as a
  2675. 1:22:00tool. So you can see here we've got
  2676. 1:22:01in-memory vector store, pine cone vector
  2677. 1:22:03stores, etc. These are vector databases
  2678. 1:22:05that we can connect just like in the
  2679. 1:22:07other tutorials we're going to do in
  2680. 1:22:08this video. When you upload some
  2681. 1:22:09documents to make a knowledge base,
  2682. 1:22:10they're essentially being put in a
  2683. 1:22:12vector store like these, but the
  2684. 1:22:13platforms manage it for you and make it
  2685. 1:22:15a lot easier to do. So in this case,
  2686. 1:22:16we're just going to be doing two
  2687. 1:22:18different tools. Firstly, we're going to
  2688. 1:22:19be calling an NATM workflow. So I'm just
  2689. 1:22:21going to finish off the the basic setup
  2690. 1:22:23of this. Um, and then we're going to add
  2691. 1:22:24another tool on. It's going to be the
  2692. 1:22:26Gmail
  2693. 1:22:28tool. And then before you know it, we
  2694. 1:22:30have our AI agent structure built out.
  2695. 1:22:32So, we're using the Open AI models.
  2696. 1:22:34We're going to pick the model shortly.
  2697. 1:22:36We're going to be using the tool to call
  2698. 1:22:37the second NATM workflow, which is going
  2699. 1:22:39to be uh triggering the the email
  2700. 1:22:41notifications for our sales reps and the
  2701. 1:22:43classification of the uh of the lead.
  2702. 1:22:45That's going to make a bit more sense
  2703. 1:22:46when we actually do it. So, just stick
  2704. 1:22:48with me on this. And then this Gmail is
  2705. 1:22:49going to be sending back a hey sorry you
  2706. 1:22:52didn't qualify for what we do um sorry
  2707. 1:22:55we can't help you let us know if we can
  2708. 1:22:56do anything else for so to start setting
  2709. 1:22:58things up we can start from left to
  2710. 1:22:59right here with the chat model um the
  2711. 1:23:00openai model that we want to use and you
  2712. 1:23:02need to set up your openai account so
  2713. 1:23:04you can click create new credential and
  2714. 1:23:05you need to go and add in your API key
  2715. 1:23:07here I'd suggest you go and make a new
  2716. 1:23:08one on platform openai.com and you can
  2717. 1:23:11add a new one in here and you can name
  2718. 1:23:12the key nat so you start to know which
  2719. 1:23:14keys are used for which different
  2720. 1:23:16platforms um and once you put that in
  2721. 1:23:18there you can Just click save and then
  2722. 1:23:19it will run a little test and then
  2723. 1:23:20you're ready to go. You should have this
  2724. 1:23:21set up here. Then we get to select the
  2725. 1:23:23model that we want to use for our agent
  2726. 1:23:24here. And in this case, I want to go for
  2727. 1:23:26something quite smart. So, I'm going to
  2728. 1:23:27go for
  2729. 1:23:2803. We have 03 mini here. This one
  2730. 1:23:31appears to be a little bit more recent.
  2731. 1:23:32So, they'll sometimes put the dates on
  2732. 1:23:34the end of it. And if you just look at
  2733. 1:23:35the current date, you can kind of see
  2734. 1:23:36how how close to the current date it is.
  2735. 1:23:38Um, but I'd say this one's a bit more
  2736. 1:23:39recent, so it's going to be hopefully a
  2737. 1:23:40bit better. And next, we're going to
  2738. 1:23:42skip this cuz we need to set up a whole
  2739. 1:23:43different workflow to connect it to. Um,
  2740. 1:23:45we're going to jump straight into this
  2741. 1:23:46Gmail one. You need to set up again
  2742. 1:23:47another connection as you go through all
  2743. 1:23:49of these different automation platforms.
  2744. 1:23:50You do need to do these these
  2745. 1:23:52connections between uh your own account,
  2746. 1:23:54say your Gmail or your calendar or all
  2747. 1:23:56these different apps. You need to go and
  2748. 1:23:57create a new credential. Um and you can
  2749. 1:23:59just do the sign in with Google here.
  2750. 1:24:01Super easy to do. I'm sure you don't
  2751. 1:24:02need my help with that. Once you've set
  2752. 1:24:04up that connection, you can close this
  2753. 1:24:05and you will see the connection that you
  2754. 1:24:07set up here. Basically, that's what
  2755. 1:24:08we're going to be sending emails
  2756. 1:24:09through. And then we can get into
  2757. 1:24:10setting this up. So, because this Gmail
  2758. 1:24:12tool is going to be used to send a a
  2759. 1:24:14reply back to the person who submitted
  2760. 1:24:15the form and say, "Hey, sorry, you're
  2761. 1:24:17not a good fit for us." You want to send
  2762. 1:24:18it back to the person who submitted the
  2763. 1:24:19form. Now, if you scroll down here, uh,
  2764. 1:24:21yep, you see that I've I've forgotten to
  2765. 1:24:24add the email form in. So, this is a
  2766. 1:24:25good example of needing to go back a
  2767. 1:24:27little bit. So, we can go back to the
  2768. 1:24:28form submission here. Um, scroll down,
  2769. 1:24:31say, what is your
  2770. 1:24:35email? And we can set it as an email.
  2771. 1:24:37So, it's going to automatically force
  2772. 1:24:39them to provide a valid email for us.
  2773. 1:24:41And I want to maybe shimmy this up a
  2774. 1:24:42bit.
  2775. 1:24:45Um, so it's name, email, then company,
  2776. 1:24:49website. Um, we can do another test here
  2777. 1:24:52just to give it some proper
  2778. 1:24:55data. Oh, it's not going to let us do
  2779. 1:24:57that because this isn't set up properly.
  2780. 1:24:58So, we can just delete that for
  2781. 1:25:01now. And we're actually going to delete
  2782. 1:25:03that. Otherwise, it's going to be a bit
  2783. 1:25:04of a pain.
  2784. 1:25:06So, we want to test it
  2785. 1:25:13again. So, we can submit another form
  2786. 1:25:15here and go back to NA10. And there we
  2787. 1:25:19go. We have the information. We have the
  2788. 1:25:20email now. That's great. And so, now we
  2789. 1:25:22can come and set up our tools again.
  2790. 1:25:23We've got the workflow there and we've
  2791. 1:25:25got the
  2792. 1:25:28Gmail. Um, and now we have our
  2793. 1:25:30connection set up. Yep.
  2794. 1:25:36Oh, and we haven't got the data here
  2795. 1:25:38because we need to run this
  2796. 1:25:41again and get the research. So, now the
  2797. 1:25:43research is done in there for us to set
  2798. 1:25:44up the Gmail tool here. We can go to two
  2799. 1:25:47and we'll be able to pull in the email.
  2800. 1:25:49So, again, they submit this form. We
  2801. 1:25:51realize that they're not a qualified uh
  2802. 1:25:52person for our offer. And then we're
  2803. 1:25:54going to send an email back and say,
  2804. 1:25:55"Hey, sorry, you're not a good fit." So,
  2805. 1:25:56we can say the subject here is um thanks
  2806. 1:25:59for your interest. I'm going to change
  2807. 1:26:02the email type to text here and I'm
  2808. 1:26:04going to write a basic message in. I'm
  2809. 1:26:05just going to snag it from the one that
  2810. 1:26:07I've done previously. So, we need to
  2811. 1:26:08change this from fix to an expression
  2812. 1:26:10because we want to be pulling in their
  2813. 1:26:11name here. So, I'm going to paste in
  2814. 1:26:13what I have here. Again, this would be
  2815. 1:26:14included um in the resources. It's just
  2816. 1:26:16going to save us time if I don't have to
  2817. 1:26:17type this all out manually. Um but you
  2818. 1:26:19can see here, I'll just delete this so
  2819. 1:26:20you guys know what we're doing. If I go
  2820. 1:26:23hi, or hi, and then we can add in what
  2821. 1:26:26is your first name? Hi, name. In this
  2822. 1:26:29case, it's going to be filling in my
  2823. 1:26:30name here as an example. So, highly mly,
  2824. 1:26:32thank you for your interest in big boy
  2825. 1:26:33recruitment services as you specialize
  2826. 1:26:35in recruitment for software and
  2827. 1:26:36development agencies. We're not a good
  2828. 1:26:38fit based on your company's industry.
  2829. 1:26:39Please let us know if you'd like to
  2830. 1:26:40connect us with one of your partners who
  2831. 1:26:41specializes in dealing with your needs.
  2832. 1:26:43Cheers. Huge Jackman here to sales, big
  2833. 1:26:46boy recruits, BBR, uh, Dallas, Texas.
  2834. 1:26:48So, if you guys remember huge Jackman,
  2835. 1:26:50comment down below um for the OG fans.
  2836. 1:26:52And then that is our Gmail all set up.
  2837. 1:26:54And just quickly so that you've got a
  2838. 1:26:56bit more knowledge around how this Gmail
  2839. 1:26:57uh tool works, we have all these
  2840. 1:26:59different steps that we can use. We're
  2841. 1:27:00using the send one. So it's sending an
  2842. 1:27:02email. You can use reply, you can use
  2843. 1:27:04get, delete, all these other functions,
  2844. 1:27:05but the easiest one and the most common
  2845. 1:27:07one you're going to use is going to be
  2846. 1:27:08that send one, of course. Now, we need
  2847. 1:27:09to set up this NATM workflow which the
  2848. 1:27:11agent is going to call as a tool um when
  2849. 1:27:13they are a qualified prospect. So I'm
  2850. 1:27:15going to delete this one and just save
  2851. 1:27:16this for now. Then we're going to go
  2852. 1:27:18back
  2853. 1:27:20to home. We're going to create a new
  2854. 1:27:23workflow.
  2855. 1:27:25And this is a really cool skill that I
  2856. 1:27:26want to teach you. The fact that you can
  2857. 1:27:27build all these workflows and then
  2858. 1:27:28connect them to agents and it can just
  2859. 1:27:30be taking data in and kind of shooting
  2860. 1:27:32it off in all directions and triggering
  2861. 1:27:33all these complex multi-step processes
  2862. 1:27:36because it's a super valuable way of
  2863. 1:27:37using agents. Um, so I really want to
  2864. 1:27:39teach you that. And obviously this one's
  2865. 1:27:40going to be starting off a bit different
  2866. 1:27:42to the other one. We actually want this
  2867. 1:27:43to be set up as when executed by another
  2868. 1:27:45workflow. So that's going to be what the
  2869. 1:27:46trigger is here. And we are going to be
  2870. 1:27:49able to define using fields below. Let's
  2871. 1:27:51just add in one here that is a lead lead
  2872. 1:27:54name. Um, for now we can just leave that
  2873. 1:27:57there. But that's all that we need to
  2874. 1:27:58set up. We need to go back over to the
  2875. 1:28:00other one. Just needed to set this part
  2876. 1:28:01up. Let's rename this qualified lead
  2877. 1:28:04lead classifier and
  2878. 1:28:07notifier. So we can save that there. And
  2879. 1:28:09we have a bit more work to do on this
  2880. 1:28:10other one. If we go back to this, we can
  2881. 1:28:13rename this here. So let's call this our
  2882. 1:28:16lead
  2883. 1:28:18qualification agent.
  2884. 1:28:21And so now we have our other workflow
  2885. 1:28:23set up. We can come here. We can call
  2886. 1:28:24another workflow with the tool and we
  2887. 1:28:27can call it lead is qualified. And so
  2888. 1:28:30now is when we get to tie back into what
  2889. 1:28:31we learned in the foundation section
  2890. 1:28:32because we are now writing descriptions
  2891. 1:28:34for our tools. Remember how we had
  2892. 1:28:35schemas and scheas are basically
  2893. 1:28:38written instructions or instruction
  2894. 1:28:40manuals on how to use tools and how to
  2895. 1:28:42use the APIs that wrap around them. Um
  2896. 1:28:44this description is going to be
  2897. 1:28:45basically those descriptions that you
  2898. 1:28:46put in the schema. But NAT is going to
  2899. 1:28:48be basically constructing it for us in
  2900. 1:28:50the back end. And we just get to put in
  2901. 1:28:52here, okay, what's the name of this
  2902. 1:28:53tool? It's going to be called lead is
  2903. 1:28:55qualified. It's giving us a nice example
  2904. 1:28:56of how we can write a description for
  2905. 1:28:58the tool. So call this tool to get a
  2906. 1:28:59random color. The input should be a
  2907. 1:29:00string with a comma separated names of
  2908. 1:29:02colors to execute. So in our case, we
  2909. 1:29:03can say call this tool when the lead is
  2910. 1:29:05qualified according to our criteria. The
  2911. 1:29:07inputs should be lead name, lead email,
  2912. 1:29:13company, company summary, and request in
  2913. 1:29:18info. We're basically telling that AI
  2914. 1:29:20model or the brain what this tool can
  2915. 1:29:22do. So when we send it some kind of
  2916. 1:29:23input, it then it looks over our tools.
  2917. 1:29:25It looks at the Gmail description and it
  2918. 1:29:27looks at this uh workflow tool
  2919. 1:29:29description and goes, "Oh, well, I have
  2920. 1:29:30a tool that does this and a tool that
  2921. 1:29:31does this. What have they just sent me?
  2922. 1:29:33Okay, now I think I know what I need to
  2923. 1:29:34do from here." So this is the rough gist
  2924. 1:29:36of what we want to do as a description
  2925. 1:29:37for this tool. I'm actually going to
  2926. 1:29:38beef it up with a bit of a a bigger one
  2927. 1:29:40here. Um if the lead is qualified to
  2928. 1:29:42work with big boy recruits, eg they are
  2929. 1:29:44software based business like SAS or
  2930. 1:29:45development agencies and trigger this
  2931. 1:29:47tool and send the lead data in the
  2932. 1:29:48following format. It's just dummy data.
  2933. 1:29:50So name a name email um an email message
  2934. 1:29:54I want new div qualified true company
  2935. 1:29:57information and company information
  2936. 1:29:59which is a summary of the relevance tool
  2937. 1:30:01to do the company research that we have.
  2938. 1:30:03So, might seem a bit crazy at the
  2939. 1:30:04moment, but stick with me because it
  2940. 1:30:06will make sense in a second. We're
  2941. 1:30:07basically just told it when it's going
  2942. 1:30:08to trigger this tool and the format to
  2943. 1:30:09send the data in. And then for the
  2944. 1:30:11workflow, we get to choose here the one
  2945. 1:30:13that we just set up, which is our
  2946. 1:30:15qualified lead classifier and notifier,
  2947. 1:30:17at least in my case. And then we see the
  2948. 1:30:18workflow inputs that we've just set up.
  2949. 1:30:20So, if we go back over to our other
  2950. 1:30:22automation, so when we open this up and
  2951. 1:30:24define our inputs here, you can see over
  2952. 1:30:26here we are getting just one of them
  2953. 1:30:28that we've put in as an example so far.
  2954. 1:30:30So now we need to set up all these
  2955. 1:30:32inputs correctly. And we have the name
  2956. 1:30:34that we want. So we've got the name and
  2957. 1:30:35we want the email. So we can add another
  2958. 1:30:40email. What else do we need? We need the
  2959. 1:30:47message.
  2960. 1:30:49Um, honestly don't think we need this
  2961. 1:30:51qualified one here. And then we have the
  2962. 1:30:54company information.
  2963. 1:31:02So, if we just test this, head back over
  2964. 1:31:05here, and
  2965. 1:31:09we refresh this
  2966. 1:31:13list. Oh, back out. Save
  2967. 1:31:16it. And this pops up. It says that these
  2968. 1:31:19inputs are outdated. So, there we go. We
  2969. 1:31:21have lead name, email, message, etc. And
  2970. 1:31:23then we can actually automatically fill
  2971. 1:31:24out a lot of these inputs. Maybe I will
  2972. 1:31:26put this back in here just to show you
  2973. 1:31:27guys how these work. So if we go um
  2974. 1:31:35qualified. Um and then we just call it
  2975. 1:31:37uh true
  2976. 1:31:39here. I just put it as a string.
  2977. 1:31:46And we go back here and we add in one
  2978. 1:31:49more which is a
  2979. 1:31:52qual
  2980. 1:31:55qualified which is also a string. And so
  2981. 1:31:58we have this qualified field here as
  2982. 1:31:59well. If we go back um I'll just test
  2983. 1:32:02this. Save it
  2984. 1:32:05again. Come back over and update
  2985. 1:32:07this. I think we can actually make it
  2986. 1:32:09even cooler. So let's go. Um it changes
  2987. 1:32:12from a string to a boolean. So that's
  2988. 1:32:13either true or false. Um, and if we test
  2989. 1:32:16this, save it again, and we change this
  2990. 1:32:20to take away these little things. Sorry,
  2991. 1:32:22pisses me off if I don't have this set
  2992. 1:32:24up right. Um, and then we update this,
  2993. 1:32:27you'll see this turns into a switch. So,
  2994. 1:32:28that's a true or false, right? In order
  2995. 1:32:29to trigger this tool, it should be
  2996. 1:32:30qualified by default. So, it's a little
  2997. 1:32:32bit redundant, but it's still cool to
  2998. 1:32:34show you how we can get AI to fill out
  2999. 1:32:35these fields. Um, in a lot of cases, we
  3000. 1:32:37don't, but for this qualified run, we
  3001. 1:32:39can. So, we can set this as an AI
  3002. 1:32:41generated field. We can say if the elite
  3003. 1:32:43is qualified based on our
  3004. 1:32:47criteria this set to
  3005. 1:32:50true. And then for the rest of
  3006. 1:32:53them we can just fill this out
  3007. 1:33:04quickly. Give this a
  3008. 1:33:07second. Open this back
  3009. 1:33:10up. And we can fill out some of these
  3010. 1:33:12fields. So we can go lead name that we
  3011. 1:33:14want to pass through to the other
  3012. 1:33:15automation is going to be that. So we
  3013. 1:33:17can fill a lot of these in email
  3014. 1:33:21um message and the company information
  3015. 1:33:26um we can get from um this technically
  3016. 1:33:28but um maybe we could do a cool AI
  3017. 1:33:30generated one here which is um a short
  3018. 1:33:34summary of the
  3019. 1:33:37company and the industry that they are
  3020. 1:33:40in.
  3021. 1:33:42company's details. So, this is basically
  3022. 1:33:43telling the AI model of our agent how to
  3023. 1:33:46fill this field out, which is one of the
  3024. 1:33:47reasons that AI agents are so powerful.
  3025. 1:33:49So, that's all set up. Now, we've got
  3026. 1:33:51all of our tools set up. The last step
  3027. 1:33:52is just to set up a prompt for our
  3028. 1:33:54agent. And I am going to cheat a little
  3029. 1:33:56bit here and just throw one in that I've
  3030. 1:33:57done before to save us a bit of time
  3031. 1:33:59here. So, we want to set the prompt
  3032. 1:34:03here. We can paste in this information
  3033. 1:34:05here. And this is basically just telling
  3034. 1:34:07the agent who it is and what it's
  3035. 1:34:08supposed to do. You're a lead
  3036. 1:34:09qualification agent. Your job is to
  3037. 1:34:11analyze the form submission and company
  3038. 1:34:12research provided and then decide
  3039. 1:34:14whether they are qualified to work with
  3040. 1:34:15big boy recruits. Ra we specialize in
  3041. 1:34:18XYZ. Um we are specialist in capturing
  3042. 1:34:20talent for ra. We only work with
  3043. 1:34:22softwarebased businesses, EG SAS
  3044. 1:34:24companies or development agencies. These
  3045. 1:34:25companies are willing to pay much more
  3046. 1:34:27developers than your average marketing
  3047. 1:34:28company or local business. Therefore, we
  3048. 1:34:30only work with them. Your job is to
  3049. 1:34:31determine if the lead you are provided
  3050. 1:34:33with is a good fit for big boy recruits.
  3051. 1:34:34And if so, call the lead is qualified
  3052. 1:34:36tool and send the elite information to
  3053. 1:34:38it. If lead is not qualified, then you
  3054. 1:34:39must trigger the Gmail send email tool
  3055. 1:34:41for us to respond to them letting know
  3056. 1:34:43letting them know we are unable to work
  3057. 1:34:44with them. And then we have a response
  3058. 1:34:45format here which we can probably just
  3059. 1:34:47delete. And then we can add in here is
  3060. 1:34:49the lead
  3061. 1:34:50to information for you to
  3062. 1:34:54analyze. Let's pop this out to make it a
  3063. 1:34:56bit easier.
  3064. 1:35:00We can add in um just go name um company
  3065. 1:35:07URL
  3066. 1:35:09in go message
  3067. 1:35:13request and of course we go a
  3068. 1:35:17company and we take it. So that's from
  3069. 1:35:20the relevant step for the research that
  3070. 1:35:22we did to scrape using our firecrawl
  3071. 1:35:24tool. And then we provided all the
  3072. 1:35:25information to this agent and it's going
  3073. 1:35:27to be injected with all of these values
  3074. 1:35:29on each form submission and then it's
  3075. 1:35:31going to make a call on what tool it
  3076. 1:35:32needs to use. So we're pretty much
  3077. 1:35:35there. We can even give it a run here
  3078. 1:35:37and try to test the step and see which
  3079. 1:35:39tool it's going to try to
  3080. 1:35:44choose. If we go back we can see okay
  3081. 1:35:46look it's used the chat model as the
  3082. 1:35:48brain and it's triggered the NA10
  3083. 1:35:51workflow as expected. You can see here
  3084. 1:35:52that it's sent off information to our
  3085. 1:35:54other workflow. It sent the lead name,
  3086. 1:35:56the email, the message, and the company
  3087. 1:35:59information, and it set it as qualified
  3088. 1:36:00as well. So, all of these fields have
  3089. 1:36:02been filled out. We've got a nice AI
  3090. 1:36:03generated summary here from the model
  3091. 1:36:05and brain. And we have the qualified set
  3092. 1:36:07to true. And so, the final step now for
  3093. 1:36:09us is to head back over to our other
  3094. 1:36:12automation and just finish it
  3095. 1:36:14off. Oh, we need to save that. I will
  3096. 1:36:17just run that again for you so you can
  3097. 1:36:19see it in slow motion. It's using the
  3098. 1:36:20LLM as the brain and the tools agent and
  3099. 1:36:22it's deciding whether it's qualified or
  3100. 1:36:24not. And if it is qualified, then it
  3101. 1:36:26will send it to this workflow. Bam,
  3102. 1:36:28we've sent it. And there you go. If we
  3103. 1:36:31head back over to um let's save
  3104. 1:36:35this. Head back over to our qualified
  3105. 1:36:37lead classifier notifier. Now, we can
  3106. 1:36:40add on a quick few steps here. I'm just
  3107. 1:36:41sort of going to rip through this. Um
  3108. 1:36:43it's not super important. Um but it just
  3109. 1:36:45shows you a little bit more
  3110. 1:36:46functionality of what you can build in
  3111. 1:36:47on N10. So, we're going to add in a
  3112. 1:36:49messenger model step here, and we're
  3113. 1:36:51going to choose uh 40
  3114. 1:36:55mini. And what I want this to do is to
  3115. 1:36:57take in that information that we sent to
  3116. 1:36:58the workflow about the company research,
  3117. 1:37:00etc. So, we know this is a qualified
  3118. 1:37:02lead now, but we just want to split it
  3119. 1:37:03between either our SAS team or our
  3120. 1:37:05development agency sales team. So,
  3121. 1:37:07they're specialized in dealing with
  3122. 1:37:08different cases. So, I'm going to cheat
  3123. 1:37:09and just throw in a prompt here, which
  3124. 1:37:10you guys will be able to get access to.
  3125. 1:37:13Um, which is basically saying we have a
  3126. 1:37:15new inbound lead. Um, change this to an
  3127. 1:37:16expression. Sorry. Um, we have a new
  3128. 1:37:19inbound lead that we need you to
  3129. 1:37:20classify into either SAS or development
  3130. 1:37:22agency. Here's the lead information. Um,
  3131. 1:37:24we need to go back step and test
  3132. 1:37:27this. There we go. We should have some
  3133. 1:37:30information. Um, and now we can put
  3134. 1:37:33these in. So, you see how there was
  3135. 1:37:34nothing here before I went back and
  3136. 1:37:35tested the trigger so that it gives us
  3137. 1:37:36some null values here that we can fill
  3138. 1:37:38out. Here's lead information. Um lead
  3139. 1:37:41name uh message
  3140. 1:37:45um
  3141. 1:37:46name
  3142. 1:37:47request company
  3143. 1:37:51information if the company is a SAS
  3144. 1:37:53output SAS if the lead has development
  3145. 1:37:56agency upput agency. So we're looking
  3146. 1:37:57for just agency or SAS as the outputs
  3147. 1:38:00here. Um simplify the output. Yep,
  3148. 1:38:04that's all good. So we can no point in
  3149. 1:38:06us testing that step there because all
  3150. 1:38:07the values are null. Um but the next
  3151. 1:38:10step is a basic
  3152. 1:38:12router flow
  3153. 1:38:15if so this is a basic conditional
  3154. 1:38:17routing. So we have the conditions we
  3155. 1:38:19can go expression here. So we can go
  3156. 1:38:23um the content here. So this is the
  3157. 1:38:24output from the open AI step. If the
  3158. 1:38:27content which is the response from the
  3159. 1:38:29LLM step the classifier it's either
  3160. 1:38:30going to be agency or it's going to be
  3161. 1:38:32SAS. So if it let's just to to make it a
  3162. 1:38:34bit more flexible. If we go string, if
  3163. 1:38:36it contains
  3164. 1:38:40agency, great. So, if it contains agency
  3165. 1:38:42on the true side, we want to go
  3166. 1:38:45Gmail and we want to send a message. Um,
  3167. 1:38:50and then if it is false, we want to do
  3168. 1:38:54basically the same thing. Now, I've got
  3169. 1:38:55a preset email just to help us out here.
  3170. 1:39:09Um, okay. So, here we're not getting
  3171. 1:39:11much data on the input side here and we
  3172. 1:39:13can't seem to simulate it because it's
  3173. 1:39:14of course triggered by another workflow.
  3174. 1:39:16What we can do is just save it here. go
  3175. 1:39:18into
  3176. 1:39:19executions. And if we go back to our
  3177. 1:39:21other workflow, the
  3178. 1:39:27agent, and we can go to the form
  3179. 1:39:29submissions
  3180. 1:39:31one. If we go to executions, and we just
  3181. 1:39:34run one of these that we just did
  3182. 1:39:36before, copy to
  3183. 1:39:38editor. And we just run this
  3184. 1:39:44again. This is basically just going to
  3185. 1:39:46trigger this again. and so that we get a
  3186. 1:39:48fresh execution and we can sort of pull
  3187. 1:39:49that data back into the workflow. Oh,
  3188. 1:39:52we're having issues
  3189. 1:40:02now. It's cuz I need to delete this.
  3190. 1:40:10So if
  3191. 1:40:15we stop that and we just run it
  3192. 1:40:23again. Boom. Triggered it. And that's
  3193. 1:40:26all done. Now if we go back to this and
  3194. 1:40:28we go to executions, go to the most
  3195. 1:40:30recent one that succeeded. It's going to
  3196. 1:40:32load in. Oh, hang on. This one's
  3197. 1:40:35probably it.
  3198. 1:40:41Oh no, that's not
  3199. 1:40:47it. Okay, so this one here, if we click
  3200. 1:40:51this, yep, we've got all the data in
  3201. 1:40:53here. So, what we can do is copy this
  3202. 1:40:55into the editor and then we've got the
  3203. 1:40:57data that we need that's already loaded
  3204. 1:40:58in so that we have some values to put
  3205. 1:41:00into our Gmail steps Gmail. So, that's a
  3206. 1:41:02handy little trick to to know how to do.
  3207. 1:41:05And now we have all of this information.
  3208. 1:41:07So, that's what that's what I was trying
  3209. 1:41:08to get. Um, the same setup and we're
  3210. 1:41:10going to send this to I'm just going to
  3211. 1:41:12use an example here and call this um
  3212. 1:41:15it's the same email. You wouldn't pull
  3213. 1:41:17this in necessarily. I'm just using this
  3214. 1:41:18as something that I can show you
  3215. 1:41:20at show. Say new agency lead. Let's do a
  3216. 1:41:24text. We say um new agency lead man. Go
  3217. 1:41:29get
  3218. 1:41:29him. Um turn into an
  3219. 1:41:32expression. And then we say we can just
  3220. 1:41:35throw this company data in there. It's
  3221. 1:41:37going to be messy. You can play around
  3222. 1:41:39with this more when it comes to
  3223. 1:41:40formatting, but just to show you the
  3224. 1:41:41functionality. If we go uh test a step
  3225. 1:41:44here, that's going to sent an email to
  3226. 1:41:46this. This is like my agency sales reps
  3227. 1:41:49uh email. Of
  3228. 1:41:51course, um let's rename
  3229. 1:42:00this. Can duplicate this. Right click,
  3230. 1:42:04duplicate, bring it
  3231. 1:42:06here.
  3232. 1:42:08Oh, connect this up. And we change this.
  3233. 1:42:12You change this to your like SAS guy.
  3234. 1:42:14You change it to a different different
  3235. 1:42:15email. Um, of course, and then you can
  3236. 1:42:18say new SAS
  3237. 1:42:22lead. Right. So now we have done all of
  3238. 1:42:24that basically all built out. The data
  3239. 1:42:27is going to come in from the agent. It's
  3240. 1:42:28going to send in the company summary.
  3241. 1:42:30This is going to classify it into being
  3242. 1:42:32a uh agency lead or a SAS lead because
  3243. 1:42:34those are the only two types of
  3244. 1:42:35businesses that we work with. So all of
  3245. 1:42:37them will be qualified when they come
  3246. 1:42:38through here. And then it just sends an
  3247. 1:42:40email to our uh agency sales rep or our
  3248. 1:42:43uh SAS oh rename this to our SAS sales
  3249. 1:42:46rep, new SAS lead for them to continue
  3250. 1:42:50and do the next steps and follow up
  3251. 1:42:54with. Right. So to test this we can turn
  3252. 1:42:56this on to active and you can see that
  3253. 1:42:58you can now make calls from your
  3254. 1:42:59production form URL. Um we can go okay.
  3255. 1:43:03If we double click on this we can open
  3256. 1:43:05this up. We can click on production URL.
  3257. 1:43:07Copy this and open this up in a new tab.
  3258. 1:43:11And now we can give it a
  3259. 1:43:16spin. So of course my agency Morning
  3260. 1:43:18Side AI does development services. So
  3261. 1:43:20this should be qualified and it should
  3262. 1:43:21also route it to the agency email. So if
  3263. 1:43:24I now go
  3264. 1:43:26submit, we go back into NADN, we go into
  3265. 1:43:29executions, we can see this one is
  3266. 1:43:32running. If we go to
  3267. 1:43:35Gmail and I pull up my spare
  3268. 1:43:41inbox and there we go. We see it has
  3269. 1:43:43succeeded. And then if we go
  3270. 1:43:47to and then if we go to our lead
  3271. 1:43:49qualifier and notifier and we go to
  3272. 1:43:51executions, we will also see that we
  3273. 1:43:53have a new one that has succeeded here
  3274. 1:43:55which was just uh a few seconds ago and
  3275. 1:43:58that's gone through. It is um outputed
  3276. 1:44:01it as agency which is the the
  3277. 1:44:03classification that we wanted. It has
  3278. 1:44:05gone through and has sent a new email.
  3279. 1:44:06And if we go to here we have new agency
  3280. 1:44:08lead there. There we go. All the
  3281. 1:44:10information. So that's working number
  3282. 1:44:11one. Now we can go back to our form and
  3283. 1:44:13we can try it again but this time with
  3284. 1:44:14let's say an unqualified business. Let's
  3285. 1:44:16go. What is your name? Ray Croc Ray
  3286. 1:44:21McDonald.com. Um
  3287. 1:44:26McTum I need more guys more people
  3288. 1:44:30flipping damn
  3289. 1:44:33burgers. So essentially Ray here has
  3290. 1:44:35come to our recruitment agency and
  3291. 1:44:37they're asking, "Hey, I need people to
  3292. 1:44:39do flip patties for me in my fast food
  3293. 1:44:41restaurant." Um, and because Big Boy
  3294. 1:44:43Recruits in Dallas, which is a
  3295. 1:44:44hypothetical company, of course, um,
  3296. 1:44:47doesn't do that. It's going to qualify
  3297. 1:44:49them or it's going to disqualify them
  3298. 1:44:50and then send an email to our good
  3299. 1:44:52buddy. Oh
  3300. 1:44:54no, some poor dude at McDonald's is
  3301. 1:44:56going to get an email now. Um, because
  3302. 1:44:58send an email. Um, but it's going to be
  3303. 1:45:00running and of course it's going to be
  3304. 1:45:02sending. if they're unqualified, it will
  3305. 1:45:04send an email to them and say, "Hey,
  3306. 1:45:05sorry you're not a good fit for us. Let
  3307. 1:45:07us know if we can help or we can connect
  3308. 1:45:08you to our
  3309. 1:45:11partners." And while that is running, I
  3310. 1:45:13would just put together the final one
  3311. 1:45:14here to test the functionality, which is
  3312. 1:45:16if we go Liam
  3313. 1:45:18admin.com, and we set up my SAS
  3314. 1:45:21https, my SAS agent, if you haven't
  3315. 1:45:24already used it, we're going to show you
  3316. 1:45:25how to use it in the last tutorial of
  3317. 1:45:26this video. So, you guys will get to see
  3318. 1:45:27that. Um, which is my own no code AI
  3319. 1:45:30agent building platform. And what can we
  3320. 1:45:32help you with agents? Um, so this should
  3321. 1:45:34be a SAS one and it's going to qualify
  3322. 1:45:36as SAS. Um, we
  3323. 1:45:41have the McDonald's one has succeeded
  3324. 1:45:45here. And you see, yep, as expected, we
  3325. 1:45:47were not qualified. The McDonald's
  3326. 1:45:49person was not qualified for our offer.
  3327. 1:45:51So, it looked at the qualification
  3328. 1:45:52criteria we provided in here, said,
  3329. 1:45:54"Hey, no, that's not a good fit." So,
  3330. 1:45:55I'm going to use this tool. And you can
  3331. 1:45:57see that it sent the email and it said,
  3332. 1:46:00"Hey, thanks for your interest. Um, but
  3333. 1:46:03we're not a good fit for you." So,
  3334. 1:46:04someone at McDonald's just got an email.
  3335. 1:46:06Apologize for that, but we didn't
  3336. 1:46:07trigger the other workflow, which is a
  3337. 1:46:09key part. And we're not going to send
  3338. 1:46:10emails to our sales team saying, "Hey,
  3339. 1:46:12look, new leads." Now, I have sent
  3340. 1:46:14another one through here which just
  3341. 1:46:15finished
  3342. 1:46:17executing. And we can see this. It's
  3343. 1:46:19gone through. It's researched um
  3344. 1:46:21agentive. you'll see um Agent is a
  3345. 1:46:24leading service delivery platform for AI
  3346. 1:46:25agent AI automation agency owners um etc
  3347. 1:46:29and it's called the tool because we were
  3348. 1:46:30qualified because we're a SAS business
  3349. 1:46:32right and again if we go back to
  3350. 1:46:35here and we look at the most recent one
  3351. 1:46:38which is this oh we have another one
  3352. 1:46:43here then you'll see new SAS lead has
  3353. 1:46:46been triggered because we are a SAS of
  3354. 1:46:48course um the LLM step here has outputed
  3355. 1:46:51just SAS So that means that it should
  3356. 1:46:53send an email to the SAS team, which if
  3357. 1:46:55we go to my
  3358. 1:46:58inbox, tada, new SAS lead, right?
  3359. 1:47:02So I know that may have taken a while,
  3360. 1:47:04but uh we got there eventually. And you
  3361. 1:47:06can see that we've built out all of this
  3362. 1:47:07functionality. We have our AI agent
  3363. 1:47:09calling our tools if they are qualified
  3364. 1:47:10and triggering this other workflow.
  3365. 1:47:12Again, you can build so much cool stuff
  3366. 1:47:13by connecting an agent to multiple
  3367. 1:47:15different workflows. We have a little
  3368. 1:47:17relevance AI researcher tool that we're
  3369. 1:47:18reusing here and we have people getting
  3370. 1:47:20denied um with an instant email sending
  3371. 1:47:22them back. So, hope this been a cool one
  3372. 1:47:24to show you how NATM works. I really,
  3373. 1:47:26really like this agent functionality
  3374. 1:47:27that they have. I think you guys are
  3375. 1:47:28going to be able to build some awesome
  3376. 1:47:30stuff if you keep going down this rabbit
  3377. 1:47:31hole. So, that has been agent build
  3378. 1:47:33number two. Stick with me as we jump
  3379. 1:47:35into agent build number three, which is
  3380. 1:47:37a pretty damn cool one, focusing on both
  3381. 1:47:39chat and voice-based agents all in the
  3382. 1:47:41same build. So, let's get the ball
  3383. 1:47:43rolling.
  3384. 1:47:49All right, so that is two builds out of
  3385. 1:47:50the way. Well done if you made it this
  3386. 1:47:51far. We have another big one here. Um,
  3387. 1:47:53this is going to be breaking down how to
  3388. 1:47:55use voice flow. Let's take this off
  3389. 1:47:57here. Um, to build an agent that is
  3390. 1:47:59going to be both accessible through a
  3391. 1:48:00website chat, so you can chat to it on a
  3392. 1:48:02website as a as a chat widget, which
  3393. 1:48:04you're probably familiar with, but we're
  3394. 1:48:05going to connect the exact same agent
  3395. 1:48:07and exact same functionality that you
  3396. 1:48:08get through that chat widget also to a
  3397. 1:48:10phone number on the website that will be
  3398. 1:48:12able to call and have the same
  3399. 1:48:13experience. So, this is going to show
  3400. 1:48:14you how on voice you can build both chat
  3401. 1:48:16and voice experiences. Um, and this is a
  3402. 1:48:19new feature for them as of the time of
  3403. 1:48:20filming. And this agent is what we can
  3404. 1:48:21classify as an AI customer support and
  3405. 1:48:23lead generation agent for both website
  3406. 1:48:25and phone. And we're going to build it
  3407. 1:48:26on voice flow, of course. And the
  3408. 1:48:28purpose of this agent is that it's
  3409. 1:48:29designed to be able to answer common
  3410. 1:48:30questions from potential customers via a
  3411. 1:48:32website chatbot and also via a phone
  3412. 1:48:33number that can be called. Not only can
  3413. 1:48:35it answer questions to help them sort of
  3414. 1:48:37move them towards a uh a purchase, but
  3415. 1:48:39it can also generate instant quotes for
  3416. 1:48:41interested parties. This is intended to
  3417. 1:48:43increase the number of leads that they
  3418. 1:48:44get because people who see a contact
  3419. 1:48:46form may be like, "Hey, I want to get
  3420. 1:48:47instant response. I want to know
  3421. 1:48:49instantly how much this is cuz I'm
  3422. 1:48:50shopping around." Um, and rather than
  3423. 1:48:51just filling in a contact form and
  3424. 1:48:53waiting. Um, having this instant
  3425. 1:48:54quotation can give people confirmation
  3426. 1:48:56on the price. Um, so they're ready to
  3427. 1:48:58take a step forward and end up getting
  3428. 1:48:59the sale ultimately. So that instant
  3429. 1:49:01quotation feature is a cool one. Um,
  3430. 1:49:02very easy to do with the custom tool on
  3431. 1:49:04relevance that we're going to build. And
  3432. 1:49:05finally, this agent is going to be able
  3433. 1:49:07to actually capture lead information
  3434. 1:49:08from those who have been given a quote.
  3435. 1:49:10So after they've been given a quote,
  3436. 1:49:11then we'll move to say, "Hey, give us
  3437. 1:49:13your details and we will follow up. Our
  3438. 1:49:15team will follow you up and set an
  3439. 1:49:16appointment for the service." And the
  3440. 1:49:17value here of the system is that
  3441. 1:49:18customers are going to often want
  3442. 1:49:20instant answers so that they can make a
  3443. 1:49:21purchase. So by offering easy ways for
  3444. 1:49:23them to get this information, we can
  3445. 1:49:24increase the chance that they're going
  3446. 1:49:25to purchase from the business. Um,
  3447. 1:49:27companies typically have to spend money
  3448. 1:49:28on some kind of customer support or
  3449. 1:49:30sales team in order to get these kind of
  3450. 1:49:32answers given to customers when they
  3451. 1:49:33need them. But this agent can
  3452. 1:49:35essentially be a oneanddone solution um
  3453. 1:49:37to both help increase the sales of the
  3454. 1:49:39business by increasing that likelihood
  3455. 1:49:40of purchasing because they now have more
  3456. 1:49:42information um while also saving the
  3457. 1:49:44business money that they would typically
  3458. 1:49:45spend on some kind of support staff um
  3459. 1:49:47say if this chatbot can handle a dozens
  3460. 1:49:50and dozens of responses a a week that
  3461. 1:49:52would typically have to have gone
  3462. 1:49:53through a support person then we're
  3463. 1:49:54saving the company money and also
  3464. 1:49:56helping them increase their chance of
  3465. 1:49:57generating more revenue. So um here's a
  3466. 1:49:59rough layout of the design here. We are
  3467. 1:50:01going to have a website. I'll give you a
  3468. 1:50:02template for this. It's very easy to set
  3469. 1:50:04up and we're just going to throw in a
  3470. 1:50:05number um that's going to be connected
  3471. 1:50:06to the voice agent that we build and
  3472. 1:50:08we're going to be setting up voice flows
  3473. 1:50:09web chat widget as well. And this agent
  3474. 1:50:11is going to have access to a knowledge
  3475. 1:50:13base to answer questions um that
  3476. 1:50:15prospects may have about the business
  3477. 1:50:16and their services etc. Um it's going to
  3478. 1:50:18have a tool that is allowing them to
  3479. 1:50:20generate an instant quotation. So it's
  3480. 1:50:21going to take in some information. This
  3481. 1:50:23is going to be for a cleaning business
  3482. 1:50:24or a hypothetical cleaning business. And
  3483. 1:50:25then we're going to be able to generate
  3484. 1:50:26an instant quote for them based on the
  3485. 1:50:28property type and the size of the
  3486. 1:50:29property they need cleaned. and we're
  3487. 1:50:31going to be able to capture the lead
  3488. 1:50:32information afterwards and log it into a
  3489. 1:50:34CRM. In this case, we'll just use Google
  3490. 1:50:35Sheets, but it's fairly easy to swap
  3491. 1:50:37that out to whatever CRM you want. So,
  3492. 1:50:38it's going to look a bit like this. I've
  3493. 1:50:40actually added a little bit more. And we
  3494. 1:50:41are using another relevance tool in
  3495. 1:50:42here. This is from a different project
  3496. 1:50:44from my accelerator, but I'm going to be
  3497. 1:50:45pinching that and putting it in here for
  3498. 1:50:46you all. And this is the uh tool number
  3499. 1:50:49two here, the generate instant quote.
  3500. 1:50:51So, we're going to be slotting that in
  3501. 1:50:52there, taking in some information,
  3502. 1:50:53answering questions, etc. The process of
  3503. 1:50:55building on Voice Flow is one of my kind
  3504. 1:50:56of favorite experiences um in the
  3505. 1:50:58automation space. I really like the the
  3506. 1:50:59way they've built out their uh their
  3507. 1:51:00flow builder. Um so I'm sure you guys
  3508. 1:51:02will enjoy building this uh step by step
  3509. 1:51:04with me. And then the general usage
  3510. 1:51:05pattern of the system is that the
  3511. 1:51:06person's going to arrive on the website.
  3512. 1:51:08They'll either click to chat with the
  3513. 1:51:09chatbot and engage with this
  3514. 1:51:11functionality or they'll enter the phone
  3515. 1:51:12number into their phone. And then the
  3516. 1:51:13agent will jump in and respond either
  3517. 1:51:15through text or through uh voice and
  3518. 1:51:17determine what they're needing help
  3519. 1:51:18with, which is this section here. And
  3520. 1:51:19then it's going to be routing using this
  3521. 1:51:21router section here to the correct tool
  3522. 1:51:23whether they want a question answered or
  3523. 1:51:25they want to get a quote. Um, and then
  3524. 1:51:27each of these branches will execute on
  3525. 1:51:28that uh, functionality depending on
  3526. 1:51:30their intent. So, it's going to look a
  3527. 1:51:32bit like this. We'll have a phone number
  3528. 1:51:33and we'll have a chatbot like this. This
  3529. 1:51:34is actually an agenda chatbot from my
  3530. 1:51:36own software, but we'll be swapping this
  3531. 1:51:37out to a voice flow one in this build.
  3532. 1:51:39So, without further ado, let's jump into
  3533. 1:51:40voice
  3534. 1:51:42flow. So, when you click that link on
  3535. 1:51:44the Figma, it's going to take you to the
  3536. 1:51:45signup page. You can sign up there and
  3537. 1:51:47then once you're in, you're going to get
  3538. 1:51:48a page that looks a bit like this. The
  3539. 1:51:49first thing that we want to do, of
  3540. 1:51:50course, is to create a new agent up here
  3541. 1:51:52on the top right. Let's call this
  3542. 1:51:54Bonor's cleaning um, website. and phone
  3543. 1:51:56agent. Um, let's just start with a basic
  3544. 1:51:58template here. Import knowledge for this
  3545. 1:52:00import knowledge. We can actually just
  3546. 1:52:02skip that for now. And then we get into
  3547. 1:52:03the flow builder on voice flow. So just
  3548. 1:52:06a quick orientation if you are new to
  3549. 1:52:07the voice flow platform. This is where
  3550. 1:52:08we can add in our knowledge which we
  3551. 1:52:10will do shortly. The workflows are where
  3552. 1:52:12we access the flow builder. In most
  3553. 1:52:13simple builds like this, you just going
  3554. 1:52:14to have one workflow. So you don't need
  3555. 1:52:16to worry too much about that. Now we
  3556. 1:52:17have integrations like uh the widget
  3557. 1:52:20which we're going to be using to deploy
  3558. 1:52:21this on a website. We have the phone
  3559. 1:52:23number integration which we're going to
  3560. 1:52:24be doing later as well. Then we have API
  3561. 1:52:26keys etc which you don't need to worry
  3562. 1:52:28too much about right now. We have some
  3563. 1:52:29publishing features here which we'll
  3564. 1:52:30double later. We have access to
  3565. 1:52:32transcripts. So once we deploy this you
  3566. 1:52:34can access all of the transcripts either
  3567. 1:52:35by voice or through chat here and and
  3568. 1:52:37sort of dig through the answers and and
  3569. 1:52:38see how the uh people are interacting
  3570. 1:52:40with the agent that you've built. Um
  3571. 1:52:42something that a lot of people neglect
  3572. 1:52:43after they've put one of these into
  3573. 1:52:44production. And then we have things like
  3574. 1:52:46analytics um etc. But obviously we need
  3575. 1:52:48some data before we see anything useful
  3576. 1:52:49there. And then the settings page is not
  3577. 1:52:50too much you need to worry about right
  3578. 1:52:51now. Just sort of on a need to know
  3579. 1:52:52basis. The more important stuff, of
  3580. 1:52:54course, is up in this first tab here,
  3581. 1:52:55which is content. So, we have messages,
  3582. 1:52:57we have prompts, we have components.
  3583. 1:52:59We're going to be working a lot with
  3584. 1:53:01prompts shortly. So, that's the main one
  3585. 1:53:02we need to be worried about. But for
  3586. 1:53:04now, we can just go into workflows, and
  3587. 1:53:05we open up this first workflow and edit
  3588. 1:53:07it. And here we have the template that
  3589. 1:53:09VoiceFlow gives for us. Um, which I'm
  3590. 1:53:11actually just going to nuke this, and
  3591. 1:53:12we'll start fresh. And if you see on the
  3592. 1:53:13Figma, we have a design here that we're
  3593. 1:53:15roughly working towards. I'm going to be
  3594. 1:53:16showing you the sort of step by step.
  3595. 1:53:18So, we need a welcome step.
  3596. 1:53:21So, we're going to start off by going
  3597. 1:53:22here and dropping. I'll try to zoom in a
  3598. 1:53:24bit for you guys here. Talk message. So,
  3599. 1:53:27message is how you send a message um via
  3600. 1:53:29the chat. So, start is when maybe you
  3601. 1:53:31click on the widget, it pops up. And
  3602. 1:53:32this message that we're about to put in
  3603. 1:53:34is the first message the bot is going to
  3604. 1:53:35send. So, we say um up here, hey, hey,
  3605. 1:53:39welcome to
  3606. 1:53:41corners. I'm going to zoom this up for a
  3607. 1:53:43bit for you guys. And right away, we
  3608. 1:53:44have a little tip and trick that I want
  3609. 1:53:45to give to you because we are building
  3610. 1:53:47this as a chat and voice assistant. We
  3611. 1:53:49want to over voice. You don't want to
  3612. 1:53:51overuse punctuation because it leaves
  3613. 1:53:52these big long pauses when the the voice
  3614. 1:53:54agent is going, "Hey, welcome to
  3615. 1:53:56Connor's cleaning." So, we wanted to
  3616. 1:53:58just say, "Hey, welcome to Connor's
  3617. 1:54:00cleaning." A bit more natural. There's
  3618. 1:54:01times where you'll see me on the side of
  3619. 1:54:02sloppier punctuation, but that's just to
  3620. 1:54:04ensure that when we get to testing it on
  3621. 1:54:06voice, it sounds as natural as possible.
  3622. 1:54:08So, hey, welcome to Connor's cleaning.
  3623. 1:54:09And then, of course, we're going to wait
  3624. 1:54:10for them to reply and say something back
  3625. 1:54:12to us. We go to listen and then capture.
  3626. 1:54:14And this is going to capture the
  3627. 1:54:15information. We want to change this from
  3628. 1:54:17capturing entities which is like say I'm
  3629. 1:54:19looking for a price or an address. Um
  3630. 1:54:21we're just going to go the entire user
  3631. 1:54:22reply and the reply is going to be saved
  3632. 1:54:24into this variable here. So we actually
  3633. 1:54:25want to change this to um first user
  3634. 1:54:30reply because we're going to need it a
  3635. 1:54:32little bit later. Um the users first
  3636. 1:54:37reply. And I like to name these as we
  3637. 1:54:39go. So we can call this
  3638. 1:54:41welcome. Drag this out here. Get a new
  3639. 1:54:43one. And we're going to be doing a uh a
  3640. 1:54:45set step here. So, we're going to be
  3641. 1:54:47setting some variables. And I'm going to
  3642. 1:54:48add a new variable to set. And we're
  3643. 1:54:51going to do it based off a prompt here,
  3644. 1:54:52which is a cool feature in voice they've
  3645. 1:54:54added recently. And we're going to be
  3646. 1:54:55able to select a prompt that's going to
  3647. 1:54:56take this information from this first
  3648. 1:54:58reply and then generate some kind of
  3649. 1:54:59output from it and set a variable. And
  3650. 1:55:01the variable we're going to set here is
  3651. 1:55:02called last response. So, this is
  3652. 1:55:04typically what you're going to put as
  3653. 1:55:05the last response from the AI or from
  3654. 1:55:06the agent. Um, last response here. And
  3655. 1:55:08last utterance is typically the most
  3656. 1:55:10recent uh message from the user. So
  3657. 1:55:12utterance is coming from the user the
  3658. 1:55:13most recent last utterance and the last
  3659. 1:55:15response is what the the AI or the agent
  3660. 1:55:18or the system has last responded to. So
  3661. 1:55:19we want to set the last response to
  3662. 1:55:22something that is generated through this
  3663. 1:55:24prompt here. So we can create a new
  3664. 1:55:25prompt here and this is basically going
  3665. 1:55:27to take in the data from the chat and
  3666. 1:55:28the conversation so far and we'll be
  3667. 1:55:30able to generate things off of it. So
  3668. 1:55:31say we add in here the conversation
  3669. 1:55:33history. That's a good thing to have in
  3670. 1:55:35in most cases. And I'm going to be
  3671. 1:55:36dumping in some of the prompts here just
  3672. 1:55:37to save us a bit of time. But basically,
  3673. 1:55:39we're saying summarize the customer's
  3674. 1:55:40question below and ask them to confirm
  3675. 1:55:42that that's what they meant. And so,
  3676. 1:55:43we're not actually going to be
  3677. 1:55:44generating the last utterance here.
  3678. 1:55:45We're going to be adding in the last the
  3679. 1:55:48first user reply that we got. I mean,
  3680. 1:55:50it's going to be included here in the
  3681. 1:55:51conversation history, but there's no
  3682. 1:55:53harm really in hard coding it or at
  3683. 1:55:54least putting the variable in here to
  3684. 1:55:56make sure that it's in there. Um, we're
  3685. 1:55:57just saying summarize the customer's
  3686. 1:55:59question and basically say a
  3687. 1:56:00confirmation statement. So, just to
  3688. 1:56:01confirm this is what you're looking to
  3689. 1:56:02do. So, you imagine this over the phone.
  3690. 1:56:04Hey, um um yeah, I'm not really sure
  3691. 1:56:07what I'm supposed to be doing here, but
  3692. 1:56:08I was thinking if if you guys were
  3693. 1:56:10possibly so all of that information is
  3694. 1:56:12taken in, we can flick back to them and
  3695. 1:56:14say, just to confirm this, this sounds
  3696. 1:56:15like you're looking for this, yes or no.
  3697. 1:56:17Um so, ensure your tone is empathetic.
  3698. 1:56:18Speak directly to the end customer. Keep
  3699. 1:56:19your answer brief and two sentences max.
  3700. 1:56:22So, if we go back here and actually we
  3701. 1:56:25can name that prompt. So it's um
  3702. 1:56:28summarize
  3703. 1:56:30problem and then we need to send the
  3704. 1:56:33response. So this prompt is going to
  3705. 1:56:35take in the information we provided
  3706. 1:56:37here. It's going to use this prompt to
  3707. 1:56:38take in um the conversation history so
  3708. 1:56:41far and this information from the user
  3709. 1:56:43in the first question. It's going to
  3710. 1:56:44generate a a question to ask back and
  3711. 1:56:47it's going to save it to this variable
  3712. 1:56:49that we have here. So apply output to
  3713. 1:56:51variable last response. There is
  3714. 1:56:52actually an easier way to do AI
  3715. 1:56:54responses like this, but in our case, we
  3716. 1:56:55need to be saving this variable. So,
  3717. 1:56:57it'll make sense in a second. But, we
  3718. 1:56:58can go into here and we can go last
  3719. 1:57:01response. And then it's going to send
  3720. 1:57:04that information back to them. So, let's
  3721. 1:57:05just do a quick test here. Click start.
  3722. 1:57:08Hey, welcome to Connor's Cleaning. Oh,
  3723. 1:57:10actually, we need to ask a question.
  3724. 1:57:12Hey, welcome to Connor's Cleaning. Um,
  3725. 1:57:15how can I help?
  3726. 1:57:23We'll
  3727. 1:57:24say I need cleaning services for my
  3728. 1:57:28house. Sounds like you're looking for
  3729. 1:57:30cleaning services for your greenhouse.
  3730. 1:57:31Is that correct? Want to make sure I
  3731. 1:57:33understand your specific needs before we
  3732. 1:57:34proceed. So, I obviously spelled house
  3733. 1:57:36with G house. So, we thought it was a
  3734. 1:57:37greenhouse, but that's what we want.
  3735. 1:57:39Some kind of confirmation message just
  3736. 1:57:40saying like, hey, look, is this what
  3737. 1:57:41you're actually looking to do before we
  3738. 1:57:42then go and trigger the different tools
  3739. 1:57:44that we are equipping our agent with? By
  3740. 1:57:45the way, there is a way of changing
  3741. 1:57:47between trackpad and mouse. So I am
  3742. 1:57:48panning around with my mouse here. You
  3743. 1:57:50can also do a trackpad method which is a
  3744. 1:57:52lot easier to use if you're if you're
  3745. 1:57:53having trouble using it. Okay. So after
  3746. 1:57:54that they're obviously going to say yes
  3747. 1:57:56or no whether like have I got the
  3748. 1:57:57question or have I summarized what
  3749. 1:57:59you're looking for correctly and we can
  3750. 1:58:00go to a choice step here and we can set
  3751. 1:58:03up some triggers. We can set the intent
  3752. 1:58:05to yes and then we can add another
  3753. 1:58:07trigger and we can set it as no. So this
  3754. 1:58:09is basically using AI to analyze what
  3755. 1:58:12they've said and grouping it around
  3756. 1:58:14these certain things which are called
  3757. 1:58:15intents. So, what is the intent of them
  3758. 1:58:16of this uh of the response? And in this
  3759. 1:58:18case, they have some pre-built ones, but
  3760. 1:58:20we are going to be building our own
  3761. 1:58:21custom intents later. But for now, just
  3762. 1:58:23know that if you're looking to sort of
  3763. 1:58:25split traffic or split people coming
  3764. 1:58:26through the system, these choice blocks
  3765. 1:58:28with the default uh intents from voice
  3766. 1:58:30flow, yes and no, are ready to use out
  3767. 1:58:32of the box. And if they don't say yes or
  3768. 1:58:33no clearly or we can't pick it up, we
  3769. 1:58:35can add a no match here. We can say
  3770. 1:58:37sorry, I didn't get that. Can you say
  3771. 1:58:39yes again? A yes or a no is enough. And
  3772. 1:58:43then we can say to follow a path after
  3773. 1:58:45these reprompts which we'll call no
  3774. 1:58:46match. And then we have this uh no match
  3775. 1:58:49path which we'll set up in a second
  3776. 1:58:51here. I'll just put it as a a filler for
  3777. 1:58:53now. Basically if if they don't say yes
  3778. 1:58:55or no um this is setting up error
  3779. 1:58:56handling. Um, and basically if people
  3780. 1:58:59particularly over the phone, um, there's
  3781. 1:59:01so many different ways that the
  3782. 1:59:02conversation can go and end up and
  3783. 1:59:03you'll want to, while I don't focus on
  3784. 1:59:05it too much in this build, um, as you're
  3785. 1:59:07building production grade assistants,
  3786. 1:59:08you'll need to build a lot more of these
  3787. 1:59:10fallbacks and these reprompt and these
  3788. 1:59:12no match things to handle edge cases
  3789. 1:59:14where people use it in a weird way that
  3790. 1:59:15you don't expect. So, I want to give you
  3791. 1:59:17a little taste of that in this tutorial,
  3792. 1:59:18but it is nowhere near representative of
  3793. 1:59:20what it takes to actually get something
  3794. 1:59:21into production that you can trust on a
  3795. 1:59:23on a customer's website. Okay, so we've
  3796. 1:59:25got this choice block set up to
  3797. 1:59:26determine if we have got their
  3798. 1:59:27summarization of the problem correct.
  3799. 1:59:29And we can take this up to here and we
  3800. 1:59:31can set another uh variable. And so this
  3801. 1:59:33is really the core part of the
  3802. 1:59:35application which is determining what
  3803. 1:59:36their intent is, what are they looking
  3804. 1:59:37to do and which tool are we going to
  3805. 1:59:39route them to it. So this is a very
  3806. 1:59:40handy skill to have which I'm going to
  3807. 1:59:41teach you which is how to set up some
  3808. 1:59:43kind of intent classification system. Um
  3809. 1:59:46which is really really essential to
  3810. 1:59:47building agents on on voice flow and any
  3811. 1:59:49kind of agent where the platform itself
  3812. 1:59:50isn't automatically handling that for
  3813. 1:59:52you. So if we go set a new variable and
  3814. 1:59:54we're going to do it through a prompt.
  3815. 1:59:56We're going to set a new variable here
  3816. 1:59:58called
  3817. 2:00:00desired action. So basically people
  3818. 2:00:02coming through and asking questions can
  3819. 2:00:04be saying hey look I I just have a quick
  3820. 2:00:07question about where you guys are based
  3821. 2:00:08and then we're going to route them to
  3822. 2:00:08the knowledge base. And then someone may
  3823. 2:00:10be saying hey how much does it cost for
  3824. 2:00:11this? And then we're going to route them
  3825. 2:00:12to the pricing uh the instant quotation
  3826. 2:00:15um system that we're setting up. So
  3827. 2:00:16needs to be able to determine what
  3828. 2:00:17they're looking for and we're going to
  3829. 2:00:18route them depending on that. And that's
  3830. 2:00:20what this router is going to do. So the
  3831. 2:00:22action that the prospect wants to take,
  3832. 2:00:25the most likely action that the prospect
  3833. 2:00:26wants to take. Then we need to make a
  3834. 2:00:29new prompt here. We're going to call
  3835. 2:00:31this intent
  3836. 2:00:33classifier. Classifies the intent of the
  3837. 2:00:37uh prospect into asking the knowledge
  3838. 2:00:40base or generating an instant
  3839. 2:00:44quote. Add in the conversation history.
  3840. 2:00:46It's always good to have that in there.
  3841. 2:00:47And I'm going to put in the prompt that
  3842. 2:00:48I've written previously. And this is a
  3843. 2:00:49pretty basic one as well, which is just
  3844. 2:00:51saying what does the customer want to
  3845. 2:00:52do, ask a question, get a real-time
  3846. 2:00:53quote, or something else entirely. You
  3847. 2:00:55must output a label for this only. Your
  3848. 2:00:57options are ask a question, get a quote,
  3849. 2:01:00or other. And you guys can just pause it
  3850. 2:01:01and see what I've got in there. But
  3851. 2:01:02basically, anything asking a question is
  3852. 2:01:04going to be about the business and the
  3853. 2:01:05services. And if there's anything about
  3854. 2:01:07pricing or directly related to getting a
  3855. 2:01:09quote and like they're ready to move on
  3856. 2:01:10this, then we're going to route them to
  3857. 2:01:12get a quote. And anything else is going
  3858. 2:01:13to go to other. And because in the next
  3859. 2:01:14step, we are going to be looking out for
  3860. 2:01:16either this is the output or this or
  3861. 2:01:18this. a really clear statement saying
  3862. 2:01:20this is all you need to output just this
  3863. 2:01:21and not hey I took a look at the the
  3864. 2:01:23conversation history and it seems like
  3865. 2:01:25the user wants to do get a quote we just
  3866. 2:01:27want just get a quote and we can
  3867. 2:01:28explicitly state that with this big caps
  3868. 2:01:30lock block here and as with the other
  3869. 2:01:31builds all of these prompts are going to
  3870. 2:01:32be available in the resources for you to
  3871. 2:01:34follow along with okay so now we get to
  3872. 2:01:37the cool bit which is routing this. So
  3873. 2:01:39if we go condition add this in here and
  3874. 2:01:43we go add path condition builder and we
  3875. 2:01:46say if desired action
  3876. 2:01:49is
  3877. 2:01:51ask
  3878. 2:01:52a
  3879. 2:01:57question. Oh that's that's all we need
  3880. 2:01:59there. So as you can see that's added
  3881. 2:02:01one in here. And if we want to add
  3882. 2:02:02another one in, we go if desired action
  3883. 2:02:05is um what do we have the label as
  3884. 2:02:11output? What did we what's the exact
  3885. 2:02:14label that we had in here? So this
  3886. 2:02:16prompt is going to be outputting these
  3887. 2:02:18labels. So we need to make sure they
  3888. 2:02:19match up. So ask a question. Get a
  3889. 2:02:21quote.
  3890. 2:02:25Yep. Get a quote.
  3891. 2:02:29and other one is
  3892. 2:02:33other and it's already got an else path
  3893. 2:02:36in there for any error handling as well.
  3894. 2:02:37So what this now allows us to do is to
  3895. 2:02:39build out our different tools. So we can
  3896. 2:02:41go up to here to ask a question. Just
  3897. 2:02:43throw this in for now so we can get an
  3898. 2:02:45idea of what it's going to look
  3899. 2:02:47like.
  3900. 2:02:50Um other this is going to be sort of
  3901. 2:02:52error
  3902. 2:02:54handling. And if it's else, that means
  3903. 2:02:56that the LLM step here hasn't outputed
  3904. 2:02:59any of the labels that we told it to,
  3905. 2:03:00and it's likely thrown in a bunch of
  3906. 2:03:02rubbish. Um, so this is sort of an error
  3907. 2:03:04handling step. Um, should say, "Sorry,
  3908. 2:03:07something went wrong, at least during
  3909. 2:03:09this prototyping phase. So now what I'd
  3910. 2:03:10like to do is make this look a little
  3911. 2:03:11bit prettier. Um, we can go through and
  3912. 2:03:13add things in here like this is the uh
  3913. 2:03:16confirm problem um intent classifier
  3914. 2:03:20router." And then we can go here add a
  3915. 2:03:23note can say tool number number one
  3916. 2:03:26answer from knowledge
  3917. 2:03:35base two you guys don't have this so be
  3918. 2:03:37easy for you guys to see understand I
  3919. 2:03:38know this might look pretty
  3920. 2:03:42confusing and then this other one we
  3921. 2:03:44don't need to worry about too much so to
  3922. 2:03:45keep things quick I'm not going to test
  3923. 2:03:46this just yet I'm going to test it once
  3924. 2:03:47we've got that functionality set up on
  3925. 2:03:49either side at least for this top one
  3926. 2:03:51first so now We need to go and set up
  3927. 2:03:52our knowledge base. And to do this, we
  3928. 2:03:53can click on the back button here. Go to
  3929. 2:03:55our
  3930. 2:03:57knowledge. And here we have a data
  3931. 2:03:59source which we can upload. I'm going to
  3932. 2:04:00upload a file, but you can put in URLs
  3933. 2:04:02to different websites, etc. I'm going to
  3934. 2:04:04be uploading a file
  3935. 2:04:06here. And I'm going to upload this
  3936. 2:04:08Connor's cleaning FAQ kind of document,
  3937. 2:04:10which you guys are going to have access
  3938. 2:04:11to in the resources. Basically, it's
  3939. 2:04:13just about us, location, our services,
  3940. 2:04:15ra um some frequently asked questions,
  3941. 2:04:18etc. So, I've just AI generated this.
  3942. 2:04:20Um, and if you're doing any kind of
  3943. 2:04:21prototype builds, I recommend you do the
  3944. 2:04:22same just to throw it in there and see
  3945. 2:04:24if the knowledge base is working as
  3946. 2:04:25expected. Obviously, you'd swap this out
  3947. 2:04:27with actual customer data or or your
  3948. 2:04:28client's FAQ. I'm just going to throw
  3949. 2:04:30that in there for now. And you guys can
  3950. 2:04:32do the
  3951. 2:04:34same. And when you're setting up your
  3952. 2:04:36knowledge base, you can also set up the
  3953. 2:04:38settings for it. So, in this case, it's
  3954. 2:04:40using by default Claude 3.5 Haiku. And
  3955. 2:04:42you can see how many tokens this is
  3956. 2:04:43going to cost you for Voice Flow's
  3957. 2:04:44usage. Um, what is Haiku? Haiku seems to
  3958. 2:04:47be the cheapest. Oh, you've got GBT40
  3959. 2:04:49mini. Let me just chuck on GBT40 mini
  3960. 2:04:51here. We want this thing to be pretty
  3961. 2:04:53deterministic. So, I'd say 0.1 is fine.
  3962. 2:04:55Max tokens. Um, we can increase that
  3963. 2:04:57just in case it needs to give a longer
  3964. 2:04:59answer. And chunk limit of of three
  3965. 2:05:02should be enough. So, that's just so
  3966. 2:05:03this stuff is a little bit more
  3967. 2:05:04advanced. That's that vector database as
  3968. 2:05:06I was talking about. Basically,
  3969. 2:05:07knowledge base is going to be sending
  3970. 2:05:08the message that we ask it and querying
  3971. 2:05:11it and getting back chunks of
  3972. 2:05:12information. Because our knowledge base
  3973. 2:05:14is quite small, we don't really need to
  3974. 2:05:15have too many chunks. If you put this
  3975. 2:05:16up, you just be getting the whole
  3976. 2:05:17document back. Anyway, so max tokens,
  3977. 2:05:19the number of tokens that it's going to
  3978. 2:05:21include in the response. So, we want to
  3979. 2:05:22increase that to 480 um so that it can
  3980. 2:05:24give a longer response if they need.
  3981. 2:05:25Maybe just tone that down a bit. And
  3982. 2:05:27these are of course kind of controls
  3983. 2:05:28that you have on how much you want to
  3984. 2:05:30allow the app to spend. And those
  3985. 2:05:31settings obviously the main ways that
  3986. 2:05:32you can control how much um your
  3987. 2:05:34knowledge base is using and how much
  3988. 2:05:35your you or your client are ultimately
  3989. 2:05:37spending on the AI features for the
  3990. 2:05:39knowledge base. So once we've got that
  3991. 2:05:40set up, we can go back to workflows
  3992. 2:05:41here, open this up
  3993. 2:05:43again, and then to plug in our knowledge
  3994. 2:05:45base, we can go to the dev section here.
  3995. 2:05:47We can go to KB search, pop this in
  3996. 2:05:49here. I will
  3997. 2:05:51uh we need to delete that and reconnect
  3998. 2:05:55this up to the top. And we're going to
  3999. 2:05:57delete this as well. And so we can go
  4000. 2:06:00into this knowledgebased step here, and
  4001. 2:06:02we can enter the query. So what we're
  4002. 2:06:03going to say is we basically want to
  4003. 2:06:05throw the information that we've got
  4004. 2:06:06from the user already about what they
  4005. 2:06:08want which is we have here as the first
  4006. 2:06:10message they gave us which might be a
  4007. 2:06:12bit longwinded. Then we have the summary
  4008. 2:06:13that they have confirmed and then we can
  4009. 2:06:15put these into the query that's going to
  4010. 2:06:17be asking the knowledge base hey this is
  4011. 2:06:19what we want information on can you give
  4012. 2:06:20us some information back. So we can go
  4013. 2:06:24user first message put a curable in
  4014. 2:06:27there. We can go first use reply and
  4015. 2:06:29then we can also go summarized problem.
  4016. 2:06:31Now you can see why if we put last
  4017. 2:06:33response here, why we have this variable
  4018. 2:06:35saved instead of just sending it
  4019. 2:06:36automatically. So I actually don't like
  4020. 2:06:38using last response because that's
  4021. 2:06:39something that you like to update quite
  4022. 2:06:40a lot. So I'm actually just going to
  4023. 2:06:41switch this to um changing it to
  4024. 2:06:46summarized problem just so we don't get
  4025. 2:06:49any kind of overlaps that cause problems
  4026. 2:06:50down the line. A summary of the user's
  4027. 2:06:55problem.
  4028. 2:07:02Then we put this in here. Get to spit it
  4029. 2:07:04out. So when you put a variable in a
  4030. 2:07:07message, it's just going to print out
  4031. 2:07:08and and spit out the the value that's
  4032. 2:07:10inside that variable. So we've set the
  4033. 2:07:12summarized problem variable and then
  4034. 2:07:13we're just going to spit it out and send
  4035. 2:07:15it into the chat or over the over the
  4036. 2:07:16phone. So now we can come back out to
  4037. 2:07:17our knowledge base and we can take out
  4038. 2:07:19the SL response and replace it with
  4039. 2:07:21summarized summarized problem. Then we
  4040. 2:07:23can save the chunks that come back from
  4041. 2:07:24the knowledge base. I don't want to get
  4042. 2:07:26too in depth on what chunks are
  4043. 2:07:28specifically. It's a little bit more
  4044. 2:07:29advanced, but for now, we can just know
  4045. 2:07:30that it's going to return some
  4046. 2:07:31information from that knowledge base.
  4047. 2:07:32It's going to chop up that document we
  4048. 2:07:34put in. And when we put in this
  4049. 2:07:36question, it's going to basically ask
  4050. 2:07:38that knowledge base, can we get three
  4051. 2:07:39chunks that most closely match the
  4052. 2:07:41information that is in this query that
  4053. 2:07:42we sent to it. So, we can save these
  4054. 2:07:44chunks, which is going to be three
  4055. 2:07:45because we set that up in the knowledge
  4056. 2:07:46base settings into this chunks variable.
  4057. 2:07:48And the chunk limit is three still. If
  4058. 2:07:50we click this, we can add in a chunks
  4059. 2:07:52not found path. But for this tutorial,
  4060. 2:07:53we don't need to worry about that
  4061. 2:07:54necessarily. And then we're going to use
  4062. 2:07:56those chunks that came back from the
  4063. 2:07:57knowledge base to generate an answer
  4064. 2:07:58based on the original question. So if we
  4065. 2:08:00put this here, we go talk, we go prompt.
  4066. 2:08:02And for this prompt, if we go here, we
  4067. 2:08:04can create a new prompt. We can add in
  4068. 2:08:06the conversation history just for good
  4069. 2:08:08measure here to give it the full context
  4070. 2:08:09of what's going on. And then I have a
  4071. 2:08:10prompt here. You are an AI customer
  4072. 2:08:12support rep from Connor's Cleaning
  4073. 2:08:13helping customer with the question. Use
  4074. 2:08:15the provider details below to answer the
  4075. 2:08:17customer's question. Ensure you keep
  4076. 2:08:18your answer brief and speak directly to
  4077. 2:08:20your end customer. You are speaking to
  4078. 2:08:21them over the phone. It's the input data
  4079. 2:08:24provider details which is the chunks
  4080. 2:08:25variable. I'll just put that in
  4081. 2:08:27again. Chunks to make sure it's set up
  4082. 2:08:30properly to the user's original uh
  4083. 2:08:34question. We can put all this
  4084. 2:08:36information back in. So, first reply,
  4085. 2:08:38this is what they asked us as soon as
  4086. 2:08:39they picked up the phone or the first
  4087. 2:08:40message they sent when we asked them
  4088. 2:08:42what can we help you with. And then we
  4089. 2:08:44also just put in for good measure our
  4090. 2:08:46summary of the problem that they
  4091. 2:08:48confirmed. And we can go to our
  4092. 2:08:51summarize problem
  4093. 2:08:53variable and throw that in. That should
  4094. 2:08:55be good to
  4095. 2:08:56go. And I like to make these look purple
  4096. 2:08:59or some kind of cool color. Um, call
  4097. 2:09:02this a KB
  4098. 2:09:04query. And we can change this to
  4099. 2:09:07generate answer from chunks. Let's say
  4100. 2:09:11from Kh. And if you want to make this a
  4101. 2:09:13bit easier for you to kind of understand
  4102. 2:09:15at a glance, you can add in your
  4103. 2:09:17descriptions on these. So if we go to
  4104. 2:09:18edit again and we go here, this takes in
  4105. 2:09:22chunks from the from the KB and their
  4106. 2:09:25original question and writes a short and
  4107. 2:09:28sweet answer. And we have this in here
  4108. 2:09:30that you are speaking to them over the
  4109. 2:09:31phone because we want to make sure that
  4110. 2:09:32we're building this with the phone in
  4111. 2:09:33mind, which is more tricky than just
  4112. 2:09:35chat. So long text outputs don't really
  4113. 2:09:37work that well over the phone. So that's
  4114. 2:09:38kind of why we're putting that in there
  4115. 2:09:39as well. And we can call this um
  4116. 2:09:42generate
  4117. 2:09:44answer. All right. So now we can
  4118. 2:09:46actually give this a spin. We can start
  4119. 2:09:48it right from the beginning
  4120. 2:09:52again. Oh, we may need to if we just
  4121. 2:09:54click run. Okay, there's no training
  4122. 2:09:56needed yet. We can run
  4123. 2:09:59test. Where are you
  4124. 2:10:01located? Sounds like you're asking about
  4125. 2:10:03a business location. Could you confirm
  4126. 2:10:04if you'd like to know the specific
  4127. 2:10:06address or where Connor's Cleaning
  4128. 2:10:08operates? Okay, it's good this popped up
  4129. 2:10:09because as you can see, it's asking for
  4130. 2:10:10a non- yes or no answer. We're just
  4131. 2:10:12looking for a confirmation in yes or no.
  4132. 2:10:15And so this would technically break the
  4133. 2:10:16system and that'd be saying, "Oh, I'd
  4134. 2:10:18like a specific address." And this is
  4135. 2:10:19looking for yes or no. And so it would
  4136. 2:10:20send it to this no match. So what we can
  4137. 2:10:23do to fix this is to go into the
  4138. 2:10:24summarize problem prompt, modify the
  4139. 2:10:26prompt, and then say they should be able
  4140. 2:10:29to answer only with yes or no. This is a
  4141. 2:10:32confirmation step, not asking for more
  4142. 2:10:35information.
  4143. 2:10:38So now if we run that
  4144. 2:10:48again, whereabouts are you
  4145. 2:10:53located? Sounds like you want to know
  4146. 2:10:54the specific location of our cleaning
  4147. 2:10:56business. Is that correct?
  4148. 2:10:58Yep. Now it goes to the router here.
  4149. 2:11:02It's going to determine that I said yes.
  4150. 2:11:04Bam, bam, bam. And there we go. So that
  4151. 2:11:06that all happened pretty quickly, but
  4152. 2:11:08you can see it's sort of broken down
  4153. 2:11:09through here. Um, if I click over here,
  4154. 2:11:11it's going to remove all of this. Okay,
  4155. 2:11:13so let's break down how this happened
  4156. 2:11:14step by step. Um, so you can see this
  4157. 2:11:16through here. It's still using 3.5 haiku
  4158. 2:11:18for some reason. I'll need to double
  4159. 2:11:20check why that's still using the model
  4160. 2:11:22we didn't select. But basically, it
  4161. 2:11:24comes through this step here is the
  4162. 2:11:25intent classifier. So you can see that
  4163. 2:11:26it set it as yes. That is the correct
  4164. 2:11:29intent and predicted intent yes. And
  4165. 2:11:31that routed it to
  4166. 2:11:33this. And then using the model again, it
  4167. 2:11:37analyzed the information that it was
  4168. 2:11:38given. And then it set the desired
  4169. 2:11:40action variable to ask a question which
  4170. 2:11:42is one of the labels that we wanted and
  4171. 2:11:43that is correct. And then it said
  4172. 2:11:45condition matched taken path one. So it
  4173. 2:11:47set the desired action variable to ask a
  4174. 2:11:49question. We were checking for it here.
  4175. 2:11:51Then it said okay great. Now I'm sending
  4176. 2:11:52it up here to the knowledgebased query.
  4177. 2:11:55It says it's query received. We passed
  4178. 2:11:56in all the information whereabouts you
  4179. 2:11:58located and then the summary that we
  4180. 2:12:00gave it. And then we got two chunks back
  4181. 2:12:02from the KB and the AI response here
  4182. 2:12:04finally took in all of this information
  4183. 2:12:06and it gave us the final output and
  4184. 2:12:08generated this response. We are located
  4185. 2:12:10at 247 ra and at the end here it's
  4186. 2:12:12saying is there a specific area you're
  4187. 2:12:14interested in. For a basic build like
  4188. 2:12:16this I'd probably change the prompt to
  4189. 2:12:17say don't ask another question because
  4190. 2:12:19in this case you then need to set up a
  4191. 2:12:20looping mechanism where it can keep
  4192. 2:12:22answering questions for them and then
  4193. 2:12:24break out into any of these other
  4194. 2:12:25intents um as needed. But for now that
  4195. 2:12:28is a knowledge base and that's how you
  4196. 2:12:29can ask questions. And so that is tool
  4197. 2:12:30number one knocked out which was easy
  4198. 2:12:32enough. So great we can go on to tool
  4199. 2:12:34number two now. So for this second quote
  4200. 2:12:35I'll be able to give you a relevance
  4201. 2:12:36tool that we're using for it. But let's
  4202. 2:12:38just jump into answering this question.
  4203. 2:12:39So they've said here that they wanted
  4204. 2:12:41something related to pricing or quoting.
  4205. 2:12:43Remember in here in the router we have
  4206. 2:12:45set the intent classifier to say it's
  4207. 2:12:47going to go to the get a quote if
  4208. 2:12:48they're asking about pricing or have
  4209. 2:12:50directly requests a quote. And this will
  4210. 2:12:52take them to a real-time quotation tool
  4211. 2:12:53that takes the property type and size
  4212. 2:12:55and then returns an estimate. So that's
  4213. 2:12:56the people that are going to be getting
  4214. 2:12:58to this next branch of the agent. So
  4215. 2:13:00desired action is get a quote. We can
  4216. 2:13:04say, "Okay, sure." To give you an
  4217. 2:13:06instant quote, I
  4218. 2:13:11just Okay, sure. To give you an instant
  4219. 2:13:14quote, I just need the properties type
  4220. 2:13:15and size and square feet. Then I'm going
  4221. 2:13:18to add another chat step or message,
  4222. 2:13:20sorry. And we can ask a
  4223. 2:13:24question. Is the property a house or an
  4224. 2:13:29apartment? The next we can do one of
  4225. 2:13:32these choice steps again and this time
  4226. 2:13:34we get to create some custom intents. So
  4227. 2:13:36we can go to triggers here and we want
  4228. 2:13:38to select an intent. See it doesn't have
  4229. 2:13:39a house. So we can go create an intent
  4230. 2:13:41and we say house. The
  4231. 2:13:46users property type is a house. And then
  4232. 2:13:50we can add in some examples here. So
  4233. 2:13:52obviously house this is just giving
  4234. 2:13:54examples to voice flows AI engine to
  4235. 2:13:56help us better to classify the different
  4236. 2:13:58intents as they come into this step. So
  4237. 2:14:00we can say home and then you can add in
  4238. 2:14:02some AI generated ones here which
  4239. 2:14:04usually pretty easy and uh which usually
  4240. 2:14:06pretty good. Okay, residence, dwelling,
  4241. 2:14:07property, abode, living place. Uh this
  4242. 2:14:10this gets tricky um because some of
  4243. 2:14:12these could overlap with apartment. So
  4244. 2:14:14property is probably abodess too broad
  4245. 2:14:17living place.
  4246. 2:14:18uh dwelling uh
  4247. 2:14:21residence potentially we could get away
  4248. 2:14:23with. We could say like
  4249. 2:14:26manor mansion family
  4250. 2:14:31home single family
  4251. 2:14:35home and by now we've given enough
  4252. 2:14:37examples where we can just go to create
  4253. 2:14:39and now we need to do the same for
  4254. 2:14:41apartment. So, we'll go to create an
  4255. 2:14:43intent apartment. The user's property
  4256. 2:14:47type. The user's property type is an
  4257. 2:14:49apartment. And then we can put an
  4258. 2:14:55apartment. Um, see what else it's got
  4259. 2:14:58for us. Um, townhouse,
  4260. 2:15:02penthouse, duplex, flat, probably not
  4261. 2:15:06right. Loft probably not right.
  4262. 2:15:08Townhouse penthouse. Think that's a good
  4263. 2:15:10bunch.
  4264. 2:15:12And then we can add in a no match here
  4265. 2:15:13as well.
  4266. 2:15:16Um, and we can add in a reprompt. Sorry,
  4267. 2:15:19I didn't get that. Is it a house or
  4268. 2:15:26an If it is a house, we can come up here
  4269. 2:15:28and set it as logic here and go
  4270. 2:15:34set. We can
  4271. 2:15:37go value or expression. Select the
  4272. 2:15:40variable to set. We're going to go
  4273. 2:15:42property
  4274. 2:15:45type the
  4275. 2:15:48the save that variable or create that
  4276. 2:15:51variable, sorry. And then we can enter
  4277. 2:15:53this
  4278. 2:15:54in and set this as
  4279. 2:15:58house. So we're setting the property
  4280. 2:16:00type variable to house when it's been
  4281. 2:16:02triggered um by this particular
  4282. 2:16:05route. And then we need to add another
  4283. 2:16:07one. So, I'll probably just duplicate
  4284. 2:16:11this. That's by right clicking on one of
  4285. 2:16:13these blocks. Um, and then we can
  4286. 2:16:15connect up apartment to
  4287. 2:16:17it. Property type. Instead of being
  4288. 2:16:19house, we can make it
  4289. 2:16:23apartment. And from here, now that we
  4290. 2:16:25know the property type, we can set the
  4291. 2:16:27size of the apartment or the house. So,
  4292. 2:16:29we go and how many
  4293. 2:16:32square and how many square feet is it?
  4294. 2:16:37We can connect both of these up here.
  4295. 2:16:39And then we're going to save the entire
  4296. 2:16:40user reply or on a capture step. So
  4297. 2:16:43anything that they respond to after
  4298. 2:16:44this, we want to capture the entire
  4299. 2:16:48thing. And we want to go here, set up a
  4300. 2:16:52set
  4301. 2:16:54step. Sorry, that's not right.
  4302. 2:17:05using a prompt. And what we're going to
  4303. 2:17:07do is use AI to analyze the response and
  4304. 2:17:10then extract the number of square feet
  4305. 2:17:12from it. We could have used a step here
  4306. 2:17:14where we change this to instead of the
  4307. 2:17:15entire user reply, we change it to an
  4308. 2:17:17entity. Um, but it's not as reliable as
  4309. 2:17:20doing it this way. So, I'd prefer to
  4310. 2:17:21just get it right the first time. Um,
  4311. 2:17:23cuz a entity of the number of uh number
  4312. 2:17:26of feet may be a bit harder to pick up
  4313. 2:17:28than a clear word like an entity of
  4314. 2:17:30house or apartment or a name, etc. So
  4315. 2:17:33just to make sure that it works every
  4316. 2:17:35time for us, we want to create a new
  4317. 2:17:37prompt. And I'm going to put this in
  4318. 2:17:39here. Extract the number of square feet
  4319. 2:17:40from what the user said in numerical
  4320. 2:17:42format only. Each 500 include nothing
  4321. 2:17:44else in your response. This will be
  4322. 2:17:45saved as a variable and passed to an API
  4323. 2:17:47to a quote generator function. So giving
  4324. 2:17:49it a bit of context about what's been
  4325. 2:17:50going on. And also put in the memory
  4326. 2:17:52there just for good
  4327. 2:17:54measure. Oh, we didn't name the prompt.
  4328. 2:17:57Call this extract square.
  4329. 2:18:04And then we need to set the variable
  4330. 2:18:05that we want to save this to, which is
  4331. 2:18:06going to be proper
  4332. 2:18:08property size. So now we're saving that
  4333. 2:18:12response, the size of the
  4334. 2:18:16user's, the size of the user's property
  4335. 2:18:18in square
  4336. 2:18:19feet. And then we need to do one kind of
  4337. 2:18:22tricky step, but it's just something
  4338. 2:18:23that you guys will pick up as you go and
  4339. 2:18:25uh as you build more of these. But the
  4340. 2:18:27next step after this is going to be
  4341. 2:18:28sending that information to a relevance
  4342. 2:18:30tool. And the relevance tool is
  4343. 2:18:31expecting not what's called a string,
  4344. 2:18:33which is just a number of letters or
  4345. 2:18:36just text. Um, you can have a number as
  4346. 2:18:38a text, which is confusing, but
  4347. 2:18:39basically it's just the format uh in
  4348. 2:18:41which it's being received in. So,
  4349. 2:18:42because we're sending it over an API, we
  4350. 2:18:44need to be specific about the format. So
  4351. 2:18:46I can't take this is essentially going
  4352. 2:18:48to be saving that 500 or say if we say
  4353. 2:18:50it's a 500 foot property. This is going
  4354. 2:18:52to be plucking that out and giving us
  4355. 2:18:55500 as a string. In order to get the
  4356. 2:18:57response we want from relevance we need
  4357. 2:18:58to convert it to a number and then send
  4358. 2:19:00it. So a little block of uh custom code
  4359. 2:19:03here. Um know this was a no code
  4360. 2:19:06tutorial but I hope you can forgive me
  4361. 2:19:07for
  4362. 2:19:10this. And all we need to do is put this
  4363. 2:19:12in here. So property size this is the
  4364. 2:19:13variable. We're going to go property
  4365. 2:19:15size and we're just casting this
  4366. 2:19:19variable as a number and then
  4367. 2:19:21reassigning it to the variable that it
  4368. 2:19:23was before. So we're taking whatever
  4369. 2:19:24came out of this, we're saying, okay,
  4370. 2:19:25can you just make it a number um and
  4371. 2:19:27we'll save it and sort of overwrite the
  4372. 2:19:29existing
  4373. 2:19:30variable. So now we have the number 500
  4374. 2:19:32in that case that we're ready to send to
  4375. 2:19:34the next step. And then if that's gone
  4376. 2:19:35correctly, we can talk to them and
  4377. 2:19:40say one sec while I get
  4378. 2:19:47And then we have this JavaScript fail
  4379. 2:19:49route here which you can just sort of
  4380. 2:19:50throw down there for now. Um there is a
  4381. 2:19:53chance that this prompt outputs not just
  4382. 2:19:56a number. As you can see we're asking it
  4383. 2:19:57for just this and therefore the property
  4384. 2:20:00size variable if it just is 500. Um but
  4385. 2:20:04sometimes it can say hey your size is
  4386. 2:20:09500. and then we end up with a variable
  4387. 2:20:10that's not actually convertible into a
  4388. 2:20:12number. Um, so we do need to add a
  4389. 2:20:15little bit there as a as a potential
  4390. 2:20:17fallback. Um, probably won't be doing it
  4391. 2:20:19in this video if I'm honest. It's fairly
  4392. 2:20:21basic. Um, but you would add this in
  4393. 2:20:22here some sort of looping back in to
  4394. 2:20:24make sure that it is actually in the
  4395. 2:20:25right format or just make sure that your
  4396. 2:20:26prompt is actually only you put like a
  4397. 2:20:28strict instruction only output just the
  4398. 2:20:30number um so that you get less errors
  4399. 2:20:32there. So the next major step after this
  4400. 2:20:34is to get our relevant AI research. If
  4401. 2:20:36we go back to the Figma here, you'll see
  4402. 2:20:37that we have this relevant AI tool which
  4403. 2:20:40is going to allow us to uh generate the
  4404. 2:20:42instant quote. So, I've pre-made this
  4405. 2:20:44and I've actually sniped it from some of
  4406. 2:20:45my accelerator resources. So, if you
  4407. 2:20:47open this link, it's going to allow you
  4408. 2:20:50to clone this into your relevance
  4409. 2:20:51account. So, up here you can click clone
  4410. 2:20:54and we'll just clone it into Morningside
  4411. 2:20:58AI. And now this thing is going to be
  4412. 2:21:01taking in a property type and a size and
  4413. 2:21:02square feet. And then we have a basic
  4414. 2:21:04LLM step here. This is a really really
  4415. 2:21:06simple one. Again, like I said earlier
  4416. 2:21:07in this video. The building really
  4417. 2:21:10powerful and advanced functionality does
  4418. 2:21:12take a lot longer. And if I was to do
  4419. 2:21:14things that weren't just a very basic
  4420. 2:21:15LLM step like this, then it would take a
  4421. 2:21:17lot longer with different platforms you
  4422. 2:21:18have to sign up for. The idea is to
  4423. 2:21:20teach you how these things can connect.
  4424. 2:21:22And then you can come into relevance
  4425. 2:21:23here. Once you know how to connect voice
  4426. 2:21:24flow to relevance through an API call,
  4427. 2:21:26you can come in here and throw whatever
  4428. 2:21:27the hell you want in and make it as
  4429. 2:21:28advanced as you want. But in this case,
  4430. 2:21:30we literally could have done this in
  4431. 2:21:32voice flow if I'm being fully honest.
  4432. 2:21:34But the idea of being able to access an
  4433. 2:21:35external tool via an API is really the
  4434. 2:21:38skill that I'm trying to teach you here.
  4435. 2:21:39So, what this is doing is taking in the
  4436. 2:21:41property type. We've got two options
  4437. 2:21:42here and the square footage in a number.
  4438. 2:21:46See here, it's it's a number. I can't
  4439. 2:21:47just type in here. It has to be a
  4440. 2:21:49number. So, that's what the API is going
  4441. 2:21:50to be expecting. You can see here that
  4442. 2:21:51it says it's expecting a number. And
  4443. 2:21:54then we pass this into a basic prompt
  4444. 2:21:55here that's saying the customer is
  4445. 2:21:56requesting this um and these are the
  4446. 2:21:58rough prices for the different square
  4447. 2:22:00footage and different types. and the LLM
  4448. 2:22:02in this case GPT4 mini just going to
  4449. 2:22:04look over that take in their inputs and
  4450. 2:22:05then give an output. So if I just go up
  4451. 2:22:07here and I set it's an apartment and I
  4452. 2:22:10mean I don't know what five how big is
  4453. 2:22:12an apartment in square feet I don't know
  4454. 2:22:15um but we can run
  4455. 2:22:19that it's going to give us some kind of
  4456. 2:22:22output and then it gives us the
  4457. 2:22:24estimate. So it's saying regular
  4458. 2:22:25maintenance cleaning for 60 deep
  4459. 2:22:26cleaning for 120 move and move out etc.
  4460. 2:22:29So that's the output that we're going to
  4461. 2:22:30be sending back to voice flow and we're
  4462. 2:22:32going to be turning that into a nice
  4463. 2:22:33message to send through chat or through
  4464. 2:22:35the phone. So in order to set this tool
  4465. 2:22:36up in voice flow and be able to interact
  4466. 2:22:38with it, we need to we can hide this
  4467. 2:22:40make sure the tool's been saved and you
  4468. 2:22:41have it in your account and then you can
  4469. 2:22:43go to use here and just like we learned
  4470. 2:22:45in theuh NA10 tutorial we can go to API
  4471. 2:22:48here and then we get an API for us to
  4472. 2:22:50use and again is a post request and it
  4473. 2:22:53tells us how to use it. So we have
  4474. 2:22:54params basically the inputs it's
  4475. 2:22:56expecting of the property type and a
  4476. 2:22:58string. You see how it's got two uh
  4477. 2:22:59quotations? That means anything inside
  4478. 2:23:01it is a string. And the square footage
  4479. 2:23:02here, you can see it isn't in quotation.
  4480. 2:23:04So, it's not a string. It's in this
  4481. 2:23:05case, it's a number. And of course, we
  4482. 2:23:07have the project ID here, letting
  4483. 2:23:08relevance know which tool that we've
  4484. 2:23:10created that we're actually trying to
  4485. 2:23:11interact with. And so, all we need to do
  4486. 2:23:12now to interact with this and set up our
  4487. 2:23:14quote generator is to copy this link.
  4488. 2:23:16So, this is the endpoint URL that we're
  4489. 2:23:17going to be calling over the internet.
  4490. 2:23:19And this is what it's expecting in the
  4491. 2:23:20in the body of that post request. If you
  4492. 2:23:22go back to voice flow here and we need
  4493. 2:23:25to go to dev
  4494. 2:23:27API, we're going to change this to post.
  4495. 2:23:30Put in that
  4496. 2:23:31URL. And in this case, seems that we've
  4497. 2:23:33got a little bit of a different page on
  4498. 2:23:34relevant for some reason. So we can
  4499. 2:23:36actually do the authentication step,
  4500. 2:23:37which is helpful. So you can click
  4501. 2:23:38generate API key here. May have changed
  4502. 2:23:40by the time you're watching this video,
  4503. 2:23:41but should roughly be the same. And we
  4504. 2:23:44can click deploy here. Make sure that
  4505. 2:23:46the API is up and running for us to
  4506. 2:23:47interact
  4507. 2:23:48with. Actually, now that we've deployed
  4508. 2:23:50it, we don't need the authentication
  4509. 2:23:52anymore. That was a bit strange. Uh,
  4510. 2:23:55actually, I will do the API key just so
  4511. 2:23:57you guys see how this works. We can make
  4512. 2:23:58it private here. So, now that we have
  4513. 2:24:00our API key, we need to see how it's
  4514. 2:24:02expecting to receive that API key via
  4515. 2:24:04the HTTP request, which we're going to
  4516. 2:24:05be sending from voice flow. Um, so if we
  4517. 2:24:07scroll down here, curl is usually the
  4518. 2:24:09one I like to go to. And there is a
  4519. 2:24:10little bit I haven't really explained in
  4520. 2:24:12terms of headers and bodies when it
  4521. 2:24:13comes to API calls. But for now, just
  4522. 2:24:15know that when you have a curl request
  4523. 2:24:17like this, maybe it's even easier on the
  4524. 2:24:18uh JavaScript. Here we have what's
  4525. 2:24:20called headers. And this is basically
  4526. 2:24:22like the the the envelope that you put
  4527. 2:24:25the information in. So this up here is
  4528. 2:24:27the information that we're putting in
  4529. 2:24:28the request. It's going inside the
  4530. 2:24:29envelope. And the headers and the method
  4531. 2:24:32and the endpoint URL are like the stamp
  4532. 2:24:34and the information that you put on the
  4533. 2:24:35outside of the envelope to make sure it
  4534. 2:24:36gets where it wants to go. So you can
  4535. 2:24:38say that this endpoint here, that's what
  4536. 2:24:40we call the endpoint. Same as up here.
  4537. 2:24:41That's the the same as we have just
  4538. 2:24:43here. Endpoint is like the address where
  4539. 2:24:45the envelope is being sent to. We have
  4540. 2:24:47the post, the method. Maybe this is like
  4541. 2:24:50super fast mail or like overnight
  4542. 2:24:52delivery or maybe like a parcel versus
  4543. 2:24:54an envelope. Basically, the type of
  4544. 2:24:56delivery that you're doing or type of
  4545. 2:24:57request. And the headers include
  4546. 2:24:58important stuff like the type of content
  4547. 2:25:00that's inside it. So you might say this
  4548. 2:25:02like this is there's written text or
  4549. 2:25:03there's a letter in here. So it might
  4550. 2:25:05seem a little bit complicated, but we'll
  4551. 2:25:06fill this all in. Now, anytime you are
  4552. 2:25:08making an API call, you'll see these
  4553. 2:25:09headers around and you'll see the
  4554. 2:25:11endpoint and the method and then the
  4555. 2:25:12body which we're going to be setting up.
  4556. 2:25:14So, this will all make sense in 2
  4557. 2:25:15seconds, but let's just say for now we
  4558. 2:25:17have content type and it's going to be
  4559. 2:25:18application JSON. That's one of our
  4560. 2:25:20headers. So, if we go back to Connor's
  4561. 2:25:22cleaning, we open up the headers. We can
  4562. 2:25:25go content type here as we saw here,
  4563. 2:25:28right? So content type, we need to set
  4564. 2:25:29it to
  4565. 2:25:30application/json. Very common one that
  4566. 2:25:32you're going to be
  4567. 2:25:33using. And we have another one which is
  4568. 2:25:36authorization. So this is basically the
  4569. 2:25:38majority of the endpoints you're going
  4570. 2:25:39to be seeing which is authorization and
  4571. 2:25:41content type. And a lot of the time it's
  4572. 2:25:42going to be an API key and application
  4573. 2:25:45JSON. So then we can go back to
  4574. 2:25:47relevance. We can get our API
  4575. 2:25:50key. And now to set up the body of the
  4576. 2:25:54request which is this. We can copy this
  4577. 2:25:58and change this to raw. And we'll paste
  4578. 2:26:01this in. we have the params or the
  4579. 2:26:03inputs in this case, the property type
  4580. 2:26:05and square footage for the tool. And
  4581. 2:26:06what we want to do is insert the
  4582. 2:26:08variables that we've got over here into
  4583. 2:26:11these. So we can go inside these
  4584. 2:26:12quotations here and we can go property
  4585. 2:26:16uh type in this case and then for square
  4586. 2:26:20footage we can go
  4587. 2:26:22property
  4588. 2:26:25size. And so because the property type
  4589. 2:26:27is expecting a string as we can see if
  4590. 2:26:29we go back here um to build
  4591. 2:26:32It's expecting a string and this is
  4592. 2:26:34expecting a number. The string must be
  4593. 2:26:37wrapped around in uh these quotations
  4594. 2:26:40and the square footage is a number and
  4595. 2:26:42so we can just put the number because
  4596. 2:26:44we've already converted it into a number
  4597. 2:26:45here. Right? So that's probably the
  4598. 2:26:47trickiest part of all the stuff I'm
  4599. 2:26:48going to teach you today. And now that
  4600. 2:26:49we have this set up, we can actually
  4601. 2:26:50send a test request and we can say uh
  4602. 2:26:53house. We can say 500 and test this API
  4603. 2:26:58call. And there we go. It's complete. We
  4604. 2:27:00have got back our answer the estimate
  4605. 2:27:02etc. and all of the information is
  4606. 2:27:04coming back from relevant AI as expected
  4607. 2:27:06and now what we need to do is extract
  4608. 2:27:07the information which we want which is
  4609. 2:27:09this answer from this API call and from
  4610. 2:27:11the response. So we sent a request and
  4611. 2:27:13we got a response. Remember how we were
  4612. 2:27:15using those terms before. We can click
  4613. 2:27:16on answer and we can save it to and we
  4614. 2:27:20can call it uh
  4615. 2:27:22raw quote
  4616. 2:27:24data because it is quite raw
  4617. 2:27:28um raw quote data
  4618. 2:27:33from. And now we have the information
  4619. 2:27:35back from relevance AI. All we need to
  4620. 2:27:37do is make it pretty and use AI to
  4621. 2:27:39generate a message that summarizes the
  4622. 2:27:41quote to the customer. So we can go a uh
  4623. 2:27:45prompt step here. We can create a new
  4624. 2:27:48prompt. Let's add in the conversation
  4625. 2:27:50history for context. And I've got this
  4626. 2:27:53prompt
  4627. 2:27:55here. Write a short and clear
  4628. 2:27:57explanation of this quote for the
  4629. 2:27:58customers. uh we can go
  4630. 2:28:01property property
  4631. 2:28:03type for the customer's property type
  4632. 2:28:06and we can put in the raw quote data
  4633. 2:28:08here. So that's going to insert this
  4634. 2:28:10with the customer's apartment or the
  4635. 2:28:12customer's house and then we're just
  4636. 2:28:13going to dump in the raw data that came
  4637. 2:28:15back from relevance AI. Your response
  4638. 2:28:16will be read over the phone. So it must
  4639. 2:28:18be all in one paragraph and no longer
  4640. 2:28:19than three to four short sentences. It
  4641. 2:28:21should read like and I've given an
  4642. 2:28:22example here of how I wanted to give the
  4643. 2:28:24outputs.
  4644. 2:28:28And so we can change this to
  4645. 2:28:31quote quote response. And now we are
  4646. 2:28:35ready to give this a spin. So if we run
  4647. 2:28:38this whole thing from the top
  4648. 2:28:40um
  4649. 2:28:46run, how much for a weekly clean? So I'm
  4650. 2:28:50going straight to the asking a question
  4651. 2:28:51about price. You're asking about a
  4652. 2:28:53pricing for our weekly cleaning service.
  4653. 2:28:55Is that correct? Yes.
  4654. 2:28:57Bam. Bam. Okay, sure. To give you an
  4655. 2:29:00instant quote, I just need the property
  4656. 2:29:01type and size and square feet. Is the
  4657. 2:29:03property a house or an apartment? It's a
  4658. 2:29:10house. How many square feet is it? 500.
  4659. 2:29:13I don't know. Is that a big That sounds
  4660. 2:29:14very small to
  4661. 2:29:16me. I don't know if 500 I have I have no
  4662. 2:29:19I have no clue about the sizes of houses
  4663. 2:29:20if 500 is normal or
  4664. 2:29:23not. And there we go. Based on your 500
  4665. 2:29:26foot house, we have four cleaning
  4666. 2:29:27packages. Regular maintenance cleaning
  4667. 2:29:29at $90 for standard weekly cleaning,
  4668. 2:29:31deep cleaning, ra. So, we're giving them
  4669. 2:29:33a quick summary based on their 500 ft
  4670. 2:29:35house or x number of square ft x
  4671. 2:29:38property type and giving them a quick
  4672. 2:29:40summary. So, that's pretty cool. We're
  4673. 2:29:42using relevance tool and we're getting
  4674. 2:29:43this information back. Now, there is one
  4675. 2:29:44more step that I have added onto this
  4676. 2:29:46this I get this thing where if I've gone
  4677. 2:29:48this far with you guys, I may as well
  4678. 2:29:49add in like the rest of it to make it
  4679. 2:29:51actually a bit more useful. um which is
  4680. 2:29:53a quick lead capture using Google Sheets
  4681. 2:29:55and Make.com. So, I couldn't leave you
  4682. 2:29:57guys hanging on this. I thought I may as
  4683. 2:29:59well throw it in there. So, stick with
  4684. 2:30:00me because this is really where you're
  4685. 2:30:01going to be like, "Oh, this is this is
  4686. 2:30:03uh opening my eyes to to what you can do
  4687. 2:30:04with these kind of platforms." So, the
  4688. 2:30:06reason we're adding this on is because
  4689. 2:30:07the person has asked about pricing or
  4690. 2:30:09they're directly interested in some kind
  4691. 2:30:10of services and we've given them an
  4692. 2:30:12instant quote and now we're trying to
  4693. 2:30:13immediately follow that up with, hey,
  4694. 2:30:14look, give us your details and we'll be
  4695. 2:30:16in touch and we'll get that service
  4696. 2:30:17booked in right away. So, we can jump
  4697. 2:30:20into a uh message block here. This is
  4698. 2:30:22I'll just paste this in to keep things
  4699. 2:30:24nice and quick here. Please provide your
  4700. 2:30:25name and phone number and I'll get one
  4701. 2:30:27of the team to call you to find a time
  4702. 2:30:28that works. Now, one thing I will change
  4703. 2:30:29is as you saw on that last run, it had a
  4704. 2:30:32question at the bottom. It's like, which
  4705. 2:30:33one are you interested in? I would
  4706. 2:30:35probably try to remove that.
  4707. 2:30:38Um, do not ask a question at the end.
  4708. 2:30:43Just give them this description.
  4709. 2:30:52So that's just going to end the message
  4710. 2:30:53and saying, "Look, this is a quote."
  4711. 2:30:54Bam. And then the next message I get is
  4712. 2:30:56this. Please provide your name and phone
  4713. 2:30:58number and I'll get one of the team to
  4714. 2:30:59call you to find a time that works. And
  4715. 2:31:01so we want to save this entire user
  4716. 2:31:02reply with a capture step. Capture step.
  4717. 2:31:05There we go. Change this to entire user
  4718. 2:31:08reply. So we want to capture all of the
  4719. 2:31:09information that they send or over the
  4720. 2:31:11phone or either through chat. So in this
  4721. 2:31:12response, they're going to say their
  4722. 2:31:13name and their phone number, right? and
  4723. 2:31:14we need to extract those
  4724. 2:31:17out. I'm going to put this here and do a
  4725. 2:31:20set step. We're going to use a prompt.
  4726. 2:31:23So, we're setting this with
  4727. 2:31:26AI. And we're going to create a new
  4728. 2:31:28prompt. Um, let's just set the variable
  4729. 2:31:30first. Let's say this is going to be put
  4730. 2:31:32into last
  4731. 2:31:35response. Make a new prompt
  4732. 2:31:39here. And this is the prompt that we're
  4733. 2:31:41going to be using. So, we have just
  4734. 2:31:42asked the user to provide their name and
  4735. 2:31:43phone number. We need to attempt to
  4736. 2:31:44extract the information and then confirm
  4737. 2:31:46it with them. Here is their reply last
  4738. 2:31:48utterance which they've just provided
  4739. 2:31:49and we've captured. If there is a valid
  4740. 2:31:51name and phone number present, then you
  4741. 2:31:52must do a confirmation eg okay quickly
  4742. 2:31:54to confirm your name is this and number
  4743. 2:31:55is this. Is that correct? However, if
  4744. 2:31:57one or both are missing or appear to be
  4745. 2:31:59invalid, you must output only retry as
  4746. 2:32:01your response and nothing else. This
  4747. 2:32:03retry variable will be checked and if it
  4748. 2:32:05matches exactly, then it will trigger
  4749. 2:32:07another attempt to capture. So either a
  4750. 2:32:09write a short and sweet confirmation
  4751. 2:32:10message or b output retry for another
  4752. 2:32:13attempt at capturing. So what we're
  4753. 2:32:15doing here is using AI to analyze the
  4754. 2:32:17response and say look we're looking to
  4755. 2:32:18pluck out a name and phone number and we
  4756. 2:32:20want to also confirm that cuz this is
  4757. 2:32:21likely going to be over the phone. And
  4758. 2:32:22if the AI doesn't see a clear valid
  4759. 2:32:25phone number and a valid name then it's
  4760. 2:32:26going to output only the word retry. So
  4761. 2:32:29give us a response. If it's good to go
  4762. 2:32:31and we can move on to the next step. If
  4763. 2:32:33it says retry then we're going to try to
  4764. 2:32:35retry. Um, now of course this retry
  4765. 2:32:37doesn't actually do anything unless we
  4766. 2:32:38build the functionality in to look for
  4767. 2:32:40that retry keyword, which we'll do in a
  4768. 2:32:43second untitled prompt. We can change
  4769. 2:32:45this to um extract what attempt extract
  4770. 2:32:51name. And then we can go to um
  4771. 2:32:54conditions here and
  4772. 2:32:58go if last response which is the
  4773. 2:33:01variable that we're saving the output of
  4774. 2:33:03that prompt into here. Um whether it's
  4775. 2:33:05going to be retry or the say just to
  4776. 2:33:06confirm is this your phone name and
  4777. 2:33:08phone number. Um if last response is
  4778. 2:33:12retry or even just to make it a bit more
  4779. 2:33:14flexible contains retry unless unless
  4780. 2:33:17the person's name is like Bill Retry
  4781. 2:33:20Smith then uh this should be fine. And
  4782. 2:33:21actually, just to make this look a bit
  4783. 2:33:23cleaner, I might change this to um if
  4784. 2:33:24last response um does not contain retry.
  4785. 2:33:30Then we're going to go up
  4786. 2:33:35here and we are going to send the last
  4787. 2:33:39response because as we said, it's going
  4788. 2:33:41to either generate the confirmation
  4789. 2:33:42message or it'll output retry. So if
  4790. 2:33:44it's valid, it'll and we put up last
  4791. 2:33:46response here. They'll say their name
  4792. 2:33:48and phone number. We'll analyze it and
  4793. 2:33:50then we'll go great. It doesn't contain
  4794. 2:33:51the word retry in it. And bang. Hey,
  4795. 2:33:53just to confirm this is your name and
  4796. 2:33:55this is your phone number. And then for
  4797. 2:33:56the choices here, we can go and use our
  4798. 2:33:58handy dandy. They're going to be giving
  4799. 2:34:00us a yes or no answer to this. So, we
  4800. 2:34:01can put in these two triggers, yes and
  4801. 2:34:05no. And so, if they say no to the
  4802. 2:34:07confirmation, say no, that's not my
  4803. 2:34:09correct phone number or name, then we
  4804. 2:34:11need to have some kind of retry um logic
  4805. 2:34:13here. I usually like to make my retries
  4806. 2:34:16um a orange color. And then my failure
  4807. 2:34:19is a red. Um, so we
  4808. 2:34:25say, "Okay, let's try that again. Can
  4809. 2:34:27you please give me a full name and phone
  4810. 2:34:28number, please?" And then we're going to
  4811. 2:34:30send them all the way back to this step
  4812. 2:34:31here. So they're basically going to
  4813. 2:34:33recapture their information and then put
  4814. 2:34:35them through this process. And this is a
  4815. 2:34:36loop that can be done over and over and
  4816. 2:34:37over again. So, and then we also need to
  4817. 2:34:39deal with this else step. So if the word
  4818. 2:34:42does contain retry and it has said,
  4819. 2:34:43"Hey, look, this isn't a valid phone
  4820. 2:34:45number or a name," then we need to deal
  4821. 2:34:47with that as well. So, we can come down
  4822. 2:34:48here and go to message. Pop it under
  4823. 2:34:52here. And I've got a message for this.
  4824. 2:34:54Sorry, I didn't quite get that. Can you
  4825. 2:34:55please give me a full name and phone
  4826. 2:34:56number so a member of our team can get
  4827. 2:34:58in
  4828. 2:35:00touch. Um, right click on this and you
  4829. 2:35:03can go block color. Change it to an
  4830. 2:35:04orange. And then we're going to be going
  4831. 2:35:05back to here as well. So, it's helpful.
  4832. 2:35:08You can click on these arrows. So, the
  4833. 2:35:10lines here, and you can change them to
  4834. 2:35:12the same color. So, we want to make them
  4835. 2:35:14a bit more obvious that they're coming
  4836. 2:35:16in from places we
  4837. 2:35:19expected. We can make this an orange one
  4838. 2:35:22as
  4839. 2:35:24well. And this one,
  4840. 2:35:27too. So, if they come in and they say,
  4841. 2:35:29"Hey, my name's Bill and my phone number
  4842. 2:35:30is
  4843. 2:35:3102111." And it comes in here and it
  4844. 2:35:33goes, "Hey, that doesn't look like it's
  4845. 2:35:34proper." It's going to send a retry as
  4846. 2:35:37the output. We're going to pick it up
  4847. 2:35:38here and it's going to say, "Sorry, I
  4848. 2:35:39didn't quite get that." and it's going
  4849. 2:35:40to come back up and they're going to be
  4850. 2:35:42expected to give it again and it will go
  4851. 2:35:43through and then once we got a valid
  4852. 2:35:45name and phone number and it's not
  4853. 2:35:46outputting retry, then it's going to go
  4854. 2:35:48through here. It's going to spit that
  4855. 2:35:50out and say, "Hey, just to double check,
  4856. 2:35:51this is your phone number and email
  4857. 2:35:53before we proceed." Yes and no. No is
  4858. 2:35:55going to be handled there and it's going
  4859. 2:35:56to take them back to the first step
  4860. 2:35:57again. So, that's some nice um error
  4861. 2:36:00handling and sort of looping that you're
  4862. 2:36:01going to need to be building into a lot
  4863. 2:36:02of your conversational AI agents,
  4864. 2:36:04especially on voice flow, right? And so,
  4865. 2:36:05the last steps here are some quick
  4866. 2:36:06variable extractions. So we can go to
  4867. 2:36:08div logic here and go to set and we're
  4868. 2:36:11going to extract the name and the phone
  4869. 2:36:13number. So we'll go prompt. Holy moly,
  4870. 2:36:16it is it's bloody hot here. The variable
  4871. 2:36:19that we want to save this, we were going
  4872. 2:36:21to be extracting the name. So we'll add
  4873. 2:36:23a new variable called name. The user's
  4874. 2:36:28name. Um, and this is going to be called
  4875. 2:36:31uh extract
  4876. 2:36:35name. Here's a quick and easy prompt.
  4877. 2:36:37You can pause it to take a look at that.
  4878. 2:36:38It's just going to extract their
  4879. 2:36:39name. We need to add another variable.
  4880. 2:36:42This is going to be their phone
  4881. 2:36:46number. And then we need another
  4882. 2:36:51prompt. Just paste this one in here.
  4883. 2:36:53Pretty basic. Again, pause it if you
  4884. 2:36:55want to take a
  4885. 2:36:56look. And I haven't named that prompt.
  4886. 2:36:58It's going to annoy
  4887. 2:37:00me. Extract phone
  4888. 2:37:05number. And now we're going to have
  4889. 2:37:06their name and their phone number
  4890. 2:37:07extracted out of this response.
  4891. 2:37:11And oh, and actually we need to add in
  4892. 2:37:15the conversation history there so that
  4893. 2:37:18it actually has the this information in
  4894. 2:37:22it. And then we
  4895. 2:37:30go great. Let me get that added into our
  4896. 2:37:32system. This buys us a bit of time as we
  4897. 2:37:35use our um make web hook which we're
  4898. 2:37:37going to set up now. So the next step is
  4899. 2:37:39to get a Google sheet set up and to use
  4900. 2:37:41make.com to uh take this data and shoot
  4901. 2:37:44it into a Google sheet. So to do that um
  4902. 2:37:46I will leave a link on I mean you can
  4903. 2:37:48just search it up. It's make it's
  4904. 2:37:50make.com. All right. I'll save you the
  4905. 2:37:52hassle. So you sign into make.com create
  4906. 2:37:54an account whatever you want to do or
  4907. 2:37:57need to do.
  4908. 2:38:04Go to scenarios and then we're going to
  4909. 2:38:06create a new
  4910. 2:38:08scenario. I'm going to build from
  4911. 2:38:10scratch here. I'm going to get all that
  4912. 2:38:12rubbish out of the way. I don't know why
  4913. 2:38:13it's acting like I'm some rookie here.
  4914. 2:38:16Um, and then we need to go to web hooks,
  4915. 2:38:20custom web hook. We're going to
  4916. 2:38:23um we're going to add in a new web hook.
  4917. 2:38:26This is going to be conors cleaning lead
  4918. 2:38:29capture. going to save that. It's going
  4919. 2:38:32to create this web hook here. I'm going
  4920. 2:38:34to copy this edges to clipboard. We're
  4921. 2:38:37going to come back to our build and then
  4922. 2:38:39we're going to go to
  4923. 2:38:41the API step. So, what this is doing if
  4924. 2:38:44you're a bit new to to web hooks and and
  4925. 2:38:45API calls and stuff. What we can do here
  4926. 2:38:48on make is set this up to basically
  4927. 2:38:50listen. It's a URL. You know how we had
  4928. 2:38:52the endpoint? The end point, this thing
  4929. 2:38:54here that it's given us that I've just
  4930. 2:38:56copied to our clipboard. That's like the
  4931. 2:38:58address, remember? So if you put it
  4932. 2:38:59write it on the on the letter, that's
  4933. 2:39:01where it's going to go. This allows us
  4934. 2:39:02to basically send data um via API call
  4935. 2:39:05um from voice flow to make and it's
  4936. 2:39:08going to catch it here. And this little
  4937. 2:39:09lightning bolt means that anything we
  4938. 2:39:11build after is going to be triggered
  4939. 2:39:13whenever it receives one of those uh
  4940. 2:39:15whenever a new bit of mail arrives. It's
  4941. 2:39:17going to then trigger this multi-step
  4942. 2:39:18process. So we're going to put this into
  4943. 2:39:21voice flow. We're going to trigger it
  4944. 2:39:22and make sure it knows what data to
  4945. 2:39:24expect. And then we're going to be able
  4946. 2:39:25to use that data and put it into Google
  4947. 2:39:27Sheets. So stick with me here, but this
  4948. 2:39:29is another very very essential skill in
  4949. 2:39:31AI automation is how to set up a webbook
  4950. 2:39:33um and use it within different apps. So
  4951. 2:39:35we have our webbook
  4952. 2:39:37here. We've copied the address to
  4953. 2:39:39clipboard. We're going back setting up a
  4954. 2:39:41get request here. So it's not a post
  4955. 2:39:43request this time. We're just uh getting
  4956. 2:39:45and we're technically not getting data.
  4957. 2:39:47A get request is a much more kind of
  4958. 2:39:48quick and dirty request. Um and as
  4959. 2:39:51you'll see, we kind of just tack on a
  4960. 2:39:53bunch of information after this. Um we
  4961. 2:39:54can do it through what's called
  4962. 2:39:56parameters. Here we want to be sending a
  4963. 2:39:59property. Oh, let's just say
  4964. 2:40:01property
  4965. 2:40:04type. Actually, let's do this properly.
  4966. 2:40:07Let's go time
  4967. 2:40:09um
  4968. 2:40:11timestamp. So, in this Google sheet,
  4969. 2:40:14you're going to want to know when the
  4970. 2:40:15different leads came in. So, we can go
  4971. 2:40:16uh time stamp and get the time stamp
  4972. 2:40:18from voice flow. That's a default
  4973. 2:40:20variable that they are automatically
  4974. 2:40:22filling out for you. So, one of the
  4975. 2:40:23things, one of the rows in the
  4976. 2:40:25spreadsheet is going to be uh the time
  4977. 2:40:27stamp. We're going to add another and
  4978. 2:40:29we're going to go um name. We're going
  4979. 2:40:32to put in the name here. So, now all the
  4980. 2:40:35cogs in your head should start turning
  4981. 2:40:36as we put this together. And we're going
  4982. 2:40:38to go uh phone number and we go bracket
  4983. 2:40:44phone number
  4984. 2:40:47number. And if we add another, we can go
  4985. 2:40:51property
  4986. 2:40:52type. Let me go prop property
  4987. 2:40:58type. We can go
  4988. 2:41:00property
  4989. 2:41:05size and go property size. We can add
  4990. 2:41:10another one. We can go
  4991. 2:41:12quoted prices so that the sales team
  4992. 2:41:15knows what we actually told them. in
  4993. 2:41:17case you're playing around with pricing.
  4994. 2:41:18Um, raw quote data. And I'll probably
  4995. 2:41:22throw in one more here, which is their
  4996. 2:41:24first question. Um, first question,
  4997. 2:41:31uh, user first reply. So, that might
  4998. 2:41:33give context to the sales team like what
  4999. 2:41:34did they actually contact us for in the
  5000. 2:41:36first place? Maybe helpful, maybe not.
  5001. 2:41:37But we can just send this all over to
  5002. 2:41:38the Google sheet.
  5003. 2:41:44And so now we can see this is uh as this
  5004. 2:41:47thing's spinning around, it's basically
  5005. 2:41:48waiting for us to send some data to it.
  5006. 2:41:50It's basically sitting there at the
  5007. 2:41:51mailbox like waiting for it to come
  5008. 2:41:54through. Um and we can go send here and
  5009. 2:41:57I'm going to put in uh gosh dug myself a
  5010. 2:42:00hole here. Um let's go name
  5011. 2:42:04Liam. Um house probably size. Um
  5012. 2:42:09um lots of money. Um how much for
  5013. 2:42:12cleaning yarning?
  5014. 2:42:13um send. And if we go back, bam,
  5015. 2:42:16successfully determined. And what we've
  5016. 2:42:18done and determined means is that make
  5017. 2:42:20has received the the the request that we
  5018. 2:42:23sent. And it now it knows that we're
  5019. 2:42:24going to be sending it a time stamp and
  5020. 2:42:26a property type and this this really
  5021. 2:42:29really key skill to understand because
  5022. 2:42:30now when I go oh save now when I go to
  5023. 2:42:33here and I go Google Sheets and I go add
  5024. 2:42:37a
  5025. 2:42:38row, um you will need to set up your uh
  5026. 2:42:41Google Sheets connection here. So, you
  5027. 2:42:43just sign in with Google, add your
  5028. 2:42:44connection in. Um, I am going to have to
  5029. 2:42:49create a new spreadsheet for this
  5030. 2:42:55quickly. I'm going go timestamp.
  5031. 2:43:00So I'll zoom this up. Time stamp name
  5032. 2:43:05phone
  5033. 2:43:06property type property
  5034. 2:43:15size. 1 2 3 4 5 6 7. Yeah, we've got
  5035. 2:43:19them all. Right. So then I can
  5036. 2:43:22go. So call this my Connor cleaning
  5037. 2:43:26support agent leads.
  5038. 2:43:30So now I want to go back to make and I
  5039. 2:43:33want to click here to
  5040. 2:43:37um Connor. There we go. Connor's
  5041. 2:43:40clearing. Why do I keep spelling
  5042. 2:43:42cleaning
  5043. 2:43:47cleaning? Now we have the spreadsheet
  5044. 2:43:49set up. The sheet name is just going to
  5045. 2:43:51be sheet one. Sheet one. Does the table
  5046. 2:43:54contain headers? Yes, it does. And now
  5047. 2:43:57we get to put in all of our values. So,
  5048. 2:43:58bam. Time stamp. Pop that in there.
  5049. 2:44:01Name, pop that in there. Phone, pop that
  5050. 2:44:04in there. Property type. So, you see
  5051. 2:44:08what such a key skill that uh I really,
  5052. 2:44:10really want you guys to learn. Um,
  5053. 2:44:12because this is a lot of like if you
  5054. 2:44:14just have a couple of these key things
  5055. 2:44:15using these APIs and say voice flow or
  5056. 2:44:17in NAD, building tools and relevance and
  5057. 2:44:19then using them via API, knowing how to
  5058. 2:44:22set up web hooks and then send data in
  5059. 2:44:24between them and to set this data
  5060. 2:44:25structure. You send that first initial
  5061. 2:44:27batch over to make in a test test
  5062. 2:44:29request. It's going to go okay this is
  5063. 2:44:31what they're going to send me in future
  5064. 2:44:32and then that's locked in and you can
  5065. 2:44:33send thousands and thousands of requests
  5066. 2:44:35through it and it will operate as you
  5067. 2:44:36expect and first
  5068. 2:44:38question. So uh it's got all those other
  5069. 2:44:41rows we don't need to worry about. Save.
  5070. 2:44:43All right. And so that should be
  5071. 2:44:44working. We can switch this to
  5072. 2:44:46immediately. Oh, I need to save it.
  5073. 2:44:49Save. Um I'm going
  5074. 2:44:51to immediately as data arrives. So, this
  5075. 2:44:54is going to be waiting all the damn
  5076. 2:44:55time. Actually, I'm I've got a whole
  5077. 2:44:57bunch of other stuff running in make for
  5078. 2:44:58my my various businesses. So, I'm just
  5079. 2:45:00going to have this set up. If you wanted
  5080. 2:45:01this to run around the clock, you turn
  5081. 2:45:03that on. I'm just going to turn it on to
  5082. 2:45:04run once. And this is just going to be
  5083. 2:45:06sitting there waiting for data. So, what
  5084. 2:45:07we can do is just finish this off
  5085. 2:45:08quickly. So, I'll just paste this
  5086. 2:45:13in. Got this all done. Thank you. That's
  5087. 2:45:16the end of it. Um, what we want to do is
  5088. 2:45:19have a failure path. So, in case this
  5089. 2:45:21fails, we just pop that down there and
  5090. 2:45:26say, "Darn it, something went
  5091. 2:45:31wrong." I'm going to put that as a
  5092. 2:45:36red. Um, and then this one is like that.
  5093. 2:45:40All righty. So, if we look at make, it's
  5094. 2:45:42still expecting us to send some data to
  5095. 2:45:43it. Let's hope that we've done all of
  5096. 2:45:46this right and it's going to work first
  5097. 2:45:48time, but you never really know, dear.
  5098. 2:45:50So, let's give this a run and we'll try
  5099. 2:45:52to go through that second path and we'll
  5100. 2:45:54try to get that stuff added into the
  5101. 2:46:01spreadsheet. I need weekend cleaning,
  5102. 2:46:05please.
  5103. 2:46:11So asking a question is going straight
  5104. 2:46:12to price. You're looking for weekend
  5105. 2:46:15cleaning services and want to know the
  5106. 2:46:16pricing. Is that correct? Yes. So our
  5107. 2:46:17router is going to pick that up and say
  5108. 2:46:19he's looking for pricing. Let's send him
  5109. 2:46:20to the quote tool. Okay. Sure. To give
  5110. 2:46:22you an instant quote, I just need the
  5111. 2:46:23property type and size and square feet.
  5112. 2:46:24It's a property. Let's go aart
  5113. 2:46:27mint. It's detected that correctly. And
  5114. 2:46:30how many square feet? It's 500.
  5115. 2:46:34typical
  5116. 2:46:37apartment
  5117. 2:46:39size
  5118. 2:46:40and square
  5119. 2:46:44feet. Okay, so 500 isn't actually
  5120. 2:46:47ridiculous. Um, great. And then we get
  5121. 2:46:49our answer based on your 500 foot
  5122. 2:46:50apartment. Bam, bam, bam. There's all
  5123. 2:46:52the prices. Please provide your name and
  5124. 2:46:53phone number and I'll get one of the
  5125. 2:46:54teams to call you with a time that
  5126. 2:46:55works. Let's uh give this a a test. See
  5127. 2:46:58if it's actually picking up on the fail.
  5128. 2:47:00Sure. My name
  5129. 2:47:03is and
  5130. 2:47:05phone
  5131. 2:47:11is boom. Sorry, I didn't quite get that.
  5132. 2:47:14So, it detected that it wasn't right.
  5133. 2:47:16So, we got the retry output. We got the
  5134. 2:47:18retry output from this, which is what we
  5135. 2:47:20wanted. Sorry, I didn't quite get that.
  5136. 2:47:21Can you give me again? Um Liam
  5137. 2:47:26Otley number is um 021
  5138. 2:47:34021. That's what numbers look like here
  5139. 2:47:36in New
  5140. 2:47:38Zealand. Okay. Just to confirm quickly,
  5141. 2:47:40your name is Liam Mley and your phone
  5142. 2:47:41number is that correct? Yes, sir. Name
  5143. 2:47:45and phone
  5144. 2:47:47number. Oh, what has it done
  5145. 2:47:50there? Oh, dame.
  5146. 2:47:53I don't know why it's I just want the
  5147. 2:47:56phone number. So, we have got a little
  5148. 2:47:57bit of an error there. I just go back
  5149. 2:47:58and tweak the prompt. Make sure it's
  5150. 2:48:00like only get the phone number. We don't
  5151. 2:48:01want anything apart from numbers here.
  5152. 2:48:03Great. Let me get the added to the
  5153. 2:48:04system. And then if we go back to make,
  5154. 2:48:06we see these are all green now. And we
  5155. 2:48:07see these dots. So, this is the
  5156. 2:48:09information that came through. Namely,
  5157. 2:48:10Mly phone number. And so, here's the
  5158. 2:48:12little mistake where we had a new line.
  5159. 2:48:14Apartment. Bam, bam, bam. All of that
  5160. 2:48:16information. And then it's added it into
  5161. 2:48:18Google Sheets. Here we see updates,
  5162. 2:48:21updated number of rows, all the values
  5163. 2:48:22that it's updated and we can go
  5164. 2:48:28to. Okay. Holy moly. Right. We're ready
  5165. 2:48:32to put this thing on our website and to
  5166. 2:48:34also put it on a phone number. So, let's
  5167. 2:48:36just finish the job. Guys, I'm uh
  5168. 2:48:38getting real hungry, but we can uh we
  5169. 2:48:40can push through. So, I will just turn
  5170. 2:48:42this on actually so that if we are
  5171. 2:48:44testing it on the web and over the
  5172. 2:48:45phone, um it's ready to receive. Um, if
  5173. 2:48:49we do want to be pedantic, I would go
  5174. 2:48:51back and I would change I have to do it.
  5175. 2:48:54It's going to piss me
  5176. 2:48:56off. I'll put their name. Oh, that's
  5177. 2:48:59why. I'll put their phone number only.
  5178. 2:49:02My bad. I'll put their phone number
  5179. 2:49:11only. And we do have these fail points
  5180. 2:49:14here. Um, I'm not going to bother
  5181. 2:49:16filling them out. I think you guys can
  5182. 2:49:17figure out based off how I've handled
  5183. 2:49:19this, how you can handle these as well.
  5184. 2:49:21So, what you'll find is when you're
  5185. 2:49:22building these, these kind of fail like
  5186. 2:49:24error handling um is kind of a an
  5187. 2:49:27endless thread that you keep pulling.
  5188. 2:49:28It's like, oh, well, now I've got to
  5189. 2:49:29handle this, this, and this this. So, um
  5190. 2:49:31I'm not going to this is a prototype.
  5191. 2:49:33I'm not going to be doing all of the the
  5192. 2:49:34error handling for you here. In the
  5193. 2:49:36template, there is actually a little bit
  5194. 2:49:37more of it. Um some better examples. So,
  5195. 2:49:39maybe if you import that, you can just
  5196. 2:49:40steal the work that I've done there. But
  5197. 2:49:43what we need to do now is we can publish
  5198. 2:49:45this thing. We'll call it
  5199. 2:49:48V1 first
  5200. 2:50:00drop. All right. So now it's published.
  5201. 2:50:03We can add the agent to a website. Let's
  5202. 2:50:04click on that. And that takes us to this
  5203. 2:50:06integrations tab.
  5204. 2:50:08Um let's put this down. I don't need to
  5205. 2:50:10see that. Um, they've got a new version
  5206. 2:50:13of it. That's good to know. I said
  5207. 2:50:15installation is pretty straightforward.
  5208. 2:50:16So, we can just click copy here. And
  5209. 2:50:18then I'm going to open
  5210. 2:50:21up I'm going to open up brackets here
  5211. 2:50:24just to give you a demo of a website. I
  5212. 2:50:26use this in all my tutorials. It's
  5213. 2:50:27really easy to spin up. Um, I will leave
  5214. 2:50:29a link to this template if you want it.
  5215. 2:50:31Um, and also some instructions on how
  5216. 2:50:32you can open up a website. I know this
  5217. 2:50:34looks like code and it's all scary, but
  5218. 2:50:36um, this is just allowing me to spin up
  5219. 2:50:38a website very quickly. So, I'll leave
  5220. 2:50:40the template file. All you need to do is
  5221. 2:50:42once you've downloaded the template
  5222. 2:50:43file, you need to download brackets,
  5223. 2:50:46which is the software. You can go file,
  5224. 2:50:48then open folder, and then you want to
  5225. 2:50:50click on the folder when you've unzipped
  5226. 2:50:52it, and it's going to open up the whole
  5227. 2:50:53folder. And then you'll get all of this
  5228. 2:50:55uh opened up like this. And you see all
  5229. 2:50:57of these files ra. All you need to do is
  5230. 2:50:59click on the
  5231. 2:51:00index.html. And then you'll see
  5232. 2:51:02something similar to this. Well, I'm
  5233. 2:51:04going to scroll down to the bottom of
  5234. 2:51:05the index.html. I'm going to delete this
  5235. 2:51:07old voice agent I was testing on here.
  5236. 2:51:10Drop this in here. Paste that. And then
  5237. 2:51:12save it. Command S. Click this little
  5238. 2:51:14button up here. And it will show us a
  5239. 2:51:18local version of the website running on
  5240. 2:51:20our computer here through brackets. So
  5241. 2:51:22here's my man with a magnificent
  5242. 2:51:24beard.
  5243. 2:51:26And we have the tester agent bubble down
  5244. 2:51:30here. And there we go.
  5245. 2:51:36I want to know where you
  5246. 2:51:40live, my
  5247. 2:51:44guy.
  5248. 2:51:49Yep. Woo. Okay. Uh I didn't even program
  5249. 2:51:53that in there. Maybe you just thought it
  5250. 2:51:54was inappropriate. Um but we've got it
  5251. 2:51:57working on a website. Now, if we pop
  5252. 2:51:58back over to um uh Voice Flow here and
  5253. 2:52:02you go to the integrations, the widget,
  5254. 2:52:04you see we've got this test your agent
  5255. 2:52:05thing. So, down here, we can play around
  5256. 2:52:07with the look and feel of it. I'm not
  5257. 2:52:09really going to get into this here.
  5258. 2:52:10There's quite a lot to play around with,
  5259. 2:52:11but basically all of what you see on
  5260. 2:52:14here can be changed around. Different
  5261. 2:52:16logos, different text here, different
  5262. 2:52:18icon, etc., different colors, and you
  5263. 2:52:20can just make it look and feel however
  5264. 2:52:22you want it to. So, I'm sure you guys
  5265. 2:52:24are big enough and ugly enough to figure
  5266. 2:52:25that out yourself. we'd probably want to
  5267. 2:52:27switch over to uh this here. One thing
  5268. 2:52:29you would want to do is turn off powered
  5269. 2:52:30by voice flow so it's not uh sending
  5270. 2:52:33traffic to them when it's on your own
  5271. 2:52:34website. And that's about it. For the
  5272. 2:52:36sake of time, I'm not going to go
  5273. 2:52:37through the entire flow again here. Just
  5274. 2:52:40know that the functionality that we
  5275. 2:52:41built that I just showed you in the
  5276. 2:52:42builder is going to work cuz we just
  5277. 2:52:43deployed it. Like this is exactly what
  5278. 2:52:45we're interacting with. So, it's all
  5279. 2:52:47working here. The only step to do now is
  5280. 2:52:49to put it on this phone number so we can
  5281. 2:52:51have a chat to it over the phone, which
  5282. 2:52:52we're going to do now. To do that, we
  5283. 2:52:53need to go to the telefan bit here. It
  5284. 2:52:55is in beta right now, but for most of
  5285. 2:52:56you watching it is not going to be by
  5286. 2:52:58the time you you are watching this. So,
  5287. 2:52:59we need to set up a phone number from
  5288. 2:53:01Twilio, import it, and then connect our
  5289. 2:53:03agent and its functionality to that. So,
  5290. 2:53:04we can go import number. You'll see that
  5291. 2:53:07we have this information here. So, we
  5292. 2:53:08can use Twilio or Vonnage. Twilio is
  5293. 2:53:10usually the go-to here. So, if we click
  5294. 2:53:12on learn more, then they're going to
  5295. 2:53:14help us. Basically, the best way to make
  5296. 2:53:15sure you're getting the most up-to-date
  5297. 2:53:16information is go to the docs of the
  5298. 2:53:18platform. Finding and reading and
  5299. 2:53:19extracting information from
  5300. 2:53:20documentation on these kinds of
  5301. 2:53:22platforms is another key skill that you
  5302. 2:53:24need to pick up to succeed in the space.
  5303. 2:53:25So if we go to the docs here, we go to
  5304. 2:53:29um voice phone number setting up Twilio
  5305. 2:53:34integration and they have a video here
  5306. 2:53:36adding a phone number to your agent. So
  5307. 2:53:37if you ever get stuck, you know, you've
  5308. 2:53:38got documentation here and for all of
  5309. 2:53:40the other platforms, but they'll keep
  5310. 2:53:41updating these videos if things change,
  5311. 2:53:43which they likely will as this voice AI
  5312. 2:53:45space really takes off. So, if we go to
  5313. 2:53:48Twilio, you will need to sign up and
  5314. 2:53:50create an account on
  5315. 2:54:04Twilio. All right, so we are logged into
  5316. 2:54:06Twilio. You'll need to create an account
  5317. 2:54:08for most of you, but Twilio is a uh
  5318. 2:54:10phone number provider that you can
  5319. 2:54:11connect to and interact with over the
  5320. 2:54:13internet. super helpful when you can buy
  5321. 2:54:14lots of numbers from different locations
  5322. 2:54:16and stuff. When it comes to phone
  5323. 2:54:18numbers, it can there's a lot of rules
  5324. 2:54:19and regulations around different like it
  5325. 2:54:21varies a lot from country to country. So
  5326. 2:54:23depending like if you're in Germany, I
  5327. 2:54:24believe in order to get a German phone
  5328. 2:54:26number, you need to have a company
  5329. 2:54:27registered and get the number through
  5330. 2:54:29your company registration and provide
  5331. 2:54:31those details. So can be difficult. I'm
  5332. 2:54:33just going to show you how to use a uh a
  5333. 2:54:34US-based number here. So we can go over
  5334. 2:54:36to the phone numbers on the left here.
  5335. 2:54:38There may be some setup that Twilio walk
  5336. 2:54:40you through. It can be kind of annoying
  5337. 2:54:41sometimes. They say you need to do all
  5338. 2:54:43of these declarations and forms and
  5339. 2:54:45stuff, but for the most part, it should
  5340. 2:54:46be fairly straightforward if you follow
  5341. 2:54:48their setup instructions when you create
  5342. 2:54:49your account to then come over and go to
  5343. 2:54:51your phone numbers and manage and go to
  5344. 2:54:54buy a
  5345. 2:54:56number. Now, unless you have other
  5346. 2:54:57purposes you want to use this for, you
  5347. 2:54:59can just snag any random one if you're
  5348. 2:55:00following this tutorial. Um, if you're
  5349. 2:55:02obviously doing this for a client, you
  5350. 2:55:03could get one that's matched to their
  5351. 2:55:04location or their their state or even
  5352. 2:55:06their city. And when you click buy, you
  5353. 2:55:08can see there's all these kind of
  5354. 2:55:09registrations and RAR you need to do.
  5355. 2:55:11But thankfully, voice is uh is ones that
  5356. 2:55:14don't need all of that. And you've got
  5357. 2:55:15global routing, etc. So, you can come
  5358. 2:55:17down here and buy this. It's going to be
  5359. 2:55:18a dollar a month. I know cost of
  5360. 2:55:20starting up a business is ridiculous
  5361. 2:55:21these
  5362. 2:55:22days. How dare they? But just to walk
  5363. 2:55:25things through and do it with you, I'm
  5364. 2:55:26going to buy this number even though I
  5365. 2:55:27really don't need
  5366. 2:55:29it. There we go. I've got my number. I'm
  5367. 2:55:33just going to copy this so I don't
  5368. 2:55:35forget it. 517. And then I go to active
  5369. 2:55:39numbers. I got my guy. Where is he? 517
  5370. 2:55:43down
  5371. 2:55:44here. Copy this bad boy. Go back to
  5372. 2:55:46Twilio. Put our number in here. Our
  5373. 2:55:49Twilio account SID. You need to pop back
  5374. 2:55:51to Twilio. You go to your account
  5375. 2:55:54dashboard. This was a bit confusing when
  5376. 2:55:56I first did it. So, I'm glad I'm glad I
  5377. 2:55:58can help you guys through it because it
  5378. 2:55:59was a bit of a pain in the bum for me.
  5379. 2:56:01You think all this information is going
  5380. 2:56:02to be like tucked away in the side
  5381. 2:56:04panels, but no, it's just on the
  5382. 2:56:05dashboard. Who the hell puts your or
  5383. 2:56:07tokens and stuff on a dashboard? I mean,
  5384. 2:56:09it's when you know it's there, it's
  5385. 2:56:10helpful, but it was a bit confusing at
  5386. 2:56:11the time for me. Um, I'm going to paste
  5387. 2:56:15this in
  5388. 2:56:18here. We're going to copy this or token
  5389. 2:56:22and paste this in here. And we're going
  5390. 2:56:24to say this is my you YouTube tutorial.
  5391. 2:56:29And I'm going to import that bad boy.
  5392. 2:56:31Select environment. I'm just going to
  5393. 2:56:33put it on development for now. uh we can
  5394. 2:56:35assign
  5395. 2:56:36that. And with that, you can see if I
  5396. 2:56:38click unassign here, that means I'm
  5397. 2:56:39going to take it off. So, it's it's
  5398. 2:56:40assigned and it should be ready to have
  5399. 2:56:42a chat with. So, if I click to copy this
  5400. 2:56:44number here, I go back to my little
  5401. 2:56:47uh uh website code here. If I go find um
  5402. 2:56:52plus one. Oh, there we go. So, we have
  5403. 2:56:54the call. Um this is in the header. Uh
  5404. 2:56:58this is just me p wanting to put it on
  5405. 2:56:59the site for you guys. So, you guys
  5406. 2:57:01don't necessarily need to copy this. I'm
  5407. 2:57:03going to save that. If I go back to my
  5408. 2:57:05website here, now I have the actual
  5409. 2:57:06phone number. And if I pull up Skype on
  5410. 2:57:10my phone, you guys, if you're in the US,
  5411. 2:57:12you can just or wherever your number is
  5412. 2:57:13based, you can just call it stage plus
  5413. 2:57:17one. All right, let's give our mate a
  5414. 2:57:20ring.
  5415. 2:57:24Welcome to Conor's Cleaning. How can I
  5416. 2:57:25help? Hey, uh, I was just wondering, uh,
  5417. 2:57:28where you guys are located.
  5418. 2:57:38business. Is that correct? Yeah, that's
  5419. 2:57:41correct.
  5420. 2:57:49We're located at 247 Beacon Street in
  5421. 2:57:52Boston, Massachusetts 0216. We serve the
  5422. 2:57:55greater Boston area, including
  5423. 2:57:57neighborhoods like downtown Boston,
  5424. 2:57:58Cambridge, Somerville, Brooklyn, and
  5425. 2:58:00several others. Is there anything else I
  5426. 2:58:03can help you with today? Sweet. Okay, so
  5427. 2:58:05that's done the
  5428. 2:58:07uh knowledge the knowledgebased route.
  5429. 2:58:10Now, let's give it another spin. Call
  5430. 2:58:12him again. Okay.
  5431. 2:58:15Hey, welcome to Connor's Cleaning. How
  5432. 2:58:17can I help? Hi there. I'm just getting
  5433. 2:58:20interested in getting uh some cleaning
  5434. 2:58:22for my place on the weekends.
  5435. 2:58:29It sounds like you're interested in
  5436. 2:58:30booking a cleaning service for a
  5437. 2:58:32licensed weekend. Is that correct? Yep.
  5438. 2:58:41Okay. Sure. To give you an instant
  5439. 2:58:43quote. I just need the property type and
  5440. 2:58:45size and square feet. Is the property a
  5441. 2:58:47house or an apartment? It's a house.
  5442. 2:58:56Sorry, I didn't get that. Is it a house
  5443. 2:58:58or an apartment? It is a house, a home.
  5444. 2:59:06And how many square feet is it? It's
  5445. 2:59:08about a thousand.
  5446. 2:59:15One sec while I generate your quote.
  5447. 2:59:18Based on your requirements, we can offer
  5448. 2:59:20four different packages. Regular
  5449. 2:59:22maintenance cleaning at $90, which
  5450. 2:59:24covers standard weekly or bi-weekly
  5451. 2:59:26cleaning. Deep cleaning at $150 for a
  5452. 2:59:30more thorough top to bottom refresh,
  5453. 2:59:32move in, move out. Cleaning at $170 for
  5454. 2:59:36preparing or cleaning after a home
  5455. 2:59:38transition, and post renovation cleaning
  5456. 2:59:40at $200 for handling construction dust
  5457. 2:59:43and debris. Please provide your name and
  5458. 2:59:45phone number and I'll get one of the
  5459. 2:59:46team to call you to find a time that
  5460. 2:59:48works. Sure. My name is Liam Otsley and
  5461. 2:59:51my phone number is 021 uh 1111 9792.
  5462. 3:00:03Okay, just to quickly confirm, your name
  5463. 3:00:05is Liam Oxley and your phone number is
  5464. 3:00:0802119792. Is that correct? Yep, that's
  5465. 3:00:11spot on.
  5466. 3:00:19Great. Let me get that added into our
  5467. 3:00:20system. All done. Thank you.
  5468. 3:00:24Boom. All
  5469. 3:00:27righty. That is done. That is dunzos.
  5470. 3:00:30All right. So, you guys learned a lot in
  5471. 3:00:32that one. voice integration, website
  5472. 3:00:34integration, um connecting web hooks to
  5473. 3:00:37make, setting up make automations,
  5474. 3:00:39sending data over, connecting relevance
  5475. 3:00:41AI tools into into voice flow. Um basic
  5476. 3:00:46integration with a CRM, in this case,
  5477. 3:00:47it's a sheet, but there's so much in
  5478. 3:00:49there, guys. I hope you really really uh
  5479. 3:00:50learned a lot from that. This has been a
  5480. 3:00:52big one. And we've still got uh one more
  5481. 3:00:54to go. So, I hope you're sticking with
  5482. 3:00:56us. Um but going back to our Figma here,
  5483. 3:01:00um we have ticked off all of this. So,
  5484. 3:01:01we have it as a web chat widget and we
  5485. 3:01:03have it as a a phone number. Now, as far
  5486. 3:01:05as I know, you can have both options for
  5487. 3:01:06the same agent on voice. You can have it
  5488. 3:01:08on the website and over voice. You don't
  5489. 3:01:10need to duplicate it and sort of define
  5490. 3:01:11what modality it's going to be. So,
  5491. 3:01:14we've ticked off all the boxes for this.
  5492. 3:01:15All of the resources will be in here.
  5493. 3:01:17All of the prompts, a template for that
  5494. 3:01:18whole final build as well. If you just
  5495. 3:01:20want to snag all my hard work and go and
  5496. 3:01:21sell it to someone, again, I don't I
  5497. 3:01:23really don't care. Um, that's what these
  5498. 3:01:24videos are for. And we're getting into
  5499. 3:01:26agent build number four now.
  5500. 3:01:33All righty. So, last but not least is an
  5501. 3:01:36agent built on my own software. So, I
  5502. 3:01:38didn't want to make this. It's not about
  5503. 3:01:39me selling you or getting you to use my
  5504. 3:01:41software. So, I thought I'd put it at
  5505. 3:01:42the end just so you know that I wasn't
  5506. 3:01:43really This is about you guys learning
  5507. 3:01:45and my software happens to help you put
  5508. 3:01:47an agent onto WhatsApp very very easily.
  5509. 3:01:49So, that's why it's included in here.
  5510. 3:01:50But again, this is nonsponsored,
  5511. 3:01:52nonpromoted, non whatever. I'm just
  5512. 3:01:54really trying to share with you what I
  5513. 3:01:55think is a really valuable skill set to
  5514. 3:01:57have. All right. Now getting into AI
  5515. 3:01:58agent build number four. This is going
  5516. 3:02:00to be tada a WhatsApp based ARI customer
  5517. 3:02:04support and lead generation agent built
  5518. 3:02:06on agentive my software. So this is a
  5519. 3:02:09noode uh AI agent builder that is built
  5520. 3:02:11on top of OpenAI's assistance API. So
  5521. 3:02:13you're technically using your OpenAI
  5522. 3:02:15account getting very very cheap rates on
  5523. 3:02:17the uh token usage that you're running
  5524. 3:02:19through this agent. But Agent just
  5525. 3:02:21allows you to build on top of it very
  5526. 3:02:22easily. but more importantly to deploy
  5527. 3:02:24these agents not just onto web chat
  5528. 3:02:26widgets like we've done with voice flow
  5529. 3:02:27but easily onto things like WhatsApp and
  5530. 3:02:30Instagram etc. So that's really the key
  5531. 3:02:31thing that Agenda focuses on doing right
  5532. 3:02:33now is making it easy for you to get
  5533. 3:02:35your agents onto these platforms. So as
  5534. 3:02:36you can see it's a fairly similar build
  5535. 3:02:38to what we just did on voice flow in
  5536. 3:02:39terms of functionality. We're going to
  5537. 3:02:40be having a uh a knowledge base that we
  5538. 3:02:43can ask questions over. It's going to be
  5539. 3:02:45able to generate another instant quote.
  5540. 3:02:46So we'll just quickly connect that same
  5541. 3:02:48relevance tool here. And finally, we're
  5542. 3:02:50going to do a lead capture, but this
  5543. 3:02:51time it's going to be done through Air
  5544. 3:02:52Table. So, I want to mix it up and show
  5545. 3:02:54you how you can connect your agents to
  5546. 3:02:55Air Table, which is a very, very common
  5547. 3:02:57integration that you're going to need to
  5548. 3:02:58know. And the difference between this
  5549. 3:03:00agent, you're going to see that it's
  5550. 3:03:01much much faster to build. This is not
  5551. 3:03:02meant to be a side-by-side comparison of
  5552. 3:03:05what's better, how much faster. It's
  5553. 3:03:06just that when you build on a more
  5554. 3:03:08conversationalbased uh AI agent platform
  5555. 3:03:11like agentive which is built on top of
  5556. 3:03:12the assistance API, it's a very
  5557. 3:03:14different way of building agents because
  5558. 3:03:15it's all just based on a prompt and
  5559. 3:03:17providing the right tools and all the
  5560. 3:03:18magic kind of happens itself through the
  5561. 3:03:20prompt. Whereas voice flow gives you a
  5562. 3:03:22lot more control. So it's really
  5563. 3:03:23difference between structured AI agent
  5564. 3:03:25building versus more conversational and
  5565. 3:03:27open-ended chats through more chat GBT
  5566. 3:03:30like experience that can just go on and
  5567. 3:03:31on and on which is what these agents can
  5568. 3:03:33do. So the purpose is of course fairly
  5569. 3:03:35similar but the value of this is
  5570. 3:03:36slightly different in that we are using
  5571. 3:03:38WhatsApp. So uh many people browsing for
  5572. 3:03:40services online are hesitant to use
  5573. 3:03:42website contact forms or other or chat
  5574. 3:03:44bots that they think are not going to
  5575. 3:03:45give them access to a real human due to
  5576. 3:03:47the potential delays that come from it.
  5577. 3:03:48Right? You land in a website and you're
  5578. 3:03:50you're shopping around for a different
  5579. 3:03:51service or product and then there's this
  5580. 3:03:53this contact form or there's a a web
  5581. 3:03:55chat widget and you're going to go well
  5582. 3:03:56I don't really think I'm going to get
  5583. 3:03:57the help that I really need here at the
  5584. 3:03:58at the speed that I want. So you might
  5585. 3:04:00look for a WhatsApp widget and you know
  5586. 3:04:02that if you click that WhatsApp widget
  5587. 3:04:03you're going to get to speak directly to
  5588. 3:04:04someone and this is kind of playing on
  5589. 3:04:06that fact that if you have the WhatsApp
  5590. 3:04:08option on your uh website people are
  5591. 3:04:10much more likely to just click that and
  5592. 3:04:11go through and try to have a
  5593. 3:04:12conversation directly to get what they
  5594. 3:04:14want. So by having a WhatsApp option on
  5595. 3:04:16a website or other triggers eg you can
  5596. 3:04:18have a QR code that you could stick on
  5597. 3:04:20say a real estate sign and you build an
  5598. 3:04:21agent connect it to your WhatsApp number
  5599. 3:04:23like we're going to do here and then you
  5600. 3:04:24create a QR code that people can scan
  5601. 3:04:26and immediately open WhatsApp and start
  5602. 3:04:28chatting with it. There's lots of
  5603. 3:04:29different ways that you can have an
  5604. 3:04:30access point into a WhatsApp agent like
  5605. 3:04:32this. But it basically opens up more
  5606. 3:04:34conversations through a more smartphone
  5607. 3:04:36native platform. So they can hop on
  5608. 3:04:38their phone and sort of have a chat away
  5609. 3:04:39to it rather than being on a website on
  5610. 3:04:40the computer or a little tiny website
  5611. 3:04:42chatbot on their phone. Um, in order to
  5612. 3:04:45essentially engage more prospects or
  5613. 3:04:47more people interested in the business
  5614. 3:04:48in conversation, quickly provide value
  5615. 3:04:51through either the knowledge base and
  5616. 3:04:52these tools here and real-time quotes.
  5617. 3:04:54And ultimately, because you're providing
  5618. 3:04:56that instant value and instant feedback
  5619. 3:04:57from them, collect their lead
  5620. 3:04:59information, or better yet, even set
  5621. 3:05:01appointments through WhatsApp, which you
  5622. 3:05:02can build on agenda. But that use case
  5623. 3:05:04is a little bit more advanced and not
  5624. 3:05:05something I can show within this video,
  5625. 3:05:07but it definitely is possible. But it's
  5626. 3:05:08really only a few steps away from the
  5627. 3:05:10skills that you've learned in this video
  5628. 3:05:11so far. So keep an eye on that
  5629. 3:05:12appointment setting use case because if
  5630. 3:05:14you can do that with AI agent, it's a
  5631. 3:05:16very, very valuable one. And I've done
  5632. 3:05:17other videos on the channel here showing
  5633. 3:05:19you how to do that. So, the usage of
  5634. 3:05:20this is that they're going to find the
  5635. 3:05:22uh company's WhatsApp number on their
  5636. 3:05:24website or elsewhere, maybe a QR code
  5637. 3:05:26like I said, and they're going to start
  5638. 3:05:27a conversation on WhatsApp, and then the
  5639. 3:05:29agent is immediately going to jump in
  5640. 3:05:30and start responding and be able to
  5641. 3:05:31answer from the knowledge base, generate
  5642. 3:05:33quotes, and then capture their lead
  5643. 3:05:34information. So, without further ado,
  5644. 3:05:36let's jump into building this agent. So,
  5645. 3:05:37we can click up here to go to my
  5646. 3:05:39website, Agentive. You can click on
  5647. 3:05:41register now. You can just register with
  5648. 3:05:42your Google account. I'm going to log in
  5649. 3:05:44with mine.
  5650. 3:05:48It is free to make an account and we
  5651. 3:05:50have a free plan so you can just
  5652. 3:05:51experiment around as much as you need
  5653. 3:05:52and then you're only going to be charged
  5654. 3:05:53based on the amount of usage you use. So
  5655. 3:05:55it's very very cheap and affordable and
  5656. 3:05:57I wanted to make this platform for you
  5657. 3:05:58guys to all get on and experiment with
  5658. 3:06:00building AI agents without coding. That
  5659. 3:06:02was really the the core of why we
  5660. 3:06:03started this whole thing. So we've got
  5661. 3:06:05the dashboard here which will load in my
  5662. 3:06:06data in a
  5663. 3:06:07second. So you can see here what the
  5664. 3:06:09dashboard will look like when you've got
  5665. 3:06:10your own agents running. We are running
  5666. 3:06:12the Agentive customer support chatbot
  5667. 3:06:14through this uh through this account
  5668. 3:06:16that I'm I'm using right now. So you can
  5669. 3:06:18see usage costs very cheap sessions etc.
  5670. 3:06:20So it's really cool when you go into
  5671. 3:06:21analytics and you can use agentive to
  5672. 3:06:23see how people are using your agents but
  5673. 3:06:25that's obviously something for a little
  5674. 3:06:26bit later once you put these into
  5675. 3:06:27production. Uh now what we're going to
  5676. 3:06:29do is of course we can go to agents or
  5677. 3:06:30we can just create an agent from here
  5678. 3:06:33and I call this um Connor's cleaning
  5679. 3:06:36WhatsApp agent. Oh we got a little
  5680. 3:06:39description as well. um answers
  5681. 3:06:41questions from KB provides real
  5682. 3:06:48time so answers questions from the
  5683. 3:06:50knowledge base provides real-time
  5684. 3:06:52cleaning quotes and can capture leads to
  5685. 3:06:54air table. So you're going to see the
  5686. 3:06:55setup is a lot faster than some of these
  5687. 3:06:57other platforms. Again, I'm not not
  5688. 3:06:59trying to gas myself up here. It's just
  5689. 3:07:01a different way of approaching u
  5690. 3:07:02building agents. So it's a lot more fast
  5691. 3:07:04and and rapid prototyping and easy to
  5692. 3:07:06get things up and running. Of course, if
  5693. 3:07:08you need much more advanced
  5694. 3:07:08functionality, you do need to go the
  5695. 3:07:10extra mile and go on to platforms like
  5696. 3:07:12Voice Flow. But in this case, we have a
  5697. 3:07:13prompt, very easy. We have a knowledge
  5698. 3:07:15and we have tools. So, remember when we
  5699. 3:07:16went back to being a a chef and the
  5700. 3:07:18three ingredients concept, these are
  5701. 3:07:20your three ingredients, right? The
  5702. 3:07:21prompt that you get to provide as the
  5703. 3:07:23instructions, the knowledge that you
  5704. 3:07:24provide as the external knowledge base
  5705. 3:07:26and the tools that we can connect to it
  5706. 3:07:28as well. And we can select the model
  5707. 3:07:29here. So, I think I want a nice and
  5708. 3:07:31snappy response time because this is
  5709. 3:07:33going to be on WhatsApp and customerf
  5710. 3:07:34facing. So I'll go to GPT4 mini. So it's
  5711. 3:07:38nice and quick. Now we can just put a
  5712. 3:07:39test test test in there or you are a
  5713. 3:07:44help. Just put that in there for now as
  5714. 3:07:46the prompt. The knowledge base we can
  5715. 3:07:48turn this on. We can create a new
  5716. 3:07:50knowledge base. Call
  5717. 3:07:55this. We're going to click here and
  5718. 3:07:57we're going to upload that same file
  5719. 3:07:58that we used on voice flow. The same
  5720. 3:08:00document that will be available in the
  5721. 3:08:01resources for this uh for this
  5722. 3:08:03particular guide. Give that a second to
  5723. 3:08:05process. Once this goes green, we're
  5724. 3:08:06good to upload it. And you can add
  5725. 3:08:07multiple files in here. We allowed five
  5726. 3:08:09files at a time, but you can add dozens
  5727. 3:08:11and dozens of files. So, you have a
  5728. 3:08:12massive knowledge base to work
  5729. 3:08:15with. And just like that, we have
  5730. 3:08:17connected our knowledge base. And the
  5731. 3:08:19cool thing about Agent is because we're
  5732. 3:08:20built on the assistance API, this is
  5733. 3:08:22actually an independent knowledge base.
  5734. 3:08:24So, you can create a knowledge base and
  5735. 3:08:25connect it to multiple different agents.
  5736. 3:08:27The the knowledge is not restricted to
  5737. 3:08:28the agent that you build it within. So,
  5738. 3:08:30I can go and create a new agent and
  5739. 3:08:31connect this exact same knowledge base.
  5740. 3:08:32And I have all of these other ones here.
  5741. 3:08:34And then when we go into the tools
  5742. 3:08:35section, we are going to have two tools
  5743. 3:08:36for this. Well, the knowledge base, if
  5744. 3:08:38we go back to our Figma here,
  5745. 3:08:40technically the knowledge base is a form
  5746. 3:08:41of tool that the agent is using. But on
  5747. 3:08:44platforms like the assistance API and
  5748. 3:08:45and many platforms, you'll see knowledge
  5749. 3:08:47treated as its own thing, but
  5750. 3:08:49essentially it is just another tool that
  5751. 3:08:50the agent is using at the right time
  5752. 3:08:52when it needs to pull in knowledge to
  5753. 3:08:54answer questions. So, OpenAI separates
  5754. 3:08:56it out into its own thing here. And so
  5755. 3:08:58do we because we built on top of it. So
  5756. 3:09:00we do have three different tools but
  5757. 3:09:02knowledge is its own tool that gets set
  5758. 3:09:03up through this knowledgebased um
  5759. 3:09:05connection that we just made before.
  5760. 3:09:07Then we have the tools and here we have
  5761. 3:09:09our instant quote from relevance and we
  5762. 3:09:11have our capture lead information. So we
  5763. 3:09:12know the process of going on to
  5764. 3:09:14relevance. So we can just go create a
  5765. 3:09:15new tool here and this is going to show
  5766. 3:09:17you a schema. Remember back to when we
  5767. 3:09:19talked about schemas it explains to the
  5768. 3:09:21agent how to use the tool. So to add a
  5769. 3:09:23tool to this agent we need to add a
  5770. 3:09:25schema to it. And thankfully our buddies
  5771. 3:09:27at relevance AI provide a very very easy
  5772. 3:09:29way to create schemas to import into
  5773. 3:09:31agents like on aentive. So here I can
  5774. 3:09:33grab that same cost estimate tool for
  5775. 3:09:35the instant quotation for cleaning
  5776. 3:09:36services that we've used previously.
  5777. 3:09:38Again this will be linked. You can just
  5778. 3:09:39clone this if you haven't got it
  5779. 3:09:40already. I will provide a link for you
  5780. 3:09:42to clone this into your relevant account
  5781. 3:09:43that will be in the resources for this
  5782. 3:09:45video. And it's just like the previous
  5783. 3:09:47tutorial that we did where it's got
  5784. 3:09:48property type square footage and an LLM
  5785. 3:09:50step here to calculate it. It's going to
  5786. 3:09:52spit that back and we're going to turn
  5787. 3:09:54that into a nice response uh with our
  5788. 3:09:56agent on Agent. We can make sure that
  5789. 3:09:57we've saved this. So, the cool thing
  5790. 3:09:58here is that in order to get this
  5791. 3:10:00connected to uh Agent and our agent over
  5792. 3:10:02there, we can just go to custom actions
  5793. 3:10:04here on the tools page. As you can see
  5794. 3:10:06here, it's mainly intended for use with
  5795. 3:10:08OpenAI's custom GPTs, which you can get
  5796. 3:10:10access through chat GPT. And I highly
  5797. 3:10:12recommend you do check out the OpenAI
  5798. 3:10:14GPTs because it's a super simple way to
  5799. 3:10:15spin up your own agents um on the chat
  5800. 3:10:17GPT site. And so, we can select our tool
  5801. 3:10:19here and we can get a schema for it. But
  5802. 3:10:21what I've just realized is that I
  5803. 3:10:22actually do have an air table lead
  5804. 3:10:24capture tool here that I've already
  5805. 3:10:25created on relevance. And it's actually
  5806. 3:10:26going to be easier for us to set it up
  5807. 3:10:28here on relevance than to have to do it
  5808. 3:10:30all separately. So let's just quickly
  5809. 3:10:31set that up. Now if we go air table,
  5810. 3:10:35let's just get a simple one that
  5811. 3:10:36captures the name and phone. I'll
  5812. 3:10:38provide the template for this tool so
  5813. 3:10:39you can clone it in. But basically it
  5814. 3:10:41takes an input of the name of the lead
  5815. 3:10:42and the email address of the lead and
  5816. 3:10:44the phone as well. So, it's capturing
  5817. 3:10:46all three of these as lead information
  5818. 3:10:48and then it's sending it over to Air
  5819. 3:10:49Table which we're going to set up just
  5820. 3:10:51now and it's using a post request to
  5821. 3:10:53push that data that we collected here
  5822. 3:10:55and we will collect through WhatsApp
  5823. 3:10:56eventually and it's pushing it into the
  5824. 3:10:58Air Table database. So, let's get that
  5825. 3:11:00set up quickly. If you go to Air
  5826. 3:11:05Table and I'm just going to use a dummy
  5827. 3:11:07CRM that I use for all of these
  5828. 3:11:09tutorials and you guys are going to be
  5829. 3:11:10able to clone this if you want. In the
  5830. 3:11:11resources for this video, there will be
  5831. 3:11:12a link like this. So, if I share this um
  5832. 3:11:15share
  5833. 3:11:18publicly, you guys will get something
  5834. 3:11:20that looks a bit like this and this
  5835. 3:11:22button up here says copy base. That will
  5836. 3:11:24copy it into your account. So, all you
  5837. 3:11:26need to do to copy this air table base
  5838. 3:11:27is to create an air table account and
  5839. 3:11:29then click on this copy base and it will
  5840. 3:11:30copy it over. So, you can get this with
  5841. 3:11:32the column source preset up. It is
  5842. 3:11:34fairly easy to set up these fields
  5843. 3:11:35yourself, but I want to make it easier
  5844. 3:11:36for you guys. So, you can just copy
  5845. 3:11:37this. It'll be included in the
  5846. 3:11:38resources. But here we have the fields
  5847. 3:11:40that we're looking for. So now all we
  5848. 3:11:42need to do to send data into this
  5849. 3:11:43database through our WhatsApp based
  5850. 3:11:45agentive agent. So when someone provides
  5851. 3:11:47their details that it gets shot into
  5852. 3:11:48here is we need to go and see our
  5853. 3:11:50details for the air tableable web API.
  5854. 3:11:52So air tableable has their own API which
  5855. 3:11:54allows us to interact with our databases
  5856. 3:11:56like this programmatically. So all we
  5857. 3:11:58need to do is go up to the right hand
  5858. 3:11:59corner here go to builder hub and if we
  5859. 3:12:02go to the developer docs here and scroll
  5860. 3:12:04down to the web
  5861. 3:12:06API this is a reference for the air
  5862. 3:12:08table web API. So this documentation is
  5863. 3:12:10essentially going to tell us how to
  5864. 3:12:11interact with our air table
  5865. 3:12:13programmatically through our agents and
  5866. 3:12:14through voice flow and through relevance
  5867. 3:12:16and and through agentive as well. So any
  5868. 3:12:18way you want to interact with it, you
  5869. 3:12:19can now take this knowledge that you've
  5870. 3:12:21gained in this video look through this
  5871. 3:12:22and model what we're going to do here in
  5872. 3:12:24relevance. You can take that same idea
  5873. 3:12:25and put it into say voice flow and you
  5874. 3:12:27can build an air table integration
  5875. 3:12:28within voice flow yourself where you can
  5876. 3:12:30send and pull data. So these skills all
  5877. 3:12:32stack on top of each other and it really
  5878. 3:12:33centers around understanding how APIs
  5879. 3:12:35work and that comes down to reading
  5880. 3:12:37documentation as well. So in this case,
  5881. 3:12:39if you go back to our relevance tool
  5882. 3:12:41here, we need to get our URL, which is
  5883. 3:12:44our endpoint, which we've talked about
  5884. 3:12:45before. This is the address that we are
  5885. 3:12:46sending the request to and agentive
  5886. 3:12:49where we're building the agent. It's
  5887. 3:12:50going to be using relevance to call air
  5888. 3:12:52table. It's a bit of a a roundabout way
  5889. 3:12:53of doing things. But to get all of this
  5890. 3:12:55information, the easiest way is to go
  5891. 3:12:57back to this documentation. And the
  5892. 3:12:59easiest way for us to find the
  5893. 3:13:00information that allows us to interact
  5894. 3:13:02with our own Air Table base that we're
  5895. 3:13:03setting up, is to come down here and
  5896. 3:13:05find the base that you've just cloned
  5897. 3:13:07into your account, which will likely be
  5898. 3:13:08Smith Solar CRM. Don't worry about the
  5899. 3:13:10name. And Air Table does a really,
  5900. 3:13:11really good job of making this super
  5901. 3:13:13easy. And that we can just come here to
  5902. 3:13:14the leads table. So, if we go back to um
  5903. 3:13:17Air Table here, you see we are on the
  5904. 3:13:20leads table. We have these different
  5905. 3:13:21tabs. You can just ignore these are just
  5906. 3:13:22different projects that I've done on
  5907. 3:13:24YouTube. Um they're all kind of there in
  5908. 3:13:25case people are also cloning this into
  5909. 3:13:27their account. But we're looking at the
  5910. 3:13:28leads tab here. So, we go to the leads
  5911. 3:13:30here and we want to create records. And
  5912. 3:13:33then it gives us all of the information
  5913. 3:13:34we need here in order to create records.
  5914. 3:13:36So, um you can see that it's a post
  5915. 3:13:38request and it's got
  5916. 3:13:41HTTPS and all of this information. So,
  5917. 3:13:44this is the endpoint. We want to copy
  5918. 3:13:45all of this all the way down to leads.
  5919. 3:13:47Copy this. Go back to
  5920. 3:13:50relevance and paste this in. Oh, maybe
  5921. 3:13:53that was already there. And paste that
  5922. 3:13:55in there. And then we need to add in two
  5923. 3:13:57headers. So we have authorization and
  5924. 3:13:59content type. Now remembering what we
  5925. 3:14:00learned before, you can see we have H
  5926. 3:14:02and this H tag means that there's a
  5927. 3:14:04header. And so the header is
  5928. 3:14:06authorization. And then the value is
  5929. 3:14:08going to be bearer and then our token.
  5930. 3:14:10This is something that tripped me up
  5931. 3:14:11when I was first learning this uh using
  5932. 3:14:13APIs. Is that you need to add this
  5933. 3:14:16bearer word and then a space and then
  5934. 3:14:18your API key. It's a weird way of doing
  5935. 3:14:19things. I don't really know why uh why
  5936. 3:14:21it's like that but sometimes when you're
  5937. 3:14:23doing these authorizations you need to
  5938. 3:14:25add in bearer space and then your API
  5939. 3:14:27key. So it's it's there for a reason um
  5940. 3:14:29is what I'm saying. And then we have the
  5941. 3:14:30content type being application JSON. So
  5942. 3:14:33we're already familiar with that. So
  5943. 3:14:34going back to relevance we have the
  5944. 3:14:36header of authorization and content type
  5945. 3:14:38here. Application JSON. And now we need
  5946. 3:14:40to add in our Air Table API key so that
  5947. 3:14:42we are authenticated and we have
  5948. 3:14:44permission to send an API request. So
  5949. 3:14:46they're not going to let anyone use this
  5950. 3:14:47details and and start sending data to
  5951. 3:14:49our our database, right? They need to be
  5952. 3:14:51authenticated and that's what API keys
  5953. 3:14:53do. So to get our Air Table API key, of
  5954. 3:14:55course, we go to Air Table. We can come
  5955. 3:14:57up to the top right here, go back to our
  5956. 3:14:59builder
  5957. 3:15:00hub, go to personal access
  5958. 3:15:03tokens, and we can create a new token.
  5959. 3:15:06Call this
  5960. 3:15:07YouTube. We can go um add the base. This
  5961. 3:15:11will be um Smith's Solar CRM. We can add
  5962. 3:15:15a scope
  5963. 3:15:18read write and sometimes I find it handy
  5964. 3:15:20to have the schemas read in there as
  5965. 3:15:22well. So basically what we're doing here
  5966. 3:15:23is saying that I give this API key that
  5967. 3:15:25we're creating permission to interact
  5968. 3:15:27with this uh this air table and I give
  5969. 3:15:29it permissions to do these things like
  5970. 3:15:31read what's in the database write to the
  5971. 3:15:33databases and create new things and also
  5972. 3:15:35to see the overall structure of the base
  5973. 3:15:36and the field types. So we can add that
  5974. 3:15:39and create the token. We get this token,
  5975. 3:15:41head back to relevance. And again, this
  5976. 3:15:43template so that you can clone it into
  5977. 3:15:45your account is going to be on the uh on
  5978. 3:15:47the resources. So, if you're following
  5979. 3:15:48along, you should just clone it into
  5980. 3:15:49your account and then come down here and
  5981. 3:15:51make the changes as I do them. So, we
  5982. 3:15:52can add a make sure we have a space
  5983. 3:15:54after bearer and then paste our key
  5984. 3:15:56because if we go back to the web API
  5985. 3:15:57docs, we can see we have authorization
  5986. 3:15:59bearer space your API key content type
  5987. 3:16:02and then application/json. Then we have
  5988. 3:16:03the data as the payload. Remember, like
  5989. 3:16:05this is what's inside the envelope. Then
  5990. 3:16:08we have records and we have the fields
  5991. 3:16:10name, phone, and status. And then it's
  5992. 3:16:11provided us an example of how we would
  5993. 3:16:13send data into that which we don't need
  5994. 3:16:14to worry too much about because I've
  5995. 3:16:16already got this fitted in here. It can
  5996. 3:16:17be quite fiddly. In fact, for this I'm
  5997. 3:16:19actually going to add another field in
  5998. 3:16:21here. This is one thing about relevance
  5999. 3:16:23I'm not a huge fan of. This can feel
  6000. 3:16:25super fiddly
  6001. 3:16:27sometimes. So if we go
  6002. 3:16:30email, this will already be in the
  6003. 3:16:32template that I give you, by the way.
  6004. 3:16:34Email. Why would that delete that?
  6005. 3:16:43Okay, so we have the URL has been
  6006. 3:16:45updated. The method is post. That's
  6007. 3:16:47correct. We have the authentication. We
  6008. 3:16:48have the content type. We have the body
  6009. 3:16:50all set up. We've added in our fields of
  6010. 3:16:54name, phone, and email, which we have
  6011. 3:16:56name, email, and phone. So, we can give
  6012. 3:16:59it a spin here. If we say
  6013. 3:17:01Liam, there we go.
  6014. 3:17:06and we give it a spin. Run the
  6015. 3:17:09tool. We'll see if it accepts
  6016. 3:17:18us. Yep. And there we go. If we go back
  6017. 3:17:21to Air
  6018. 3:17:22Table, open the base
  6019. 3:17:24up. There we have it. Liam phone email.
  6020. 3:17:27So, we can take this tool and we can
  6021. 3:17:29take the instant quote generator. we can
  6022. 3:17:31put those into uh Agent and before you
  6023. 3:17:33know it, we're going to have our agent
  6024. 3:17:35ready to go. So, let's head back to
  6025. 3:17:36relevance here. We'll save this tool and
  6026. 3:17:39we'll change this to name,
  6027. 3:17:41email, and phone. Um, and just quickly
  6028. 3:17:44before we do that integration, this is
  6029. 3:17:46when the description comes into play
  6030. 3:17:48here. Remember those natural language
  6031. 3:17:49descriptions of what the tool does, what
  6032. 3:17:52each of the parameters and inputs are.
  6033. 3:17:53It's really important to get these right
  6034. 3:17:55in relevance, and I see a lot of people
  6035. 3:17:56skipping over this step, but this is
  6036. 3:17:58what's going to be put into that schema,
  6037. 3:17:59right? So when relevance generates a
  6038. 3:18:01schema for us, that onepage manual on
  6039. 3:18:03how to use this tool and use the API in
  6040. 3:18:05order to interact with this
  6041. 3:18:07functionality when we give it into
  6042. 3:18:09agentive, it's going to be reading over
  6043. 3:18:11everything in there. And it's going to
  6044. 3:18:12be those little descriptions around what
  6045. 3:18:13the tool does and what it's supposed to
  6046. 3:18:15take in. And and these parts here in
  6047. 3:18:17relevance is where we get to set that
  6048. 3:18:18up. A proper description is needed
  6049. 3:18:20before we do this integration. So this
  6050. 3:18:22tool captures lead information, stores
  6051. 3:18:23in Air Table CRM, requires lead's name,
  6052. 3:18:26phone, and email. Name, phone, and
  6053. 3:18:27email. The name is name of the lead.
  6054. 3:18:29Yep. Email, email address of the lead
  6055. 3:18:31and phone is the phone number of the
  6056. 3:18:32lead. So that's all good there and ready
  6057. 3:18:35to
  6058. 3:18:37integrate. Might even do a quick check
  6059. 3:18:39on the sparkly cost estimate as
  6060. 3:18:43well. Yep. Type of property, square
  6061. 3:18:47footage of the property, and we are
  6062. 3:18:49ready to go. So now we can click on the
  6063. 3:18:50custom action step here. Scroll down and
  6064. 3:18:53click on both of these. Bam. Bam.
  6065. 3:18:59Scroll down. We're going to change this
  6066. 3:19:00to custom orth. We're going to generate
  6067. 3:19:03an API
  6068. 3:19:05key. There we go. And we're going to
  6069. 3:19:07generate our open API, not open AI, open
  6070. 3:19:10API. It's essentially a type of API and
  6071. 3:19:12a way of describing how the API works.
  6072. 3:19:14And it gives us all of this information
  6073. 3:19:16here. I will actually expand it out so
  6074. 3:19:17you guys can see at least some of it.
  6075. 3:19:20It's probably easier over on agentive
  6076. 3:19:21actually. And then we head back to
  6077. 3:19:23agentive.
  6078. 3:19:25What we can do is paste in the
  6079. 3:19:28schema. And now if we scroll through
  6080. 3:19:30this quickly, I just want you to see
  6081. 3:19:31what a schema looks like under the hood
  6082. 3:19:32because we have some important parts uh
  6083. 3:19:34that's going to really connect the dots
  6084. 3:19:35for you after everything that we've
  6085. 3:19:36learned in this video. So I'll zoom in a
  6086. 3:19:38bit here. Um we have the title of the
  6087. 3:19:41tool. So we have a few key things in
  6088. 3:19:42here that we can break down. Basically
  6089. 3:19:44the paths. We have two paths in here.
  6090. 3:19:46This is one of them and this is the
  6091. 3:19:48other. These represent the two tools
  6092. 3:19:50that we are integrating. You can see one
  6093. 3:19:52here is the operation ID is basically
  6094. 3:19:54the name of the tool and that is taken
  6095. 3:19:56from relevance directly the air table
  6096. 3:19:57lead capture and the summary here is the
  6097. 3:19:59actual name or the title of the tool
  6098. 3:20:00that we had in relevance. This is just a
  6099. 3:20:02a version where they put in um
  6100. 3:20:04underscores to connect the uh the gaps
  6101. 3:20:06and the description here you can see
  6102. 3:20:07it's the same as a description that we
  6103. 3:20:09set up over I don't want to go back on
  6104. 3:20:11there but that was a description that we
  6105. 3:20:12put under the name to describe what the
  6106. 3:20:14tool does and then as for the inputs
  6107. 3:20:16relevance has made it a little bit more
  6108. 3:20:18complicated by putting a schema in here.
  6109. 3:20:19Um, so we'll cover that in a second, but
  6110. 3:20:21basically here's the second tool.
  6111. 3:20:22Sparkly cost estimate. This tool does
  6112. 3:20:24this. This about estimating the cost of
  6113. 3:20:26an apartment. Then down here we have the
  6114. 3:20:28schemas for the inputs. So we have
  6115. 3:20:30things like the name. This is for the
  6116. 3:20:32lead capture tool. The name um this is
  6117. 3:20:35one of the fields. It's going to be in
  6118. 3:20:36type string and it's required. We have
  6119. 3:20:38the email which is type string which is
  6120. 3:20:40required. And we have the email which is
  6121. 3:20:42a description
  6122. 3:20:43here. And of course you can see all the
  6123. 3:20:45descriptions that we put in on relevance
  6124. 3:20:47showing up here. then the phone number
  6125. 3:20:49of the lead, the email of the lead, etc.
  6126. 3:20:50And here it's specifying how the AI
  6127. 3:20:52agent should be sending inputs into
  6128. 3:20:54that. So that's probably the most
  6129. 3:20:55difficult technical part of this whole
  6130. 3:20:56video, but I did want to give you a bit
  6131. 3:20:58of context on how that kind of fits
  6132. 3:20:59together. This is quite a complex
  6133. 3:21:01schema. Relevance puts it together in a
  6134. 3:21:03little bit more complex way um by using
  6135. 3:21:05these uh these schemas for the inputs
  6136. 3:21:07down here. But long story short, if we
  6137. 3:21:09then go to the add or button, we need to
  6138. 3:21:11set up our authentication, which we can
  6139. 3:21:14do by coming back to relevance and
  6140. 3:21:15copying this. We go back to here, paste
  6141. 3:21:18this in. We go custom orth and we go
  6142. 3:21:22authorize a
  6143. 3:21:24orization with a
  6144. 3:21:27zed. Oh, I need to create the tool.
  6145. 3:21:30Sorry. So, we can just click create
  6146. 3:21:32tool. So, the tool has been created
  6147. 3:21:34successfully. And there we go. We have
  6148. 3:21:36both of the tools added in because we
  6149. 3:21:38did them both in one bundle on
  6150. 3:21:39relevance. And then if we go edit off,
  6151. 3:21:42we can then put in API keys for both of
  6152. 3:21:44these so that we have permission to use
  6153. 3:21:55them. And we can do the same for this
  6154. 3:22:03one. And there we go. Now we have our
  6155. 3:22:05knowledge set up, our two tools set up,
  6156. 3:22:08and you can see that we're pretty darn
  6157. 3:22:09close to completing this build. We have
  6158. 3:22:11all of these three done. Might as well
  6159. 3:22:13make them green for the sake of it. And
  6160. 3:22:16now the only thing left to do is to
  6161. 3:22:17write a prompt that connects this all
  6162. 3:22:19together. And that's really the glue
  6163. 3:22:20that holds it together. My go-to method
  6164. 3:22:21of rapidly creating prompts for AI
  6165. 3:22:23agents is using a relevance tool. Um,
  6166. 3:22:28perfect that I've created, and I I said
  6167. 3:22:30I'd give this to you guys for free as
  6168. 3:22:31well. That's going to be included in the
  6169. 3:22:33resources. But if I go to use
  6170. 3:22:35here, it's a prompt writer that includes
  6171. 3:22:38all of the information from how we do
  6172. 3:22:40prompting at Morningside, which is based
  6173. 3:22:41on research and includes all the key
  6174. 3:22:43things like RO, task, specifics,
  6175. 3:22:45context, um, explaining how to use the
  6176. 3:22:46tools that it's been provided as well.
  6177. 3:22:48So, I'm just going to fill this out
  6178. 3:22:49quickly here and then get a prompt. And
  6179. 3:22:50you guys can steal my prompt from the
  6180. 3:22:52resources or you can use this as well to
  6181. 3:22:54create your own. But, it's a pretty good
  6182. 3:22:56exercise because you can see here we
  6183. 3:22:57have the agent name being
  6184. 3:23:04Um, and what I like to do here is, so
  6185. 3:23:06this is just a quick rundown of what the
  6186. 3:23:07agent does, where it is being deployed,
  6187. 3:23:09and
  6188. 3:23:18why. So you can pause the video and look
  6189. 3:23:20at that there. But just a bit of context
  6190. 3:23:21on what the agent does, where it is
  6191. 3:23:23being deployed, and why. Conversions
  6192. 3:23:25context, we can say
  6193. 3:23:36knowledge context. We can say with a
  6194. 3:23:43contain. Then we get to the tools
  6195. 3:23:45available section and we can
  6196. 3:23:56say and then we have the other tool
  6197. 3:23:58which is uh
  6198. 3:24:07And then for the ideal input and output
  6199. 3:24:09examples, I'm just going to say none to
  6200. 3:24:13provide friendly helpful
  6201. 3:24:18assistant. And so just like that, in
  6202. 3:24:20maybe a few minutes, I've typed in all
  6203. 3:24:22of this information about the agent and
  6204. 3:24:23what it does. And now I can just click
  6205. 3:24:25run tool here. And it's going to take
  6206. 3:24:27all of this information, run it through
  6207. 3:24:29the prompt that I've written that bakes
  6208. 3:24:31in the best prompting practices for AI
  6209. 3:24:33agents from my experience and from the
  6210. 3:24:34projects that we do at Morningside AI
  6211. 3:24:36and also all the research that we've
  6212. 3:24:37used to make those prompting practices.
  6213. 3:24:39And it's going to spit us out an AI
  6214. 3:24:41agent prompt that we can throw straight
  6215. 3:24:42into Agent and it'll just glue
  6216. 3:24:44everything that we've done together,
  6217. 3:24:45tell it who it is and what it's trying
  6218. 3:24:46to do, tell it how it's supposed to use
  6219. 3:24:48the knowledge base, and tell it how and
  6220. 3:24:50when it's supposed to use those tools in
  6221. 3:24:51order to reach its objective of
  6222. 3:24:52capturing those leads for us via
  6223. 3:24:54WhatsApp. And there we go. So, if we
  6224. 3:24:56scroll down, we can see it's spit out
  6225. 3:24:58this entire prompt. I'm going to change
  6226. 3:24:59it to the raw text so we get all this
  6227. 3:25:01markdown formatting included. We can
  6228. 3:25:04view all here. I'm going to copy it all
  6229. 3:25:07and we're going to take it over to the
  6230. 3:25:10here and paste this in. And there we go.
  6231. 3:25:12Act as corner cleaning WhatsApp support
  6232. 3:25:14and lead generation agent. Engage with
  6233. 3:25:16potential customers on WhatsApp to
  6234. 3:25:17provide potential information about our
  6235. 3:25:19cleaning services. Answer FAQs. answer
  6236. 3:25:21off instant quotes
  6237. 3:25:23ra when pricing inquiries arise use the
  6238. 3:25:26instant quote generator tool tools you
  6239. 3:25:28have this tool and this tool examples
  6240. 3:25:30I'm just going to cut that out for now
  6241. 3:25:33and then notes ra so that should be all
  6242. 3:25:36good we can start to give this a spin
  6243. 3:25:37here I am going to zoom out a bit right
  6244. 3:25:38all right so I'm just going to publish
  6245. 3:25:39this and make sure that everything is
  6246. 3:25:41baked in the second and now we can chat
  6247. 3:25:44to it here um hey how's it
  6248. 3:25:47going actually slide this across
  6249. 3:25:51Um, I want to know where you guys are
  6250. 3:25:55located. There you go. Connor's cleaning
  6251. 3:25:57is located at XYZ. So, it's obviously
  6252. 3:25:59using the knowledge base correctly and
  6253. 3:26:00say, "What what services do you
  6254. 3:26:03provide?" And we're not asking about
  6255. 3:26:06pricing. So, it shouldn't go for the
  6256. 3:26:09quote or it might try to do it at the
  6257. 3:26:11end. Yes. So, see, it's asking if you
  6258. 3:26:13have any specific requirements, need a
  6259. 3:26:14quote, just let me know. Yeah, sure. I'd
  6260. 3:26:16like like a quote. Boom. I need the
  6261. 3:26:19property type and square footage. It's a
  6262. 3:26:21house and it's 1,00 square ft. So now
  6263. 3:26:24the agent is trying to trigger that tool
  6264. 3:26:26by taking the house and taking the 1,00
  6265. 3:26:28and then putting them into the relevance
  6266. 3:26:30tool based off what the schema has told
  6267. 3:26:31it how to use the API. It's going to go
  6268. 3:26:33grab that from relevance, send it back
  6269. 3:26:35to us and there we go. Here are the
  6270. 3:26:37quotes for you. Ra, if you're interested
  6271. 3:26:39in any specific further service and need
  6272. 3:26:41assistant, just let me know. I can also
  6273. 3:26:42help you with booking. Now here I would
  6274. 3:26:44probably change the prompt and make it a
  6275. 3:26:45bit more forceful and say send me like
  6276. 3:26:48like let's go to the next step right
  6277. 3:26:49now. But for now it's good enough. Um we
  6278. 3:26:51can say uh sure I'd like to book a deep
  6279. 3:26:54clean. Now it should ask me for my lead
  6280. 3:26:58information. Okay. Huge
  6281. 3:27:01Jackman is the
  6282. 3:27:03name is the phone and huge Jack Jackman
  6283. 3:27:08is email.
  6284. 3:27:10We should be able to see if we go back
  6285. 3:27:12to our handy dandy air table
  6286. 3:27:14here. Huge popping up here.
  6287. 3:27:26Oh, bang. And huge Jackman is in the CRM
  6288. 3:27:31here. It does say that it's booked. I
  6289. 3:27:33would play around with the prompt a
  6290. 3:27:34little bit more to be like, hey, look,
  6291. 3:27:35this is just setting up the next step
  6292. 3:27:37for someone to call them and book in the
  6293. 3:27:38service. But you can also do appointment
  6294. 3:27:40setting through agentive as well. Again,
  6295. 3:27:41like I said, it's a little bit more
  6296. 3:27:42advanced than what we want to do here.
  6297. 3:27:44But as you can see, this is a very
  6298. 3:27:46different way of approaching building
  6299. 3:27:48agents because you tell it, you
  6300. 3:27:50basically provide all of the ingredients
  6301. 3:27:51and you use that kind of chef's
  6302. 3:27:52approach. The knowledge and the tools
  6303. 3:27:54and you connect it all up and you make
  6304. 3:27:55sure the tools have well described
  6305. 3:27:56schemas so they know how to use it and
  6306. 3:27:58they know when to trigger them. The
  6307. 3:27:59knowledge base has been included in the
  6308. 3:28:01prompt and also the tools as well have
  6309. 3:28:02been included in the prompt um telling
  6310. 3:28:04it how and when to use it. It's really a
  6311. 3:28:06much faster way of building agents from
  6312. 3:28:07the highle prompting and then people are
  6313. 3:28:10just asking and having sort of a free
  6314. 3:28:11flowing conversation with it. Okay. And
  6315. 3:28:12just quickly before we go to the step of
  6316. 3:28:14putting it onto WhatsApp which won't
  6317. 3:28:15take long at all. I do want to show you
  6318. 3:28:17how you can debug and when you're
  6319. 3:28:18working in agentive um it's helpful to
  6320. 3:28:20know when tools are being triggered and
  6321. 3:28:22why. So for example, if we go into the
  6322. 3:28:24transcripts here and we look at this big
  6323. 3:28:26transcript here with 14 messages that we
  6324. 3:28:27just had. Hey, how's it going? Ra. We
  6325. 3:28:31can see here it's using the tools and we
  6326. 3:28:33can hover over it and we can see it's
  6327. 3:28:34calling the tool with the URL. It's a
  6328. 3:28:36post method and we can see the data
  6329. 3:28:38here. I'll just zoom in on that. The
  6330. 3:28:40property type and the square footage
  6331. 3:28:42that was sent away to relevance are
  6332. 3:28:44here. So if you're having issues with
  6333. 3:28:45your tools or it's giving weird
  6334. 3:28:46responses, um you can either come in
  6335. 3:28:48here to the transcripts after the fact.
  6336. 3:28:49So say maybe this is on WhatsApp um and
  6337. 3:28:52something's going wrong or customers are
  6338. 3:28:54getting upset. You can come into the
  6339. 3:28:56transcripts here and pick through and
  6340. 3:28:57see what's going wrong with the tools.
  6341. 3:28:58And just like down here as well, the
  6342. 3:29:00lead capture, we can see the name,
  6343. 3:29:02email, and phone were all put into this
  6344. 3:29:03request and sent away to relevance AI.
  6345. 3:29:05And then onto Air Table as a second
  6346. 3:29:07step. Um, and you can also see the
  6347. 3:29:08output as well. So the output of the
  6348. 3:29:10tool is all in here. It's basically just
  6349. 3:29:13giving us a confirmation back from Air
  6350. 3:29:14Table that, yep, everything went well.
  6351. 3:29:16And up here, you can see the
  6352. 3:29:19output as uh the response with the deep
  6353. 3:29:22cleaning estimates and stuff like that.
  6354. 3:29:23You can see it a lot more easily if we
  6355. 3:29:25say, "Hey, can I get a quote?
  6356. 3:29:30Okay. And if you give this a second once
  6357. 3:29:32it's finished generating agentive will
  6358. 3:29:34then pop up this show usage and bang
  6359. 3:29:36there in the editor here. You can then
  6360. 3:29:37debug. Okay. How many tokens are being
  6361. 3:29:39used? How much is this costing? What was
  6362. 3:29:40the model? Um etc. And then you can see
  6363. 3:29:43the tools input here. Apartment 500 ft
  6364. 3:29:46etc. And the output as well. So it's
  6365. 3:29:47really easy to debug those tools while
  6366. 3:29:49you're in Agent. Let's make sure that
  6367. 3:29:50we've published
  6368. 3:29:51this. I'm going to publish it again. In
  6369. 3:29:54Agent, we do have version history. So,
  6370. 3:29:55if you do publish it and you want to
  6371. 3:29:57roll back or look at how you had it set
  6372. 3:29:58up previously, you can now see that I've
  6373. 3:30:00got two versions, V1 here, and I just
  6374. 3:30:02took away this little full stop here and
  6375. 3:30:04you can see that that's I've changed the
  6376. 3:30:06prompt. So you can update it over time.
  6377. 3:30:07You can make edits within Agentive here
  6378. 3:30:09and test test test. And then when you're
  6379. 3:30:11ready to push that to production and
  6380. 3:30:12basically if we had this on a WhatsApp
  6381. 3:30:14agent and say I published this,
  6382. 3:30:16connected to WhatsApp and it was working
  6383. 3:30:18and then I looked through the the
  6384. 3:30:19transcripts and something wasn't quite
  6385. 3:30:20how I liked it, I could come in here and
  6386. 3:30:22make edits and then test test and then
  6387. 3:30:24when I was ready to publish it, I click
  6388. 3:30:26publish and then it's going to push
  6389. 3:30:27those live to the agent. So you're not
  6390. 3:30:28going to mess things up by playing
  6391. 3:30:30around with things on here. So the final
  6392. 3:30:31step is of course to deploy it to
  6393. 3:30:32WhatsApp.
  6394. 3:30:36Go to the deploy tab here. You can then
  6395. 3:30:38click connect
  6396. 3:30:41WhatsApp. I'm going to click
  6397. 3:30:43continue, get started. You will of
  6398. 3:30:45course need a Facebook business manager
  6399. 3:30:47to set up this integration fully. That's
  6400. 3:30:48free with every Facebook account. So, if
  6401. 3:30:50you haven't got one already, I'll leave
  6402. 3:30:51a link in the description so that you
  6403. 3:30:52can set it up. Takes a few clicks. Then
  6404. 3:30:54you will see this page here. And you can
  6405. 3:30:55select the business manager you've
  6406. 3:30:56created. In this case, I'll be using
  6407. 3:30:58this testing one. And then you'll be
  6408. 3:30:59able to set up a new WhatsApp business
  6409. 3:31:00account, which I can click here. I'll go
  6410. 3:31:02next. set up a business account
  6411. 3:31:05name. And then this is the display name
  6412. 3:31:08for the business. And we're going to
  6413. 3:31:10call this a a retail business. Now, you
  6414. 3:31:14need to provide the phone number that
  6415. 3:31:15you want to connect your agent to. Um,
  6416. 3:31:16unfortunately, you can't have your own
  6417. 3:31:18personal WhatsApp number and also have a
  6418. 3:31:20business account running through it. So,
  6419. 3:31:21you need to either buy another SIM card
  6420. 3:31:23or borrow a friend's number who doesn't
  6421. 3:31:24have WhatsApp, etc. In this case, I'll
  6422. 3:31:26be using a spare number that I have.
  6423. 3:31:28Then, they're going to send you a
  6424. 3:31:29verification code to your number, which
  6425. 3:31:30you have to enter in. And then you
  6426. 3:31:32should see the screen once you've
  6427. 3:31:33successfully passed that verification.
  6428. 3:31:35So when we continue, it's verifying our
  6429. 3:31:37information for a second. And now our
  6430. 3:31:39agent is connected to that phone number
  6431. 3:31:40and we're ready to give it a test. So if
  6432. 3:31:42we go finish here, there's one more
  6433. 3:31:44thing that we need to do on Agentive,
  6434. 3:31:45which is to click this. Yours may say
  6435. 3:31:47not registered. Don't worry, you can
  6436. 3:31:48just click this check box here and click
  6437. 3:31:50confirm. Give it a second to connect.
  6438. 3:31:53Now we've successfully connected our
  6439. 3:31:54agent to that WhatsApp number. Now thing
  6440. 3:31:56here is this interval. If you're not
  6441. 3:31:58sure what the interval is, you can read
  6442. 3:31:59this tool tip here. And if you're done
  6443. 3:32:01with the deployment and you want to
  6444. 3:32:02remove it from that number, you can
  6445. 3:32:03always come back and click deactivate
  6446. 3:32:04deployment here. But all that's left to
  6447. 3:32:06do now is to test our functionality.
  6448. 3:32:07Right. So I have it connected to my
  6449. 3:32:09phone here. So I'm just going to show
  6450. 3:32:10you a little bit of a on screen here of
  6451. 3:32:12me creating this contact and having a
  6452. 3:32:13message with it. So the number that I
  6453. 3:32:15set up, I can create a new contact and
  6454. 3:32:17then I can send them a message.
  6455. 3:32:22Hey, and you can see on screen here it
  6456. 3:32:24says this is the business using a secure
  6457. 3:32:26service from Meta. So, this means this
  6458. 3:32:27is a business account um as we've
  6459. 3:32:29connected it through our WhatsApp uh
  6460. 3:32:30business profile that we set up
  6461. 3:32:33before. And there we go. We get a
  6462. 3:32:35message back. Hello, thank you for
  6463. 3:32:36sharing your information. How can I
  6464. 3:32:37assist you today? Um if you have any
  6465. 3:32:39questions about cleaning service or need
  6466. 3:32:40a quote, feel free to let me know. So, I
  6467. 3:32:42can say um yes, a quote. Let's ask a
  6468. 3:32:45question to the knowledge base. Where
  6469. 3:32:47are you
  6470. 3:32:51based? There we go. We are based in the
  6471. 3:32:53greater Boston area. It's giving me the
  6472. 3:32:55uh the correct location there. So, we
  6473. 3:32:57can go for the lead capture now. So, if
  6474. 3:32:58we say um I'd like a
  6475. 3:33:06quote. So, property type uh it's a house
  6476. 3:33:10that is
  6477. 3:33:12about 800 square
  6478. 3:33:18ft. There we go. We're getting the uh
  6479. 3:33:21estimations and our quote back. Um, it's
  6480. 3:33:23asking if we're interested in any of
  6481. 3:33:24these services. I'd say yes, I'd like
  6482. 3:33:27the deep cleaning,
  6483. 3:33:31please. Now, it should ask me for my
  6484. 3:33:33contact
  6485. 3:33:35information. There we go. So, Liam, I
  6486. 3:33:38mean, Liam at mail.
  6487. 3:33:41Cool. And then we should see it appear
  6488. 3:33:43over here on our Smith Solar
  6489. 3:33:46CRM. And boom, there it is. So, we've
  6490. 3:33:49got everything done. That is just one
  6491. 3:33:50run through of using this WhatsApp
  6492. 3:33:52agent. But as you can see, uh the the
  6493. 3:33:54messages don't come back instantly. So
  6494. 3:33:56it it feels like it is like it's
  6495. 3:33:58actually could be a real human there
  6496. 3:33:59applying and it's giving just clear
  6497. 3:34:01information right through WhatsApp.
  6498. 3:34:03Imagine you are reaching out to maybe
  6499. 3:34:04book an accommodation or you're reaching
  6500. 3:34:06out to a a cleaning service like this or
  6501. 3:34:08you're reaching out to any kind of
  6502. 3:34:09business and you want some real
  6503. 3:34:10information directly from what feels
  6504. 3:34:11like a person. And then you also have
  6505. 3:34:13the functions of getting a real quote of
  6506. 3:34:15I mean a great use case for this kind of
  6507. 3:34:17thing is like barbers. Like I say, if
  6508. 3:34:18you you message a barber on WhatsApp,
  6509. 3:34:20maybe you're in in Europe somewhere,
  6510. 3:34:22you're in South America or you're in
  6511. 3:34:23Central America or and and you want to
  6512. 3:34:25go to a barber and this is a common
  6513. 3:34:27issue that I've run into when I'm
  6514. 3:34:28traveling. It's like, I want to message
  6515. 3:34:29this barber, but I might not speak the
  6516. 3:34:32language that well. And then if you
  6517. 3:34:33message them in English, it will be able
  6518. 3:34:34to handle that in in English as well as
  6519. 3:34:36in Spanish or in Portuguese or wherever
  6520. 3:34:38you are. So, this kind of functionality
  6521. 3:34:39built through WhatsApp is a really
  6522. 3:34:40really great use case for you guys to
  6523. 3:34:41pick up, which is why I wanted to teach
  6524. 3:34:43you guys it. And we can also go back to
  6525. 3:34:45agentive here. And if we go to our
  6526. 3:34:47transcripts for this agent, we can see
  6527. 3:34:50the one for today is here. So 12
  6528. 3:34:51messages. You can go through the entire
  6529. 3:34:53transcript and you can see it's calling
  6530. 3:34:54the quote tool here. We see all the
  6531. 3:34:56information that went in and out of it.
  6532. 3:34:57And then we see the air table lead
  6533. 3:34:59capture information as well. Input and
  6534. 3:35:00output. So that is how you use a genty
  6535. 3:35:02my software for building these WhatsApp
  6536. 3:35:04based and also other deployments as
  6537. 3:35:05well. So if we go to studio and we go to
  6538. 3:35:07deploy, we have Instagram as well. So
  6539. 3:35:09via our mini chat template. You can hook
  6540. 3:35:10into Instagram and do appointment
  6541. 3:35:12settings and things on Instagram. You
  6542. 3:35:13can go through Messenger if you want to
  6543. 3:35:14run some Facebook lead ads to Messenger
  6544. 3:35:17through voice flow as well. Telegram,
  6545. 3:35:18Discord, we have integrations with
  6546. 3:35:20everything you need as well. So that's
  6547. 3:35:22the end of this build. I hope you
  6548. 3:35:23enjoyed and uh this is a super handy use
  6549. 3:35:25case um and and deployment really for
  6550. 3:35:27your AI
  6551. 3:35:32agents. So now that you understand how
  6552. 3:35:34AI agents works and can build them for
  6553. 3:35:36yourself, let's talk about the most
  6554. 3:35:38important part of this, which is
  6555. 3:35:39actually making money with these skills.
  6556. 3:35:41But first, we need to destroy a huge
  6557. 3:35:43misconception and that you don't need to
  6558. 3:35:45build the next chat GBT or create some
  6559. 3:35:47revolutionary AI startup in order to
  6560. 3:35:49make money in the AI space. The real
  6561. 3:35:51opportunity is much much simpler. It's
  6562. 3:35:53just helping businesses to understand
  6563. 3:35:55and implement AI. This is how I
  6564. 3:35:57monetized my AI agent skills and it has
  6565. 3:35:59been the most explosive growth I've ever
  6566. 3:36:01experienced in my career. And the good
  6567. 3:36:03news is, if you've made it this far in
  6568. 3:36:04the video, you are so much closer to
  6569. 3:36:06being able to tap into this starving
  6570. 3:36:08market for AI services than you think.
  6571. 3:36:10But don't take my word for it. I'm just
  6572. 3:36:11some guy on the internet after all.
  6573. 3:36:13Maybe you should listen to some of the
  6574. 3:36:14world's most famous businessmen saying
  6575. 3:36:15that this is the opportunity to get into
  6576. 3:36:17right now. If I was 25 years old today
  6577. 3:36:19in 2024, what would I do? What's a good
  6578. 3:36:22sector to get involved in? What business
  6579. 3:36:24would I get involved in? I think
  6580. 3:36:26everything is looking at AI now in a
  6581. 3:36:28different way. And I think AI growth is
  6582. 3:36:30going to be exponential. So, anything to
  6583. 3:36:32do with AI now, what could that be? In
  6584. 3:36:34the simplest form is helping people use
  6585. 3:36:36the technology. there's going to be a
  6586. 3:36:38massive amount of people wanting to use
  6587. 3:36:40it that don't know how to and they're
  6588. 3:36:41willing to pay to solve that pain point.
  6589. 3:36:44So, is that consulting? Not really. It's
  6590. 3:36:47implementation and execution. And so,
  6591. 3:36:50helping a business do that transfer into
  6592. 3:36:52a world where they're controlling their
  6593. 3:36:54data and getting information from it.
  6594. 3:36:56Now, the majority of businesses in
  6595. 3:36:58America, for example, are between 5 and
  6596. 3:37:00500 employees. So, they're small
  6597. 3:37:02businesses. They create 62% of the jobs.
  6598. 3:37:05They want to use AI. you should help
  6599. 3:37:07them solve for that and they'll pay you.
  6600. 3:37:09Even another shark, Mark Cuban, is
  6601. 3:37:11saying the exact same thing that the
  6602. 3:37:13biggest opportunity right now is helping
  6603. 3:37:14these small to mediumsiz businesses who
  6604. 3:37:16don't understand AI yet, but desperately
  6605. 3:37:19need it to keep up. And they're
  6606. 3:37:20absolutely right. If we look at the
  6607. 3:37:22data, it's pretty obvious. According to
  6608. 3:37:24recent data, there's 1.7 million
  6609. 3:37:26businesses in the US alone that are
  6610. 3:37:27making between $500,000 and $10 million
  6611. 3:37:30per year. These are small businesses,
  6612. 3:37:32which, as Kevin Oer says, make up 62% of
  6613. 3:37:35the jobs in the USA. They create 62% of
  6614. 3:37:37the jobs. They want to use AI. You
  6615. 3:37:40should help them solve for that and
  6616. 3:37:41they'll pay you. These businesses know
  6617. 3:37:43they need AI to stay competitive, but
  6618. 3:37:45they don't have the time to learn it
  6619. 3:37:46themselves. And there's basically no one
  6620. 3:37:48there to help them. All of the big
  6621. 3:37:50consulting firms are looking at other
  6622. 3:37:52big businesses and just leaving these
  6623. 3:37:53smaller businesses completely ignored,
  6624. 3:37:55but they still make lots of money and
  6625. 3:37:57they still have a lot of money to invest
  6626. 3:37:58in these kinds of services. Basically,
  6627. 3:38:00all small businesses are starving for
  6628. 3:38:01some kind of AI services, either
  6629. 3:38:03education services to help them
  6630. 3:38:05understand what AI is in the first place
  6631. 3:38:06and why they might need it. There's the
  6632. 3:38:08huge need for consulting services where
  6633. 3:38:10you help them to identify where AI can
  6634. 3:38:12help with them most in their particular
  6635. 3:38:13business. And of course, there's
  6636. 3:38:15implementation services where you help
  6637. 3:38:16them to build and maintain the AI
  6638. 3:38:18systems like the AI agents we've just
  6639. 3:38:20built. And right now, based on the data
  6640. 3:38:21collected in my community, and we are
  6641. 3:38:23the largest AI business community on the
  6642. 3:38:25planet right now, for every person or
  6643. 3:38:26agency that is currently offering AI
  6644. 3:38:28services, there are over 1,100
  6645. 3:38:30businesses in the USA alone that need
  6646. 3:38:32help. So, that's a 1 to 1,100 ratio,
  6647. 3:38:35which means this is a completely
  6648. 3:38:37untapped market. And that's where people
  6649. 3:38:38like you and I come in, helping these
  6650. 3:38:40hardworking small business owners to
  6651. 3:38:41understand AI and implement it so that
  6652. 3:38:44they have a chance to keep up. And
  6653. 3:38:45that's really what drives me and the
  6654. 3:38:46team at Morningside because our company
  6655. 3:38:48vision is a world where the benefits of
  6656. 3:38:50generative AI are distributed as fairly
  6657. 3:38:52as possible and they make it to people
  6658. 3:38:53like me and you and the small business
  6659. 3:38:56owners rather than just all going to
  6660. 3:38:57these giants at the top. And this whole
  6661. 3:38:58concept of selling services around an
  6662. 3:39:00emerging technology is nothing new. And
  6663. 3:39:02we saw the exact same pattern when the
  6664. 3:39:04internet first came out. Companies that
  6665. 3:39:05helped businesses to adapt to the web
  6666. 3:39:07and sort of get online made fortunes.
  6667. 3:39:09You know, agency.com, Razerfish, etc.
  6668. 3:39:11And I spotted this opportunity within
  6669. 3:39:13the AI space in 2023 when it wasn't
  6670. 3:39:15anywhere near as clear as it was now. No
  6671. 3:39:17one really knew how to make money out of
  6672. 3:39:18this stuff. And then I started Morning
  6673. 3:39:20Side AI. And since then, we've generated
  6674. 3:39:22over $5 million in selling these kinds
  6675. 3:39:24of AI services of education, consulting,
  6676. 3:39:26and implementation. And we're literally
  6677. 3:39:28still only just getting started. And the
  6678. 3:39:30best part out of all of this is that as
  6679. 3:39:31we've proved in this video already, you
  6680. 3:39:33don't need to be a technical genius to
  6681. 3:39:35understand AI and even to build AI
  6682. 3:39:37agents. You just need to be one step
  6683. 3:39:39ahead of the businesses that you're
  6684. 3:39:41going to be helping. So, let me show you
  6685. 3:39:42the three specific ways that you can
  6686. 3:39:44start making money with your AI agent
  6687. 3:39:47skills. So, as I said, there's basically
  6688. 3:39:49three types of services that you can
  6689. 3:39:51provide to businesses in order to
  6690. 3:39:52monetize your skills. Firstly, there's
  6691. 3:39:54education, and this is teaching
  6692. 3:39:56businesses about AI, running workshops,
  6693. 3:39:58and doing presentations, training their
  6694. 3:40:00teams, and creating courses for them to
  6695. 3:40:01watch. Businesses are desperate for
  6696. 3:40:03someone who can explain what this stuff
  6697. 3:40:05is in simple terms and more importantly
  6698. 3:40:07what it can do for them. After watching
  6699. 3:40:08this video and probably my other huge
  6700. 3:40:11video that I did on AI agents, which
  6701. 3:40:12I'll link down below, um you will know
  6702. 3:40:14more than enough to start educating
  6703. 3:40:16businesses on AI and AI agents. Secondly
  6704. 3:40:18is consulting. And this is where you
  6705. 3:40:20analyze a business's operations and you
  6706. 3:40:21show them where AI can help them save
  6707. 3:40:23time or make more money. You're
  6708. 3:40:25essentially being their AI strategist.
  6709. 3:40:27For example, you could go into a
  6710. 3:40:29business and then recommend something
  6711. 3:40:30like the sales co-pilot system that we
  6712. 3:40:32just made in order to help their
  6713. 3:40:34struggling sales department. And third
  6714. 3:40:35is implementation. So this is where you
  6715. 3:40:37actually build and deploy AI solutions
  6716. 3:40:39for businesses. Or better yet, like my
  6717. 3:40:41agency, you can do all three of these,
  6718. 3:40:43but it did take us 2 years to get here.
  6719. 3:40:45So there is really no rush. You just
  6720. 3:40:46pick where you want to enter and work
  6721. 3:40:48your way up to doing more and more if it
  6722. 3:40:49makes sense. Believe it or not, there
  6723. 3:40:51are people with only a few months
  6724. 3:40:52experience in the AI space selling all
  6725. 3:40:54of these right now. And the demand from
  6726. 3:40:56businesses is increasing insanely fast
  6727. 3:40:58right now. I we're seeing this at
  6728. 3:40:59Morningside. Just so many more
  6729. 3:41:00businesses reaching out. But here's the
  6730. 3:41:02thing. You have one small problem, and
  6731. 3:41:04that's that you don't quite know enough
  6732. 3:41:06to start moving on this. You are close,
  6733. 3:41:08but you're not quite there. The way to
  6734. 3:41:09make money in the AI space or with any
  6735. 3:41:11services really is to create a knowledge
  6736. 3:41:13gap between yourself and the people that
  6737. 3:41:15you're helping. Your knowledge gap is
  6738. 3:41:17your money maker, and businesses will
  6739. 3:41:18pay you in proportion to how much more
  6740. 3:41:20you know about AI agents and their
  6741. 3:41:22business applications than they do. Now,
  6742. 3:41:24while this video has taught you a lot,
  6743. 3:41:26your knowledge gap is still small. But
  6744. 3:41:28we can fix
  6745. 3:41:30that. So, let me break down exactly what
  6746. 3:41:33you need to do next in order to extend
  6747. 3:41:34your knowledge gap to the point where
  6748. 3:41:35you can start making money. We can call
  6749. 3:41:37this video as step one. So, as long as
  6750. 3:41:39you've taken notes and followed all the
  6751. 3:41:40tutorials and built the agents alongside
  6752. 3:41:42me, you're already ahead of most people
  6753. 3:41:44who have no idea about what agents are,
  6754. 3:41:46how they work, or how to build them. So,
  6755. 3:41:47it's a big step forward with this video.
  6756. 3:41:49But step two is building even more
  6757. 3:41:52experience building AI agents. So you
  6758. 3:41:54are more familiar with the platforms and
  6759. 3:41:55better understand the different ways
  6760. 3:41:57that they can be used to deliver
  6761. 3:41:58different kinds of AI agent use cases or
  6762. 3:42:00even just AI tools in general. I've only
  6763. 3:42:03really given you a taster here, but I
  6764. 3:42:04tried to make it as as diverse as
  6765. 3:42:06possible as you could probably tell. In
  6766. 3:42:07order to do this second step of
  6767. 3:42:09extending your knowledge gap further and
  6768. 3:42:10building more experience, you can go to
  6769. 3:42:12my free course on school where you'll be
  6770. 3:42:14able to build another 5 to 10 agents
  6771. 3:42:15following the tutorials that are in
  6772. 3:42:17there for you. So the link to join my
  6773. 3:42:18free school will be in the description.
  6774. 3:42:20So, if you blast through all those
  6775. 3:42:21tutorials in there, this is going to
  6776. 3:42:22further expand your knowledge gap. And
  6777. 3:42:24remember that the more that you know
  6778. 3:42:26compared to the businesses that you're
  6779. 3:42:27trying to help, the more they're going
  6780. 3:42:28to pay you. So, step two is building a
  6781. 3:42:30few more agents out and getting a bit
  6782. 3:42:32more experience on the tools, seeing
  6783. 3:42:33different use cases, etc. And once
  6784. 3:42:35you've done that, you'll have what I
  6785. 3:42:37call foundational knowledge. So, you
  6786. 3:42:38understand the core AI concepts that
  6787. 3:42:40we've been through in this video. You
  6788. 3:42:42can build basic solutions on these
  6789. 3:42:43platforms. You know what's possible for
  6790. 3:42:45businesses with agents right now. And
  6791. 3:42:46then comes the big decision. Do you want
  6792. 3:42:49to go deeper technically on this
  6793. 3:42:50building side of getting your hands
  6794. 3:42:52dirty or do you want to start monetizing
  6795. 3:42:54what you already know? As we've covered,
  6796. 3:42:56the building and implementing of the AI
  6797. 3:42:58systems is only one of the services that
  6798. 3:42:59you can sell. So naturally, the
  6799. 3:43:02technical skills needed in order to make
  6800. 3:43:03money in the implementation services.
  6801. 3:43:06Actually building these systems and
  6802. 3:43:07businesses is much more greater than
  6803. 3:43:09just having a foundation. But with a
  6804. 3:43:10good foundation, you're basically ready
  6805. 3:43:12to start having a crack at the other two
  6806. 3:43:14services of AI education and AI
  6807. 3:43:16consulting. So, the decision of what to
  6808. 3:43:18do next comes down to really knowing who
  6809. 3:43:19you are and what you are really
  6810. 3:43:21interested in. And this sounds all woo
  6811. 3:43:22woo and like, oh, you got to know
  6812. 3:43:24yourself and stuff, but this is I mean
  6813. 3:43:27it very very seriously in that if I use
  6814. 3:43:29myself an example, I've always loved
  6815. 3:43:31making things, right? I used to build
  6816. 3:43:32block houses with kids. I used to like
  6817. 3:43:34brew beer with my grandpa. I've always
  6818. 3:43:36loved tinkering with engines. So when I
  6819. 3:43:37hit this foundational level that you
  6820. 3:43:39guys will be at after completing those
  6821. 3:43:40extra builds in the free course, I kind
  6822. 3:43:42of naturally just dove deeper into the
  6823. 3:43:44technical side into building more stuff.
  6824. 3:43:45I I kept building more and more complex
  6825. 3:43:47AI systems and building upon those
  6826. 3:43:49skills that I've I've built already,
  6827. 3:43:51which led me ultimately to starting
  6828. 3:43:52Morningside AI where our first service
  6829. 3:43:54was building AI solutions and systems
  6830. 3:43:56for clients. But here's the thing, of
  6831. 3:43:58course, a lot of people aren't like me.
  6832. 3:43:59They don't get as much of a buzz out of
  6833. 3:44:01building things. many of you are going
  6834. 3:44:02to be much better or enjoy more the
  6835. 3:44:05teaching aspect or working with people
  6836. 3:44:06and doing the consulting aspect rather
  6837. 3:44:08than building stuff. So in these cases
  6838. 3:44:10using the foundational knowledge that
  6839. 3:44:12you're going to build up to sell AI
  6840. 3:44:13education to businesses or AI consulting
  6841. 3:44:16makes a lot more sense. Goes back to the
  6842. 3:44:17whole Einstein thing about like judging
  6843. 3:44:19a fish on its ability to climb a tree.
  6844. 3:44:21If to you the building is like a tree
  6845. 3:44:22and you feel like a fish and it's not a
  6846. 3:44:23really good fit, then there's better
  6847. 3:44:25stuff that you can do and you can find a
  6848. 3:44:26way to make money in the AI space that
  6849. 3:44:28leans more into your strengths. like in
  6850. 3:44:30the case of a fish would be swimming,
  6851. 3:44:32right? So, by being honest with yourself
  6852. 3:44:33and saying, "Hey, look, that's not
  6853. 3:44:34really me. Yeah, sure, I did get it
  6854. 3:44:36done. I know how that works now, but I
  6855. 3:44:38don't feel any kind of attraction to
  6856. 3:44:39doing more of that." While you may see
  6857. 3:44:41that as a negative and saying like, "Oh,
  6858. 3:44:42I don't have what it takes." It's
  6859. 3:44:43actually can be very empowering if you
  6860. 3:44:45say, "Bang, I'm stopping it here. I'm
  6861. 3:44:47stopping the learning. I'm stopping the
  6862. 3:44:48procrastination. Now, I'm going straight
  6863. 3:44:50into actually monetizing." It's
  6864. 3:44:51basically putting a stop on when you do
  6865. 3:44:53this learning big long phase and saying,
  6866. 3:44:55"No, action starts now. I'm not I'm
  6867. 3:44:57never going to get there, but with this
  6868. 3:44:59base, I can do a lot and I'm going to
  6869. 3:45:00start taking action with it and making
  6870. 3:45:02money with it today. So, this
  6871. 3:45:03self-reflection is really what prevents
  6872. 3:45:04you from getting stuck in an endless
  6873. 3:45:06learning phase of procrastination when
  6874. 3:45:08you could be out there making money. So,
  6875. 3:45:09in summary, the two routes you have and
  6876. 3:45:11the two options you have from here are
  6877. 3:45:13if you love building and you kind of
  6878. 3:45:15naturally feel like you want to learn
  6879. 3:45:17more like like myself when I was at your
  6880. 3:45:19stage, then just keep going. go and
  6881. 3:45:21watch the free course tutorials on my
  6882. 3:45:22school and then start going and building
  6883. 3:45:24your own projects and ones for friends
  6884. 3:45:25and family and whatever you you sort of
  6885. 3:45:27pulled towards naturally and within two
  6886. 3:45:29to three months you'll have enough
  6887. 3:45:30skills and experience to actually start
  6888. 3:45:32selling implementation properly. But on
  6889. 3:45:34the other hand, if you haven't fallen in
  6890. 3:45:35love with the building aspect, then it's
  6891. 3:45:37probably best that you just go go into
  6892. 3:45:39the free course, smash out the rest of
  6893. 3:45:40those tutorials and finish your
  6894. 3:45:42foundation and then just get started on
  6895. 3:45:44monetizing your skills either through
  6896. 3:45:45selling AI education or through selling
  6897. 3:45:47AI consulting.
  6898. 3:45:50So once you're clear on what kind of AI
  6899. 3:45:52services you want to sell, getting your
  6900. 3:45:54first few clients is actually pretty
  6901. 3:45:55straightforward. People try to over
  6902. 3:45:56complicate it, but there's really just
  6903. 3:45:58two main ways that I'd recommend you do
  6904. 3:45:59this based off all the success I've seen
  6905. 3:46:00over thousand thousands of people across
  6906. 3:46:02my free and paid communities. The first
  6907. 3:46:04and by far the easiest method is through
  6908. 3:46:05your warm connections or warm contacts.
  6909. 3:46:07This means reaching out to people that
  6910. 3:46:08you already have some kind of
  6911. 3:46:09relationship with, whether it's friends
  6912. 3:46:11or family or kind of acquaintances or
  6913. 3:46:13even friends of friends that you've met
  6914. 3:46:14once kind of thing. All of these people
  6915. 3:46:16count as warm connections. So instead of
  6916. 3:46:17trying to convince complete strangers to
  6917. 3:46:19trust you with your business, you can
  6918. 3:46:20start with people that you already know
  6919. 3:46:22or have some previous relationship with
  6920. 3:46:23and therefore have an increased level of
  6921. 3:46:25trust with you through your
  6922. 3:46:26relationship. And I've covered this
  6923. 3:46:28many, many times on the channel before.
  6924. 3:46:30So on the school post for this video, I
  6925. 3:46:31will add in my complete guides for warm
  6926. 3:46:33outreach, including resources directly
  6927. 3:46:35from my AAA accelerator program. The
  6928. 3:46:36second way is using what I call the
  6929. 3:46:38community content flywheel. So this is
  6930. 3:46:40how you can build long-term momentum
  6931. 3:46:42beyond just warm outreach. So here's how
  6932. 3:46:43it works. You join the free school
  6933. 3:46:46community. you start making content
  6934. 3:46:47about what you're learning at each
  6935. 3:46:48stage. This could be through YouTube
  6936. 3:46:49tutorials, which I mean that worked for
  6937. 3:46:51me. LinkedIn post is another one um or
  6938. 3:46:53whatever platform you really prefer to
  6939. 3:46:55create content on. But here's the key.
  6940. 3:46:57You share that content back into the
  6941. 3:46:59community. So with over 120,000 members,
  6942. 3:47:03by posting it into the community, you
  6943. 3:47:05get an instant audience and people who
  6944. 3:47:06are really interested in the stuff that
  6945. 3:47:08you're talking about. So, a perfect
  6946. 3:47:09example of this is a guy called Rory
  6947. 3:47:11Ridges, a a young guy from the UK who
  6948. 3:47:13joined my free community and basically
  6949. 3:47:14followed this exact process that I've
  6950. 3:47:16told you in this video so far. So, he
  6951. 3:47:17took my free course, he learned all the
  6952. 3:47:19basics, built his foundation, then he
  6953. 3:47:21started posting simple tutorials on
  6954. 3:47:23relevance AI, which you've used in this
  6955. 3:47:25video already, and he literally just
  6956. 3:47:26started sharing what he'd learned from
  6957. 3:47:28my videos and making other videos about
  6958. 3:47:29it. And at the start, he was literally
  6959. 3:47:31just sharing what he'd learned from my
  6960. 3:47:32videos. So, he'd watch a video, then go
  6961. 3:47:34and kind of make his own video on the
  6962. 3:47:35same sort of topic. And every time he
  6963. 3:47:37made a tutorial, he'd then share it into
  6964. 3:47:39the community and the community would
  6965. 3:47:41watch it. They'd give him feedback, go
  6966. 3:47:42and subscribe to his channel. This not
  6967. 3:47:44only helped him grow faster on YouTube,
  6968. 3:47:45but it also started to position himself
  6969. 3:47:47as an expert in the community. And he's
  6970. 3:47:49also building his authority in the AI
  6971. 3:47:50agency space by getting more momentum on
  6972. 3:47:52YouTube. Now, his YouTube channel brings
  6973. 3:47:54him in enough leads to support his
  6974. 3:47:55growing agency. And I've just seen him
  6975. 3:47:57recently in the community saying he's
  6976. 3:47:58hiring. So, that's usually a bloody good
  6977. 3:48:00sign that he's making some good money
  6978. 3:48:01off the back of it. He basically started
  6979. 3:48:02the same flywheel that took me from zero
  6980. 3:48:04to where I am now. Over $5 million in
  6981. 3:48:07revenue generated across all my
  6982. 3:48:08businesses and $450,000 plus subscribers
  6983. 3:48:11in just two years. And so the community
  6984. 3:48:13gives you an audience and the content
  6985. 3:48:15gives you credibility and together this
  6986. 3:48:17method brings you clients. In the
  6987. 3:48:18resources for this video on school, I
  6988. 3:48:20will leave links to my complete guide
  6989. 3:48:22for creating content to generate leads
  6990. 3:48:23just like Rory and I have done
  6991. 3:48:25successfully. And of course, I'll
  6992. 3:48:26include a link to Rory's channel in the
  6993. 3:48:28resources in the school community. Now,
  6994. 3:48:29the really important thing to notice
  6995. 3:48:30with both of these methods we've just
  6996. 3:48:32talked about, the warm outreach and the
  6997. 3:48:34uh community content flywheel is that
  6998. 3:48:36both of these methods start with giving
  6999. 3:48:37value first. Whether it's helping your
  7000. 3:48:40warm connections to understand AI or
  7001. 3:48:41sharing your knowledge through content,
  7002. 3:48:43you have to give before you start to
  7003. 3:48:47get. Now, I know all of this businessy
  7004. 3:48:49stuff may feel a little bit overwhelming
  7005. 3:48:50or out of reach for some of you, but
  7006. 3:48:52you'll seriously be amazed at what baby
  7007. 3:48:55steps add up to in the AI space. you've
  7008. 3:48:57already taken the first step by watching
  7009. 3:48:58this and following through to the end of
  7010. 3:49:00the video. So, congratulations on that
  7011. 3:49:02and I seriously seriously want to give
  7012. 3:49:04you a pat on the back and you should
  7013. 3:49:05give one to yourself. But all you need
  7014. 3:49:06to do from now is to keep this momentum
  7015. 3:49:08going. The next step for all of you is
  7016. 3:49:11pretty damn clear. You need to jump in
  7017. 3:49:13the free community. That's by far the
  7018. 3:49:14best place if you're moderately
  7019. 3:49:16interested in doing any of this stuff.
  7020. 3:49:17My community is the number one place to
  7021. 3:49:18go. It is 100% free to get into. And
  7022. 3:49:20once you're in there, drop an
  7023. 3:49:21introduction post saying who you are,
  7024. 3:49:23what you're about, why you want to do
  7025. 3:49:24this. Then start working your way
  7026. 3:49:25through my free course material. I've
  7027. 3:49:27poured everything I've learned about AI
  7028. 3:49:29and AI business into videos like these.
  7029. 3:49:31And on the free course, they're all
  7030. 3:49:32there in a nice sequence for you to work
  7031. 3:49:33through on school. And each time you
  7032. 3:49:35complete a video and you complete the
  7033. 3:49:37tutorial, you can click the little check
  7034. 3:49:38box so that you can keep stacking those
  7035. 3:49:40small wins and those baby steps towards
  7036. 3:49:41AI literacy and succeeding in the space.
  7037. 3:49:43All of the resources mentioned in the
  7038. 3:49:45selling part of this video will be on
  7039. 3:49:46the school post for this video. So you
  7040. 3:49:48go into school, you go to the YouTube
  7041. 3:49:49resources tab, and then this video will
  7042. 3:49:51be right there. So don't forget to check
  7043. 3:49:52all those out. And of course, all of the
  7044. 3:49:54resources for the tutorials, if you
  7045. 3:49:56haven't already done them, are included
  7046. 3:49:57on those posts as well. And finally, if
  7047. 3:49:59you made it this far, could you please
  7048. 3:50:00do me a favor, leave a like on the
  7049. 3:50:02video, and drop a comment down below.
  7050. 3:50:04Let me know what you like the most, what
  7051. 3:50:05you want to see more of. Click the share
  7052. 3:50:06button, send it to your friends and
  7053. 3:50:08family and loved ones so they can start
  7054. 3:50:09learning these skills, too. All of these
  7055. 3:50:11actions really help my video to reach
  7056. 3:50:12more people in the YouTube algorithm.
  7057. 3:50:13And if you subscribe to the channel,
  7058. 3:50:15you'll be able to see a lot more content
  7059. 3:50:16like this helping you to understand AI
  7060. 3:50:18and more so how to build businesses
  7061. 3:50:20around this incredible opportunity. And
  7062. 3:50:22if you're still hungry for more and you
  7063. 3:50:23want to watch my complete guide to
  7064. 3:50:24building an AI business, that's going to
  7065. 3:50:26be linked up here. But that is all for
  7066. 3:50:28the video. I'm so excited for you to get
  7067. 3:50:30cracking on this. I sincerely hope
  7068. 3:50:32you've got something out of this because
  7069. 3:50:33I put a lot of work into it as did my
  7070. 3:50:34team. So I'm just really really wishing
  7071. 3:50:36you all all the all all the best. I'll
  7072. 3:50:37see you in the next one.

About this transcript

This page contains the full transcript of How to Build & Sell AI Agents: Ultimate Beginner’s Guide by Liam Ottley, generated from the public captions YouTube serves with the video. The transcript has 50,742 words across 7,072 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.

What you can do with it

Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.

Free YouTube transcript tool

YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.