Freshservice Destination
Overview
The Freshservice connector provides powerful data delivery capabilities for creating tickets, managing requesters, and updating IT service management resources. You can choose from pre-configured endpoint templates for common use cases or manually configure custom endpoints for specific data requirements.
Prerequisites
Before creating a Freshservice destination, ensure you have:
- A configured Freshservice credential (see Freshservice Authorization)
- Understanding of Freshservice's data structure and API endpoints
- Appropriate permissions for the Freshservice resources you want to create or update
For complete information about Freshservice's API capabilities, see the official Freshservice API documentation.
Endpoint Templates
The following pre-configured endpoint templates are available for common Freshservice data delivery scenarios:
- Create Tickets: Create new service desk tickets
- Add Tasks to Ticket: Create tasks on existing tickets
- Create Requesters: Create new requester accounts
- Update Requesters: Modify existing requester profiles
- Deactivate Requesters: Deactivate requester accounts
- Update Tickets (V1 API): Update tickets using Freshservice V1 API
Create Tickets
Add Tasks to Ticket
Create Requesters
Update Requesters
Deactivate Requesters
Update Tickets (V1 API)
Manual Configuration
If the pre-configured templates don't meet your needs, you can manually configure custom Freshservice API endpoints.
API Method
Select the HTTP method for your API request:
- POST: For creating new resources (most common for Freshservice destinations)
- PUT: For updating existing resources
- DELETE: For deactivating or removing resources
Data Format
Configure how your data will be formatted for Freshservice API consumption:
- JSON: Most common format for Freshservice API (recommended)
- Form Data: For specific Freshservice endpoints that require form encoding
JSON Configuration:
- Content-Type:
application/json - Data Structure: Ensure your data matches Freshservice's expected schema
API Endpoint URL
Configure the complete Freshservice API endpoint URL:
- Base URL: Use your Freshservice portal URL from your credential (e.g.,
https://yourcompany.freshservice.com) - API Path: Specify the Freshservice API resource you want to create or update (e.g.,
api/v2/tickets,api/v2/requesters) - Resource ID: For updates, include the specific resource ID in the URL path
Example URLs:
https://yourcompany.freshservice.com/api/v2/tickets- Create new ticketshttps://yourcompany.freshservice.com/api/v2/requesters- Create new requestershttps://yourcompany.freshservice.com/api/v2/tickets/{ticket_id}- Update specific ticket
Request Headers
Configure additional HTTP headers for API customization:
- Authorization: Automatically handled by Nexla using your Freshservice credential
- Content-Type: Usually
application/jsonfor Freshservice API - Accept: Specify response format (e.g.,
application/json)
Example headers:
Content-Type: application/json
Accept: application/json
Exclude Attributes
Filter out unnecessary data fields before sending to Freshservice:
- Field Names: Specify exact field names to exclude
- Pattern Matching: Use wildcards for multiple fields (e.g.,
temp_*,debug_*) - Nested Fields: Use dot notation for nested field exclusion (e.g.,
metadata.debug)
Record Batching
Configure how multiple records are grouped for efficient API calls:
- Batch Size: Number of records per API call (Freshservice typically handles single records)
- Batch Method: How to handle multiple records (usually individual API calls)
- Error Handling: How to handle failures in batched operations
Testing Your Configuration
After configuring your Freshservice destination:
- Test Connection: Verify that Nexla can successfully connect to Freshservice
- Validate Data Format: Ensure your data matches Freshservice's expected schema
- Test Record Creation: Send a test record to verify the endpoint works
- Check Permissions: Ensure your credential has the necessary permissions for the operations
Freshservice has strict data validation requirements. Ensure your data matches the expected schema for the resource type you're creating or updating.
Always test your Freshservice destination with appropriate permissions. Ensure your credential has access to create or update the specific Freshservice resources you're targeting.