Okay, time for our final agent.
And by way of background, let me remind you, we already built the business development agent.
We're now building account executive.
And we have two subagents the demo booking.
One that looks like that.
Isn't it nice that's able to tape a webhook and look at the look at the details that are passed in and
use it to negotiate and and make a booking and push a message as a result of booking in a Google calendar.
That's the one we just did.
And before that, we made the deal recording one.
And that's able to collect all the people in Pipedrive and then use that to create a deal in Pipedrive,
hooking everything up to the right data.
So those are the two.
And now we're going to bring it together in one agent that's going to control them.
And this is where, of course, I reveal something that many of you probably already guessed, which
is that we're not going to create this agent, and we're going back to 11 labs.
This is going to be a voice agent.
Our last agent, of course, is from the magical 11 labs.
Remember this, remember this.
It's back.
Okay.
We go to agents.
Remember?
Here we go over to new agent on the top right.
We want to start with a blank agent.
The account executive agent is what we will call it.
We say create and here we come.
Now it's time for us to write the perfect system prompt for our agent.
Okay, so let's go with the system prompt.
Here it is.
Uh, this is one I wrote a second ago.
You're an AE for account AI.
You're receiving calls from possible clients.
They're calling back from an outreach campaign.
You've been informed.
Account AI is software for for improving accounting software efficiency.
You are an automated AI agent.
You should find out their name.
You should use your tool to record them as a potential deal.
And you should get their preference for a time slot and basically negotiate a meeting slot.
If it isn't booked successfully, then try again, and then when the demo is scheduled, thank them
for their interest and say the company will be in touch.
Nice and clear.
System prompt that sets the scene and gives it a good understanding of what it is set to do.
Okay.
And actually, the first message also gives us a great opportunity to set the scene and get things off
rolling.
Well, so let's put in there.
Hi thanks for calling account I who am I speaking with please that that will immediately set things
going.
Make sure we get the name.
So this is a good start.
Let's now build out the tools okay.
Over we go to tools.
All right.
So we're going to add some tools.
And uh let's add a tool which is going to be um a webhook tool of course.
And what we're now going to do is enter in the details that are going to identify this to the agent
and activate it.
Okay.
So the first tool is going to be our deal recording tool, the tool which is going to uh track that
this this deal has happened.
The one that's going to update Pipedrive okay.
Description.
Use this tool to record in the CRM that the person with the given name has called in.
This will open a new deal record in the CRM.
Call this as soon as you know the user's name.
Ha!
And we're going to make this a post and we're going to, uh, put in the URL and this URL that I'm putting
there is the URL that I've taken from N810.
I've taken this from the this is from the deal recording.
I've gone in here and I've gone, of course, to the, uh, webhook here, and I've gone to production
and I've copied this URL right here.
I'm going to do it again right now.
Copied it right there.
Come back to 11 labs.
Come in here, select all paste in there.
That's the one.
That's the URL to use.
If you mess this up, it's not gonna work.
So get it right.
Uh, gonna give it a nice and long time out.
We'll give it, uh, although it shouldn't need it, because this one responded right away.
Uh, we are going to say, um, we it's it's can, uh, decide how to, um, make sounds.
It doesn't need to because this should be nice and quick, and, uh, this just needs the body to be
defined here.
And so the, uh, simple the thing where there's only one field that we need to specify.
Do you remember it?
It's name needs to go in the body.
Give the name of the person who called you.
Who called to say who called.
We won't make it confusing.
Okay.
Who is calling?
We'll say is calling.
That's best.
All right.
String.
And the value type is LM prompt.
The name of the caller.
First name and last name.
Okay.
And that seems great.
And somewhere here, the identifier I've got to put in and this is the field itself, which is of course
name.
All right.
Perfect.
Add tool that seems clear.
Dunzo.
That is our first tool deal recording.
Okay.
Next tool.
Okay.
So we're going to add another tool.
And the type of tool is going to be a webhook tool.
And we're going to make it be a demo uh booking tool.
This is the big one.
It populates it by default with the tool that you just created.
I don't know why it does that, but but just to remove that.
So use this tool to schedule.
A demo with the caller provide that name and the time slot they would like.
Uh, aiming for 2 p.m. eastern on weekdays or whatever is convenient for them.
Seems nice.
All right, where are we going to post this to?
Well, we have to go over to demo booking.
Come in here.
Be careful.
This is tricky.
Coming to the webhook.
Make sure when you're in the webhook that you go to production.
Take this.
Copy it to the clipboard by clicking there.
Back in here, select all of this paste.
Don't get it wrong.
And then make this timeout be nice and long.
This one will take a bit longer.
I'm going to make it just in case.
I'm going to maybe two minutes.
And this time I'm going to say uh it should definitely be speaking uh, execution mode.
I will leave that tool.
Cool.
We can have typing, uh, sound behavior.
That sounds good.
Okay.
And now we get again to the body parameters.
Okay, well, the first body parameter is indeed called name.
Uh, so we could just leave this one right as it is.
This this should be give the name and their preferred and their preferred time slot.
Okay, this first one is called name.
Now we need to add another property in here add property.
The second property is going to be a string.
And it is going to be time slot.
And it is going to be uh uh uh, textual description of when the caller would like to receive their
demo, such as 2:00 pm EDT on Monday, Jan.
Eight the fifth, 2026.
Okay.
Uh, so there we have it.
That is called time slot.
It's a string set by the LM, and I think we're in good shape.
I think that does everything.
Let's add tool.
And now we have the deal recording.
And the demo booking is two different tools that are set up for this agent.
We've set our system prompt.
We've defined everything.
Do you think we're ready?
Well, I'm feeling brave, so I'm not even going to run it.
Test it with the preview.
I'm just going to go ahead and publish it.
So off it goes.
It is now published already.
And there's just one more thing to do, which is I'm going to go back here to this list.
I'm going to go to phone numbers.
Remember this guy.
You recognize that number.
Did you see that was the number that I put in those emails.
You were really on the ball if you spotted that.
Come in here.
Take this.
Change this to be the account executive agent.
And now this phone number that was on those outbound emails that went to all those people from agent
number one is the phone number that is going to be hooked up to agent number two.
You see, there was a method behind all of this.
Okay.
And now that should all just be live just like that.
It should all be working.
And the only way we'll know for sure is by trying it out.