Create an account for a joiner
Opens a joiner's account with their title, department and groups; no password passes Conecto.
$0.25 a call
From your agent’s balance. A call that fails costs nothing.
An example
Jonas Becker starts in the warehouse on Monday as a warehouse operative. Set up his account.
Your agent callsdirectory_create_user$0.25 a call
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"first_name": "Jonas",
"last_name": "Becker",
"email": "jonas.becker@hansenvoss.example",
"title": "Warehouse operative",
"department": "Warehouse",
"groups": [
"00g1warehouse"
]
}Use it when
Someone starts and needs their work account.
- For their HR record, use
hr_save_people.
What it does
Open a joiner's account in the directory, with their title, department and groups. Okta emails them their own activation link; in Entra ID they start with the company's usual way in (a Temporary Access Pass or a reset). Conecto never sees a password.
What comes back
person: the new account; groups_added; next: how they sign in the first time. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
first_nameRequired | string | 1 to 80 characters. |
last_nameRequired | string | 1 to 80 characters. |
emailRequired | string | Their work address and sign-in name. 3 to 200 characters. |
title | string | Up to 120 characters. |
department | string | Up to 120 characters. |
groups | array of strings | Group ids to add them to. Up to 20 items. |
The call
Over MCP, call directory_create_user on https://api.conecto.chat/mcp/directory. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/directory_create_user \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"first_name":"Jonas","last_name":"Becker","email":"jonas.becker@hansenvoss.example","title":"Warehouse operative","department":"Warehouse","groups":["00g1warehouse"]}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_connected409 | No directory is connected yet. | Connect Entra ID or Okta with directory_connect. |
conflict409 | The directory has that person already. | Update them instead. |
invalid_input400 | email is not an address. | Give their work address. |
directory_rejected502 | The directory refused, usually because a permission is missing. | Ask its admin to grant what the message names. |
directory_unavailable503 | The directory could not be reached. | Try again in a minute; nothing changed. |
More Directory tools
All 11 tools- Connect the directory
directory_connectConnects the company's Microsoft Entra ID or Okta, checked by reading one person.$0.001 a call - List people in the directory
directory_list_usersPeople in the directory with their name, email, title, department and whether they can sign in.Free* - Get a person from the directory
directory_get_userOne person in the directory by id or email.Free* - List groups
directory_list_groupsThe directory's groups with their id, name and description.Free* - Update a person in the directory
directory_update_userChanges a person's title, department or manager in the directory.$0.01 a call - Change a person's groups
directory_set_groupsAdds a person to groups and takes them out of others.$0.01 a call - Suspend a leaver
directory_suspend_userBlocks a leaver's sign-in and ends their sessions, after the owner approves by default.$0.25 a call - Restore a suspended person
directory_restore_userLets a suspended person sign in again.$0.001 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md