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

# eDesk

> Connect Alumio to eDesk.

## Extra information

System documentation:

## Connector package documentation

**Setting up HTTP Client EDesk**
**Steps**

1. In Alumio Dashboard, go to Clients > HTTPS Client. Create a new HTTP Client and select EDesk HTTP Client as the prototype of the HTTP Client.

2. Fill in the Base URI, Username, and Password

**Subscribing to Entities from EDesk**
**Steps**

1. Go to Connections -> Incoming and create a new incoming configuration and select EDesk Subscriber as the subscriber.

2. Select the entity you want to subscribe from EDesk.

3. Add any request parameters needed to subscribe to the entity (optional).

4. You can optionally add a transformer to transform the request parameters into something you need.

5. Select the EDesk HTTP Client to use.

**General Concept**
We follow EDesk documentation on building this connector so you can easily use the connector based on EDesk API Reference.

**Entity**
It’s the entity you want to subscribe from EDesk. Please refer to the entities in Management APIs from the EDesk API Reference page.

**Request Parameters**
These are the parameters you can provide to get the needed entity based on EDesk API Reference. Please look at the example below on how to fill the Request Parameters field when Get custom fields entity

<img src="https://mintcdn.com/alumio/rvdAjy4YRzDDREsn/images/connectors/edesk-01.png?fit=max&auto=format&n=rvdAjy4YRzDDREsn&q=85&s=19cb268ff8416addb3de4404a43b0d50" alt="eDesk connector screenshot 1" width="690" height="408" data-path="images/connectors/edesk-01.png" />

<img src="https://mintcdn.com/alumio/rvdAjy4YRzDDREsn/images/connectors/edesk-02.png?fit=max&auto=format&n=rvdAjy4YRzDDREsn&q=85&s=767e52d8150e87eb279f13e14715a767" alt="eDesk connector screenshot 2" width="369" height="90" data-path="images/connectors/edesk-02.png" />

That’s why we need to define the id property inside the path property in the Request Parameters field. The properties inside query parameters will be parsed as query parameters. Here is the final URL that will be called when using such Request Parameters field on the Get custom fields entity.

/v1/threads/448689220/custom-field

**Input Transformer**

Any transformers set here will be executed after the Request Parameters are loaded. So, you basically can add any transformer to provide and transform the request parameters into anything you need either as path parameters and/or as query parameters of an entity.

**HTTP Client**

It’s the HTTP Client configuration or prototype you will use to access EDesk.

**Publishing Entity to EDesk**
**Steps**

1. Go to Connections -> Outgoing, create a new outgoing configuration, and select EDesk Publisher as the publisher.

2. Select the action that you want the publisher to do with the data.

3. Select the EDesk entity you want the data to be published.

4. Select the HTTP Client to use.
   <img src="https://mintcdn.com/alumio/rvdAjy4YRzDDREsn/images/connectors/edesk-03.png?fit=max&auto=format&n=rvdAjy4YRzDDREsn&q=85&s=534be401cbe0204eba74003b1acfe0bf" alt="eDesk connector screenshot 3" width="690" height="204" data-path="images/connectors/edesk-03.png" />

**General Concept**
Like the subscriber, the publisher has similar methods on how to use it. The difference is the payload that will be submitted by the publisher originating from the data (from routes, from transformers in outgoing configuration).

**Action**
Currently, we support Create (HTTP POST method), Put (HTTP PUT method), and Delete (HTTP DELETE method).

**Entity**
We support publishing to most EDesk endpoints. Please refer to the entities in Management APIs from the EDesk API Reference page. Based on the documentation, some endpoints may need one or more path parameters.

For endpoints that require an object as the request payload, please look at the example below. For example, we want to Create a Thread. Please select “Create” as the action and “Create a Thread” as the entity of the publisher.

<img src="https://mintcdn.com/alumio/rvdAjy4YRzDDREsn/images/connectors/edesk-04.png?fit=max&auto=format&n=rvdAjy4YRzDDREsn&q=85&s=9c02d3f373c34400f9ec6bdea0873de1" alt="eDesk connector screenshot 4" width="690" height="209" data-path="images/connectors/edesk-04.png" />

<img src="https://mintcdn.com/alumio/uG1gp13i6A-hR0sB/images/connectors/edesk-05.png?fit=max&auto=format&n=uG1gp13i6A-hR0sB&q=85&s=44714f068f942ee8551330a09efc0a22" alt="eDesk connector screenshot 5" width="374" height="96" data-path="images/connectors/edesk-05.png" />

You can put the payload you want to send to EDesk into the payload property in the data. Here is an example of the Possible Response after Creation.

<img src="https://mintcdn.com/alumio/uG1gp13i6A-hR0sB/images/connectors/edesk-06.png?fit=max&auto=format&n=uG1gp13i6A-hR0sB&q=85&s=d250d4b2e764dc005115dd6d2649b81a" alt="eDesk connector screenshot 6" width="428" height="386" data-path="images/connectors/edesk-06.png" />

Alumio will send an API request to EDesk with URL /v1/threads

**HTTP Client**
It’s the HTTP Client configuration or prototype you will use to access EDesk.
