> ## Documentation Index
> Fetch the complete documentation index at: https://koreai-ai-for-service-dev.mintlify.site/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-ai-for-service-dev/SMsAO2_dBO4bUlFp/ai-for-service/integrations/actions/images/freshdesk-action-img2.png?fit=max&auto=format&n=SMsAO2_dBO4bUlFp&q=85&s=4ea0484e7b9946c38bd1833986f25409" 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-ai-for-service-dev/SMsAO2_dBO4bUlFp/ai-for-service/integrations/actions/images/freshdesk-action-img3.png?fit=max&auto=format&n=SMsAO2_dBO4bUlFp&q=85&s=e0672b3cc7c86508dca2780b47cc9083" 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-ai-for-service-dev/SMsAO2_dBO4bUlFp/ai-for-service/integrations/actions/images/freshdesk-action-img4.png?fit=max&auto=format&n=SMsAO2_dBO4bUlFp&q=85&s=d124140db86b205cc22b062e45fcceca" 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 (for example, **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-ai-for-service-dev/SMsAO2_dBO4bUlFp/ai-for-service/integrations/actions/images/freshdesk-action-img5.png?fit=max&auto=format&n=SMsAO2_dBO4bUlFp&q=85&s=5217e1419d3e21d4fb863122c3181652" 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-ai-for-service-dev/SMsAO2_dBO4bUlFp/ai-for-service/integrations/actions/images/freshdesk-action-img6.png?fit=max&auto=format&n=SMsAO2_dBO4bUlFp&q=85&s=16e411111e0fb889236d16cef249cb42" 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-ai-for-service-dev/SMsAO2_dBO4bUlFp/ai-for-service/integrations/actions/images/freshdesk-action-img7.png?fit=max&auto=format&n=SMsAO2_dBO4bUlFp&q=85&s=6ebe580117acc275db1a332220e24167" 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-ai-for-service-dev/SMsAO2_dBO4bUlFp/ai-for-service/integrations/actions/images/freshdesk-action-img8.png?fit=max&auto=format&n=SMsAO2_dBO4bUlFp&q=85&s=63b922cc4a126a7f79087f8b4213286f" 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-ai-for-service-dev/SMsAO2_dBO4bUlFp/ai-for-service/integrations/actions/images/freshdesk-action-img9.png?fit=max&auto=format&n=SMsAO2_dBO4bUlFp&q=85&s=308b9cdc55c491adced396e9c71cb242" 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** (for example, **Create a Ticket**).

   <img src="https://mintcdn.com/koreai-ai-for-service-dev/SMsAO2_dBO4bUlFp/ai-for-service/integrations/actions/images/freshdesk-action-img10-tem-img2.png?fit=max&auto=format&n=SMsAO2_dBO4bUlFp&q=85&s=5939c57d4991e7d85d0109ba93b59d3d" 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-ai-for-service-dev/SMsAO2_dBO4bUlFp/ai-for-service/integrations/actions/images/freshdesk-action-img11.png?fit=max&auto=format&n=SMsAO2_dBO4bUlFp&q=85&s=e76e96aa2ea2c38ab3391c721ed2b305" alt="Dialog task canvas" width="1693" height="765" data-path="ai-for-service/integrations/actions/images/freshdesk-action-img11.png" />
