> ## Documentation Index
> Fetch the complete documentation index at: https://koreai.mintlify.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Check Agent Availability Node

Use this node to check agent availability based on skills and route the flow accordingly.

!!! Note

This node is experimental and may be deprecated in a future release.

## Configure the Node

### General Settings

In **General Settings**, configure the following:

<img src="https://mintcdn.com/koreai/obfXwZeC6EncVIoC/ai-for-service/flows/node-types/images/general-settings-agent-availability.png?fit=max&auto=format&n=obfXwZeC6EncVIoC&q=85&s=eb531b47d7acc6ea8e3f032fd36ba158" alt="General Settings" width="411" height="820" data-path="ai-for-service/flows/node-types/images/general-settings-agent-availability.png" />

1. **Custom Name**: Enter a name to identify the node.

2. **Choose Skills**: Select the skills or skill groups to check availability for.

3. **Check for specific agents**: Enable this option to restrict the check to selected agents only.

   !!! Note

   You can check availability by skills or by specific agents, but not both at the same time.

4. **Output**: Define the routing paths based on availability:
   * **If an agent is available**: The flow routes to this node when an available agent is found.
   * **If no agent is available**: The flow routes to this node when no available agent is found.

After configuring the output, your flow will show both paths on the canvas:

<img src="https://mintcdn.com/koreai/WQeI2XsPNoZFdu0g/ai-for-service/flows/node-types/images/check-agent-availability.png?fit=max&auto=format&n=WQeI2XsPNoZFdu0g&q=85&s=e2dee733579e02bf64c89f6f0201f5b9" alt="Check Agent Availability" width="1919" height="854" data-path="ai-for-service/flows/node-types/images/check-agent-availability.png" />

### Error Handling

Use this section to handle system errors during customer interactions.

<img src="https://mintcdn.com/koreai/obfXwZeC6EncVIoC/ai-for-service/flows/node-types/images/error-handling-agent-availability.png?fit=max&auto=format&n=obfXwZeC6EncVIoC&q=85&s=6fb8e9182c8297ce9d2dd14db3cab5f7" alt="Error Handling" width="413" height="435" data-path="ai-for-service/flows/node-types/images/error-handling-agent-availability.png" />

* **Your Message to User**: Select a message type under **Choose your message type**:

  * **Text to Speech**: Type or select a message to convert to speech. Click **+ Create New** to add a new prompt, or **+ Add Another** to define multiple messages (one is randomly selected at runtime).

    <img src="https://mintcdn.com/koreai/Ns2xqLlABkt12FiY/ai-for-service/flows/node-types/images/text-to-speech-agent-availability.png?fit=max&auto=format&n=Ns2xqLlABkt12FiY&q=85&s=361fd0df51bc29cf0a0d6bbf95ce4ce8" alt="Text to Speech" width="342" height="288" data-path="ai-for-service/flows/node-types/images/text-to-speech-agent-availability.png" />

  * **Audio File**: Type a message or click **+ Upload New** to upload an .mp3 or .wav file.

    <img src="https://mintcdn.com/koreai/WQeI2XsPNoZFdu0g/ai-for-service/flows/node-types/images/audio-file-check-agent-availability.png?fit=max&auto=format&n=WQeI2XsPNoZFdu0g&q=85&s=b925666002b1f7c2fee5f479333a08bc" alt="Audio File" width="346" height="306" data-path="ai-for-service/flows/node-types/images/audio-file-check-agent-availability.png" />

  * **Link**: Click **+ Create New** to add message text and an audio file URL (.mp3 or .wav). Click **+ Add Another** for additional URLs.

    <img src="https://mintcdn.com/koreai/obfXwZeC6EncVIoC/ai-for-service/flows/node-types/images/link-agent-availability.png?fit=max&auto=format&n=obfXwZeC6EncVIoC&q=85&s=e819e0a7822aa7ec94aa842331878d4d" alt="Link" width="344" height="350" data-path="ai-for-service/flows/node-types/images/link-agent-availability.png" />

* **Go to node**: Select the node to direct the error handling flow. You can create a new node or select an existing one.

<img src="https://mintcdn.com/koreai/obfXwZeC6EncVIoC/ai-for-service/flows/node-types/images/go-to-node-agent-availability.png?fit=max&auto=format&n=obfXwZeC6EncVIoC&q=85&s=a01db417e4b7ce5f90426710d39bc3cb" alt="Go to Node" width="348" height="305" data-path="ai-for-service/flows/node-types/images/go-to-node-agent-availability.png" />
