Blog Post:
https://www.infallibletechie.com/2026/10/agentforce-coworker-invoking-employee-agent.html
Show More Show Less View Video Transcript
0:06
Hello everyone. In this video we are
0:09
going to see how agent force coworker
0:13
makes use of employee agent force agent.
0:18
Whenever Salesforce agent force coworker
0:21
is unable to complete a task or a
0:23
request, then it will make use of the
0:27
employee agent force agents that are
0:30
accessible to the running user
0:32
and then it will check the agents
0:35
description and also the sub agents that
0:38
are configured in the agents and then it
0:41
will check the sub agents descriptions.
0:45
If uh the if the user's uh request
0:48
matches the description of uh uh the
0:52
agent and as well as sub agent then it
0:57
will try to delegate the request to the
1:01
employee agent force agent so that the
1:03
employee agent force agent can complete
1:06
the task
1:08
instead of duplicating the effort in
1:12
agent co uh agent force coworker and as
1:14
well There's an employee agent force
1:16
agent.
1:18
Agent Force coworker act as a
1:20
centralized agent and then it will
1:23
orchestrate the request to the to the
1:26
other agent force employee agents
1:29
to complete a
1:31
customer's request or a task. Let's see
1:34
a quick demo here.
1:37
If I invoke employee
1:40
agent force agent, I can see that I have
1:42
access to an agent called employee
1:44
agent. Here I can request for scheduling
1:48
an event. Instead of making use of
1:50
employee agent force agent, I'm going to
1:53
invoke agent for coworker and then I'm
1:56
going to say
1:58
I want to
2:00
schedule an event.
2:04
Now the agent for coworker
2:11
is delegating the request to the
2:14
employee agent.
2:16
From the employee agent I'm getting
2:19
subject and date and time to proceed
2:22
with the
2:24
uh event uh schedule. So I'm going to
2:28
say
2:30
okay let's give this
2:35
I'm going to give the subject as demo
2:38
and uh for date I'm going to give 11th
2:41
November
2:43
2026
2:45
at
2:47
10 a.m.
2:50
So now it it will uh send the
2:53
information to the employee agent force
2:55
agent and then it will respond back with
2:59
the response that it got it from the
3:01
employee agent force agent. Let's verify
3:04
that. So I can see that on November 11th
3:08
the request is created or the event is
3:12
created.
3:15
Okay,
3:17
let's verify whether it
3:23
successfully handled using the employee
3:24
agent force agent.
3:29
Here we can clearly see that
3:32
it definitely invoked the employee agent
3:35
force agent and then it did all the
3:38
request.
3:40
So here this is my employee agent force
3:43
agent.
3:45
In the employee agent force agent I have
3:48
uh
3:49
event management.
3:55
So the description states that it will
3:57
help in scheduling events.
4:00
If you go to the agent settings in the
4:03
description, I have clearly mentioned
4:05
that this is an employee agent and then
4:07
it will be able to accomplish following
4:09
tasks like searching knowledge articles,
4:13
web search, event management like
4:14
scheduling an event. By giving clear
4:17
description,
4:19
the agent for worker was able to
4:22
identify this employee agent so that it
4:25
can schedule an event for the user.
4:33
So this is the flow. User will submit a
4:36
request. It will go to the agent force
4:38
coworker. If it cannot complete it, then
4:41
it reads the description of the agents
4:43
and the sub agents for the agent force
4:45
agents that they have access to. Next,
4:48
it will compare the request and then it
4:50
will try to delegate to the agent that
4:54
that have a good or similar match.
4:59
So best practices always try to give
5:04
unique and also good descriptions for
5:07
your agent and as well as sub aents.
5:14
One more important thing is if you write
5:19
um instructions inside your agent or in
5:22
sub agent those will not be considered.
5:26
Don't think that with the help of
5:28
instructions we will be able to find a
5:31
matching agent force employee agent so
5:33
that the agent for coworker can help us.
5:36
No, it always checks the description of
5:39
the agent and as well as the sub agents.
5:43
I also put some frequently asked
5:45
question and also I have shared the
5:48
Salesforce official document for your
5:50
reference.
5:56
Please check the video description. In
5:58
the video description, I have shared my
6:00
blog post.
6:09
I hope it was helpful.
6:18
Thank you for watching.
Internet Software
Science
