> ## 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.

# Configuring the Freshdesk Action

<Badge icon="arrow-left" color="gray">[Back to Actions Integrations](/ai-for-service/integrations/overview#actions)</Badge>

Connect the Platform to Freshdesk to create, view, update, search, and delete tickets. See [Freshdesk documentation](https://www.freshworks.com/freshdesk/resources/) for details.

***

## Supported Authorization Types

The platform supports Basic Auth for Freshdesk integration. See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles) for details.

| Authorization Type                       | Supported |
| ---------------------------------------- | --------- |
| Pre-Authorize the Integration            | Yes       |
| Allow Users to Authorize the Integration | Yes       |

***

## Prerequisites

Before enabling the Freshdesk action:

* Create a [Freshdesk](https://www.freshworks.com/freshdesk/resources/) developer account.
* Copy the **API Key** and **Domain name** of your Freshdesk account.

***

## Step 1: Enable the Freshdesk Action

Go to **App Settings > Integrations > Actions** and select **Freshdesk**.

### Pre-authorize the Integration (Basic Auth)

1. Select **Freshdesk** in the **Available Actions** region.

2. In the **Configurations** dialog, select the **Authorization** tab.

3. Set **Authorization Type** to **Pre-authorize the Integration** > **Basic Auth**.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/freshdesk-action-img2.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=de474dc74d2b74b9157f161a944e463e" alt="Auth type" width="798" height="853" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img2.png" />

4. Enter the following fields:

   | Field           | Description                              |
   | --------------- | ---------------------------------------- |
   | User Sub Domain | Domain name of the Freshdesk account     |
   | API Key         | Secret API key of your Freshdesk account |

5. Click **Enable**. The Integration Successful pop-up appears on first configuration.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/freshdesk-action-img3.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=8f1356a79b935d873b17d30ab2d99a13" alt="Enable integration" width="588" height="240" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img3.png" />

<Note>The Freshdesk action moves from Available to Configured.</Note>

### Allow End Users to Authorize (Basic Auth)

1. In the **Configurations** dialog, select the **Authorization** tab.

2. Set **Authorization Type** to **Allow Users to Authorize the Integration** > **Basic Auth**.

3. Click **Select Authorization** > **Create New**.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/freshdesk-action-img4.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=81f87f69d2033a5a764c5aff0547f2c6" alt="Create new auth profile" width="797" height="850" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img4.png" />

4. Select the authorization mechanism (e.g., **Basic Auth**). See [App Authorization Overview](/ai-for-service/app-settings#authorization-profiles).

5. Enter the following credentials:

   | Field                   | Description                                |
   | ----------------------- | ------------------------------------------ |
   | Name                    | Name for the Basic Auth profile            |
   | Tenancy URLs            | Select No                                  |
   | Base URL                | Base tenant URL for the Freshdesk instance |
   | Authorization Check URL | Auth check URL                             |
   | Description             | Description of the auth profile            |

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/freshdesk-action-img5.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=6608c05d2825a433b0b900e91ddd674b" alt="Auth credentials" width="998" height="915" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img5.png" />

6. Click **Save Auth**.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/freshdesk-action-img6.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=a74085c5a0dcb554cb603c3d2e8d123a" alt="Save auth" width="1000" height="907" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img6.png" />

7. Select the new profile.

8. Click **Enable**. The Integration Successful pop-up appears.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/freshdesk-action-img7.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=ea4ae25897611924ac9db054d1ec61c1" alt="Enable integration" width="798" height="850" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img7.png" />

***

## Step 2: Install Freshdesk Action Templates

1. On the Integration Successful dialog, click **Explore Templates**.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/freshdesk-action-img8.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=b1c35e422cff6b324520ebb9a3abfa4c" alt="Explore templates" width="590" height="237" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img8.png" />

2. Click **Install** for the desired template.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/freshdesk-action-img9.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=ad0a3842b5bf76f3bb0a36120721b401" alt="Begin installation" width="591" height="722" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img9.png" />

3. Click **Go to Dialog** to view the dialog task.

4. A dialog task is auto-created for each installed template.

5. Select the desired dialog task and click **Proceed** (e.g., **Create a Ticket**).

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/freshdesk-action-img10-tem-img2.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=f2940b06217f10347d966ba20e9933ca" alt="Select dialog task" width="797" height="900" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img10-tem-img2.png" />

6. The canvas opens with all required entity nodes, service nodes, and message scripts.

   <img src="https://mintcdn.com/koreai/I4CfGjCj6W3ljkoZ/ai-for-service/integrations/actions/images/freshdesk-action-img11.png?fit=max&auto=format&n=I4CfGjCj6W3ljkoZ&q=85&s=d1835d31e69c350bd29918eaa49c56cb" alt="Dialog task canvas" width="1693" height="765" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img11.png" />
