freshservice-automation
Original:🇺🇸 English
Not Translated
Automate Freshservice ITSM tasks via Rube MCP (Composio): create/update tickets, bulk operations, service requests, and outbound emails. Always search tools first for current schemas.
3installs
Added on
NPX Install
npx skill4agent add sickn33/antigravity-awesome-skills freshservice-automationSKILL.md Content
Freshservice Automation via Rube MCP
Automate Freshservice IT Service Management operations through Composio's Freshservice toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Freshservice connection via with toolkit
RUBE_MANAGE_CONNECTIONSfreshservice - Always call first to get current tool schemas
RUBE_SEARCH_TOOLS
Setup
Get Rube MCP: Add as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
https://rube.app/mcp- Verify Rube MCP is available by confirming responds
RUBE_SEARCH_TOOLS - Call with toolkit
RUBE_MANAGE_CONNECTIONSfreshservice - If connection is not ACTIVE, follow the returned auth link to complete Freshservice authentication
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. List and Search Tickets
When to use: User wants to find, list, or search for tickets
Tool sequence:
- - List tickets with optional filtering and pagination [Required]
FRESHSERVICE_LIST_TICKETS - - Get detailed information for a specific ticket [Optional]
FRESHSERVICE_GET_TICKET
Key parameters for listing:
- : Predefined filter ('all_tickets', 'deleted', 'spam', 'watching')
filter - : ISO 8601 timestamp to get tickets updated after this time
updated_since - : Sort field ('created_at', 'updated_at', 'status', 'priority')
order_by - : Sort direction ('asc' or 'desc')
order_type - : Page number (1-indexed)
page - : Results per page (1-100, default 30)
per_page - : Additional fields ('requester', 'stats', 'description', 'conversations', 'assets')
include
Key parameters for get:
- : Unique ticket ID or display_id
ticket_id - : Additional fields to include
include
Pitfalls:
- By default, only tickets created within the past 30 days are returned
- Use to retrieve older tickets
updated_since - Each value consumes additional API credits
include - is 1-indexed; minimum value is 1
page - max is 100; default is 30
per_page - Ticket IDs can be the internal ID or the display_id shown in the UI
2. Create a Ticket
When to use: User wants to log a new incident or request
Tool sequence:
- - Create a new ticket [Required]
FRESHSERVICE_CREATE_TICKET
Key parameters:
- : Ticket subject line (required)
subject - : HTML description of the ticket (required)
description - : Ticket status - 2 (Open), 3 (Pending), 4 (Resolved), 5 (Closed) (required)
status - : Ticket priority - 1 (Low), 2 (Medium), 3 (High), 4 (Urgent) (required)
priority - : Requester's email address (provide either email or requester_id)
email - : User ID of the requester
requester_id - : Ticket type ('Incident' or 'Service Request')
type - : Channel - 1 (Email), 2 (Portal), 3 (Phone), 4 (Chat), 5 (Twitter), 6 (Facebook)
source - : Impact level - 1 (Low), 2 (Medium), 3 (High)
impact - : Urgency level - 1 (Low), 2 (Medium), 3 (High), 4 (Critical)
urgency
Pitfalls:
- ,
subject,description, andstatusare all requiredpriority - Either or
emailmust be provided to identify the requesterrequester_id - Status and priority use numeric codes, not string names
- Description supports HTML formatting
- If email does not match an existing contact, a new contact is created
3. Bulk Update Tickets
When to use: User wants to update multiple tickets at once
Tool sequence:
- - Find tickets to update [Prerequisite]
FRESHSERVICE_LIST_TICKETS - - Update multiple tickets [Required]
FRESHSERVICE_BULK_UPDATE_TICKETS
Key parameters:
- : Array of ticket IDs to update (required)
ids - : Dictionary of fields to update (required)
update_fields- Allowed keys: 'subject', 'description', 'status', 'priority', 'responder_id', 'group_id', 'type', 'tags', 'custom_fields'
Pitfalls:
- Bulk update performs sequential updates internally; large batches may take time
- All specified tickets receive the same field updates
- If one ticket update fails, others may still succeed; check response for individual results
- Cannot selectively update different fields per ticket in a single call
- Custom fields must use their internal field names, not display names
4. Create Ticket via Outbound Email
When to use: User wants to create a ticket by sending an outbound email notification
Tool sequence:
- - Create ticket with email notification [Required]
FRESHSERVICE_CREATE_TICKET_OUTBOUND_EMAIL
Key parameters:
- : Requester's email address (required)
email - : Email subject / ticket subject (required)
subject - : HTML email body content
description - : Ticket status (2=Open, 3=Pending, 4=Resolved, 5=Closed)
status - : Ticket priority (1=Low, 2=Medium, 3=High, 4=Urgent)
priority - : Array of CC email addresses
cc_emails - : Email configuration ID for the sender address
email_config_id - : Requester name
name
Pitfalls:
- This creates a standard ticket via the /api/v2/tickets endpoint while sending an email
- If the email does not match an existing contact, a new contact is created with the provided name
- determines which email address the notification appears to come from
email_config_id
5. Create Service Requests
When to use: User wants to submit a service catalog request
Tool sequence:
- - Create a service request for a catalog item [Required]
FRESHSERVICE_CREATE_SERVICE_REQUEST
Key parameters:
- : Display ID of the catalog item (required)
item_display_id - : Requester's email address
email - : Number of items to request (default: 1)
quantity - : Custom field values for the service item form
custom_fields - : Display ID of a parent ticket (for child requests)
parent_ticket_id
Pitfalls:
- can be found in Admin > Service Catalog > item URL (e.g., /service_catalog/items/1)
item_display_id - Custom fields keys must match the service item form field names
- Quantity defaults to 1 if not specified
- Service requests follow the approval workflow defined for the catalog item
Common Patterns
Status Code Reference
| Code | Status |
|---|---|
| 2 | Open |
| 3 | Pending |
| 4 | Resolved |
| 5 | Closed |
Priority Code Reference
| Code | Priority |
|---|---|
| 1 | Low |
| 2 | Medium |
| 3 | High |
| 4 | Urgent |
Pagination
- Use (1-indexed) and
page(max 100) parametersper_page - Increment by 1 each request
page - Continue until returned results count <
per_page - Default page size is 30
Finding Tickets by Date Range
1. Call FRESHSERVICE_LIST_TICKETS with updated_since='2024-01-01T00:00:00Z'
2. Optionally add order_by='updated_at' and order_type='desc'
3. Paginate through resultsKnown Pitfalls
Numeric Codes:
- Status and priority use numeric values, not strings
- Source channel uses numeric codes (1-6)
- Impact and urgency use numeric codes (1-3 or 1-4)
Date Filtering:
- Default returns only tickets from the last 30 days
- Use parameter for older tickets
updated_since - Date format is ISO 8601 (e.g., '2024-01-01T00:00:00Z')
Rate Limits:
- Freshservice API has per-account rate limits
- Each option consumes additional API credits
include - Implement backoff on 429 responses
Response Parsing:
- Response data may be nested under or
datadata.data - Parse defensively with fallback patterns
- Ticket IDs are numeric integers
Quick Reference
| Task | Tool Slug | Key Params |
|---|---|---|
| List tickets | FRESHSERVICE_LIST_TICKETS | filter, updated_since, page, per_page |
| Get ticket | FRESHSERVICE_GET_TICKET | ticket_id, include |
| Create ticket | FRESHSERVICE_CREATE_TICKET | subject, description, status, priority, email |
| Bulk update | FRESHSERVICE_BULK_UPDATE_TICKETS | ids, update_fields |
| Outbound email ticket | FRESHSERVICE_CREATE_TICKET_OUTBOUND_EMAIL | email, subject, description |
| Service request | FRESHSERVICE_CREATE_SERVICE_REQUEST | item_display_id, email, quantity |