11:27Let's take a look at what a declarative workflow actually looks like. So, as I said earlier, AI and decision-making is still extremely important in why we're using these declared systems to implement into businesses because people want to use AI to automate like tedious tasks that have been previously taken a lot of human hours.
11:49So, here we have a node inside of a workflow that is using what model, so defines what model. So, the Google Gemini Flash model. Obviously, that's a pretty old one, but it's also really cheap. We can define the prompt that is being used to actually process this request. And we can also define the inputs that it uses, that are dynamic every single workflow run.
12:16There's a few things to note about why I would be be interested in using a declared system here. Let's start with that model key. When you can declare the system and you have a runtime that can actually support multi uh multi-model um systems, you can determine exactly what model you want to use for any particular job.
12:37So, there's a few benefits to that. Number one, you can test out the the new models on the block, but also it's about cost control. As I said, Google Gemini 2.5 Flash, it's not the most robust and intelligent model on the block, but it's extremely cheap. And for doing something as uh trivial as this, it does a pretty good job of making the correct decision again and again, because again, we understand a strongly typed input with a static prompt, and the output that it gives is pretty uh it's pretty deterministic um every single time those inputs go through.
13:14We don't need something like uh Fable 5 to determine what crew should be assigned our job uh when a cleaning uh cleaning request comes in. So, that's one uh one very helpful uh component to the puzzle. And the second here is the prompt. We Let's say um the output of this node isn't exactly what we thought it would be. And we have that because we have observability, which I'll get into here in a few slides.
13:43We can use the data based on how these workflows are running to modify our prompts, to change our agent behavior. Because the agents and the models are only as good as the prompts and the context that we give it. And I think that's a very important uh component. Um again, I'll get into that in a sec. Won't go and dive too much into it.
14:07Just quite yet. Another really cool thing about using declarative systems, and again, this is uh an example using uh that dispatch uh workflow that I was talking about. We can choose how we want the requests to flow through our workflow. So, right here, we're really declaring how the workflow works. So, we have a choose crew, which is the node that we just defined using AI.
14:37Uh the AI node to run it through the Gemini processing to understand what uh what crew is the best one for the job. And we can define like a check choice. So, this is the human approval gate. We might say, "Okay, like yeah, like that that's a really good crew for this job. I want to approve that."
14:55And once the approval goes through, then the booking decision happens. So, there's a few things going on here. And I think it's really important to highlight the importance of the runtime when choosing your declarative system. Number one, this needs to be highly [snorts] durable. So, if there are any failures that happen in the runtime or any something goes wrong with the APIs, it knows the state of where it left off, and it can also pick up uh at any point in time based on any type of pause. So, that human approval here in this specific example, that could be sitting around for a few days. If you don't have a runtime that can actually manage those human approvals and be able to pick up the workflow and actually go reserve the
15:42slot uh once the human has taken action, the workflow is essentially useless. So, there's a a healthy balance of the declared workflow system and the runtime that actually makes it a reality. But, circling back to uh the this this flow definition, um it really just gives you control over how these systems are processing your data.