FreshService


Freshservice Connector Documentation

Overview

FreshService is a cloud-based IT Service Management solution. With FreshService, businesses can manage major IT incidents, get on-call management, track service health, and more.

Leena AI integrates with FreshService via REST APIs. They allow you to perform 'RESTful' operations such as reading, modifying, adding or deleting data from your service desk.

Prerequisites

Before setting up the Freshservice connector, ensure you have:

  • Access to your Freshservice Support Portal as an agent or admin
  • Ability to access Profile settings and generate API key
  • Access to your Leena AI workspace with connector management permissions

Setting Up the Connector

Step 1: Generate API Key in Freshservice

  1. Log in to your Freshservice Support Portal as an agent or admin
  2. Click your profile picture in the upper-right corner of the page
  3. Go to Profile settings from the dropdown menu
  4. On the right side, complete the CAPTCHA if prompted to reveal the API key
  5. Copy your API key and save it securely for the next step

Step 2: Configure Connector in Leena AI

  1. Log in to your Leena AI workspace
  2. Navigate to Settings > Integrations
  3. Search for "Freshservice" and select it from the list
  4. Click to add a new Freshservice connector

Step 3: Enter Authentication Details

The Freshservice connector uses Basic Authentication. Provide the following information:

ParameterDescriptionSource
API KeyYour Freshservice API keyFrom Step 1

Step 4: Save Configuration

  1. Paste the API key into the "API Key" field while setting up the connector

  2. Click Save to complete the connector setup

  3. The connector will be ready to use


Permissions and Scopes

Available Actions

Ticket Management

Create Ticket

This action is used to create an Incident ticket in FreshService. Leena AI automates the creation of IT support tickets in Freshservice by collecting issue details from users and generating tickets with all necessary information.


Input Fields:

Field NameDescriptionExample
DescriptionExplain the description of the ticket/issueSalary less this month
Subject, Phone, EmailProvide a subject line of the ticket with phone and emailJune Salary less
CategoryPlease provide a Category / Subcategory for the ticketHR/ Payroll

Update a Ticket

This action is used to update a ticket record with a given ticket id in FreshService. Post a ticket ID is provided, all the fields render which can be updated with the new values.


Input Fields:

Field NameDescriptionExample
DescriptionExplain the description of the ticket/issueSalary less this month
Subject, Phone, EmailProvide a subject line of the ticket with phone and emailJune Salary less
CategoryPlease provide a Category / Subcategory for the ticketHR/ Payroll

Use Case: An employee can request Virtual Assistant to update the existing details of the ticket raised by it before.

Agent Management

Create an Agent

This action is used to create an Agent in FreshService. An agent in FreshService is a user who provides technical assistance and customer support. They can be full-time or occasional, depending on the needs of the organization.


Input Fields:

FieldDescriptionExample
First nameThe name of the agent. This reflects as a display name for the user/agent. This is a mandatory field.John Doe
EmailThe unique attribute associated with each agent is Email. This is a mandatory field.[email protected]
Other custom fields/attributesSpecific to the Organization, other custom attributes would render such as, Address, Office Location, Contact details etc. These attributes basis the configuration, can be mandatory or non-mandatory-

Use Case: Leena AI facilitates the onboarding process by creating new agent profiles in FreshService, assigning roles and permissions based on the provided information.

Service Request Management

Create a Service Request

This action is used to create a service request in FreshService. Leena AI streamlines the process of submitting service requests in Freshservice, capturing user requirements and routing them to the appropriate IT team for action. Example: Ordering a laptop or an IT accessory.


Input Fields:

Field NameDescriptionExample
Item Display IdSelect the product/ service for the requestLaptop issue
Email id of requesterEmail id of the requester[email protected]
QuantityEnter the quantity to be issued"1"

Use Cases

Create, Update and Get status of tickets/service requests raised via Leena AI Assistant

This connector allows you to setup workflows which enables user to create, update delete or get status of their tickets via natural language using Leena AI assistant.

Provision or De-provision users at the time of onboarding / off-boarding

Provision for users to be able to add comments on the ticket via Leena AI's virtual assistant which will be reflected to Fresh service portal.

Troubleshooting

Authentication Issues

Problem: Unable to authenticate with Freshservice

Solutions:

  • Verify that the API key is entered correctly
  • Ensure you have completed the CAPTCHA to reveal the API key
  • Check that your Freshservice account has agent or admin privileges
  • Regenerate the API key if necessary and update the connector configuration

Permission Errors

Problem: Actions fail due to insufficient permissions

Solutions:

  • Verify that the authenticated user has appropriate permissions in Freshservice
  • Check that the agent role has access to perform the required operations

Best Practices

  1. Security: Store API key securely and never share it publicly
  2. Testing: Test the connector with non-production data before deploying to production
  3. Monitoring: Regularly review connector usage and permissions
  4. Documentation: Keep track of custom fields and categories for easier workflow configuration

Support

For additional assistance with the Freshservice connector:

  • Contact your Leena AI support team
  • Refer to Freshservice API documentation for platform-specific questions
  • Check connector logs in Leena AI for debugging information

API Rate Limits

Be aware of Freshservice's API rate limits when configuring automated workflows. Plan your automation frequency accordingly to avoid hitting rate limits.