About the Freshdesk category

Put topics about this connector package here.
Always check the ‘How to use the Alumio connector packages’ topic.

Extra information

System documentation:

Connector package documentation

Freshdesk

Setting up HTTP Client Freshdesk

Steps

  1. In Alumio Dashboard, go to Clients > HTTPS Client. Create a new HTTP Client and select Freshdesk HTTP Client as the prototype of the HTTP Client.
  2. Fill in the Base URI, API Key/Email, and Password (Optional if you use API Key)
  3. Save the Client for use later.

Setting up Credentials

Steps

  1. API Key
  • Log in to your Support Portal
  • Click on your profile picture on the top right corner of your portal
  • Go to Profile settings Page
  • Your API key will be available below the change password section to your right
  1. Email & Password
  • Simply Register to the environment and use the same email and password that used to login into Freshdesk

Subscribing to Entities from Freshdesk

Steps

  1. Go to Connections → Incoming and create a new incoming configuration and select Freshdesk Subscriber as the subscriber.
  2. Select the entity you want to subscribe from Freshdesk.
  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 Freshdesk HTTP Client to use.

General Concept

We follow Freshdesk documentation on building this connector so you can easily use the connector based on Freshdesk API Reference.

Entity

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

Request Parameters

These are the parameters you can provide to get the needed entity based on Freshdesk API Reference. Please look at the example below on how to fill the Request Parameters field when subscribing View a Product entity.

image

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 View a Product.

/api/v2/products/SS2B

Input Transformer
Any transformer’s 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 Freshdesk.

Publishing Entity to Freshdesk

Steps

  1. Go to Connections → Outgoing, create a new outgoing configuration, and select Freshdesk Publisher as the publisher.
  2. Select the action that you want the publisher to do with the data.
  3. Select the Freshdesk entity you want the data to be published.
  4. You can optionally add any query parameters to the request.
  5. You can also optionally add any transformers to transform the data into anything you need before submitting it to Freshdesk.
  6. Select the HTTP Client to use.

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), though you can also add or modify payload using the Request Transformer.

Action

Currently, we support Post (HTTP POST method), Patch (HTTP PATCH method), Put (HTTP PUT method). And Delete (HTTP DELETE method).

Entity

We support publishing to most Freshdesk endpoints. Please refer to the entities in Management APIs from the Freshdesk 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 Delete a Contact. Please select “Delete” as the action and “Soft Delete a Contact” as the entity of the publisher.

image

You can put the payload you want to send to Freshdesk into the payload property in the data.

Alumio will send an API request to Freshdesk with URL /api/v2/contacts/123

HTTP Client

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