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
RUBE_MANAGE_CONNECTIONS with toolkit freshservice
- Always call
RUBE_SEARCH_TOOLS first to get current tool schemas
Setup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLS responds
- Call
RUBE_MANAGE_CONNECTIONS with toolkit freshservice
- 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:
FRESHSERVICE_LIST_TICKETS - List tickets with optional filtering and pagination [Required]
FRESHSERVICE_GET_TICKET - Get detailed information for a specific ticket [Optional]
Key parameters for listing:
filter: Predefined filter ('all_tickets', 'deleted', 'spam', 'watching')
updated_since: ISO 8601 timestamp to get tickets updated after this time
order_by: Sort field ('created_at', 'updated_at', 'status', 'priority')
order_type: Sort direction ('asc' or 'desc')
page: Page number (1-indexed)
per_page: Results per page (1-100, default 30)
include: Additional fields ('requester', 'stats', 'description', 'conversations', 'assets')
Key parameters for get:
ticket_id: Unique ticket ID or display_id
include: Additional fields to include
Pitfalls:
- By default, only tickets created within the past 30 days are returned
- Use
updated_since to retrieve older tickets
- Each
include value consumes additional API credits
page is 1-indexed; minimum value is 1
per_page max is 100; default is 30
- 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:
FRESHSERVICE_CREATE_TICKET - Create a new ticket [Required]
Key parameters:
subject: Ticket subject line (required)
description: HTML description of the ticket (required)
status: Ticket status - 2 (Open), 3 (Pending), 4 (Resolved), 5 (Closed) (required)
priority: Ticket priority - 1 (Low), 2 (Medium), 3 (High), 4 (Urgent) (required)
email: Requester's email address (provide either email or requester_id)
requester_id: User ID of the requester
type: Ticket type ('Incident' or 'Service Request')
source: Channel - 1 (Email), 2 (Portal), 3 (Phone), 4 (Chat), 5 (Twitter), 6 (Facebook)
impact: Impact level - 1 (Low), 2 (Medium), 3 (High)
urgency: Urgency level - 1 (Low), 2 (Medium), 3 (High), 4 (Critical)
Pitfalls:
subject, description, status, and priority are all required
- Either
email or requester_id must be provided to identify the requester
- 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:
FRESHSERVICE_LIST_TICKETS - Find tickets to update [Prerequisite]
FRESHSERVICE_BULK_UPDATE_TICKETS - Update multiple tickets [Required]
Key parameters:
ids: Array of ticket IDs to update (required)
update_fields: Dictionary of fields to update (required)
- 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:
FRESHSERVICE_CREATE_TICKET_OUTBOUND_EMAIL - Create ticket with email notification [Required]
Key parameters:
email: Requester's email address (required)
subject: Email subject / ticket subject (required)
description: HTML email body content
status: Ticket status (2=Open, 3=Pending, 4=Resolved, 5=Closed)
priority: Ticket priority (1=Low, 2=Medium, 3=High, 4=Urgent)
cc_emails: Array of CC email addresses
email_config_id: Email configuration ID for the sender address
name: Requester 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
email_config_id determines which email address the notification appears to come from
5. Create Service Requests
When to use: User wants to submit a service catalog request
Tool sequence:
FRESHSERVICE_CREATE_SERVICE_REQUEST - Create a service request for a catalog item [Required]
Key parameters:
item_display_id: Display ID of the catalog item (required)
email: Requester's email address
quantity: Number of items to request (default: 1)
custom_fields: Custom field values for the service item form
parent_ticket_id: Display ID of a parent ticket (for child requests)
Pitfalls:
item_display_id can be found in Admin > Service Catalog > item URL (e.g., /service_catalog/items/1)
- 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
page (1-indexed) and per_page (max 100) parameters
- Increment
page by 1 each request
- 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 results
Known 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
updated_since parameter for older tickets
- Date format is ISO 8601 (e.g., '2024-01-01T00:00:00Z')
Rate Limits:
- Freshservice API has per-account rate limits
- Each
include option consumes additional API credits
- Implement backoff on 429 responses
Response Parsing:
- Response data may be nested under
data or data.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 |
1---2name: freshservice-automation3description: 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.4---5
6# Freshservice Automation via Rube MCP
7
8Automate Freshservice IT Service Management operations through Composio's Freshservice toolkit via Rube MCP.
9
10## Prerequisites
11
12- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
13- Active Freshservice connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `freshservice`
14- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas
15
16## Setup
17
18**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
19
20
211. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds
222. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `freshservice`
233. If connection is not ACTIVE, follow the returned auth link to complete Freshservice authentication
244. Confirm connection status shows ACTIVE before running any workflows
25
26## Core Workflows
27
28### 1. List and Search Tickets
29
30**When to use**: User wants to find, list, or search for tickets
31
32**Tool sequence**:
331. `FRESHSERVICE_LIST_TICKETS` - List tickets with optional filtering and pagination [Required]
342. `FRESHSERVICE_GET_TICKET` - Get detailed information for a specific ticket [Optional]
35
36**Key parameters for listing**:
37- `filter`: Predefined filter ('all_tickets', 'deleted', 'spam', 'watching')
38- `updated_since`: ISO 8601 timestamp to get tickets updated after this time
39- `order_by`: Sort field ('created_at', 'updated_at', 'status', 'priority')
40- `order_type`: Sort direction ('asc' or 'desc')
41- `page`: Page number (1-indexed)
42- `per_page`: Results per page (1-100, default 30)
43- `include`: Additional fields ('requester', 'stats', 'description', 'conversations', 'assets')
44
45**Key parameters for get**:
46- `ticket_id`: Unique ticket ID or display_id
47- `include`: Additional fields to include
48
49**Pitfalls**:
50- By default, only tickets created within the past 30 days are returned
51- Use `updated_since` to retrieve older tickets
52- Each `include` value consumes additional API credits
53- `page` is 1-indexed; minimum value is 1
54- `per_page` max is 100; default is 30
55- Ticket IDs can be the internal ID or the display_id shown in the UI
56
57### 2. Create a Ticket
58
59**When to use**: User wants to log a new incident or request
60
61**Tool sequence**:
621. `FRESHSERVICE_CREATE_TICKET` - Create a new ticket [Required]
63
64**Key parameters**:
65- `subject`: Ticket subject line (required)
66- `description`: HTML description of the ticket (required)
67- `status`: Ticket status - 2 (Open), 3 (Pending), 4 (Resolved), 5 (Closed) (required)
68- `priority`: Ticket priority - 1 (Low), 2 (Medium), 3 (High), 4 (Urgent) (required)
69- `email`: Requester's email address (provide either email or requester_id)
70- `requester_id`: User ID of the requester
71- `type`: Ticket type ('Incident' or 'Service Request')
72- `source`: Channel - 1 (Email), 2 (Portal), 3 (Phone), 4 (Chat), 5 (Twitter), 6 (Facebook)
73- `impact`: Impact level - 1 (Low), 2 (Medium), 3 (High)
74- `urgency`: Urgency level - 1 (Low), 2 (Medium), 3 (High), 4 (Critical)
75
76**Pitfalls**:
77- `subject`, `description`, `status`, and `priority` are all required
78- Either `email` or `requester_id` must be provided to identify the requester
79- Status and priority use numeric codes, not string names
80- Description supports HTML formatting
81- If email does not match an existing contact, a new contact is created
82
83### 3. Bulk Update Tickets
84
85**When to use**: User wants to update multiple tickets at once
86
87**Tool sequence**:
881. `FRESHSERVICE_LIST_TICKETS` - Find tickets to update [Prerequisite]
892. `FRESHSERVICE_BULK_UPDATE_TICKETS` - Update multiple tickets [Required]
90
91**Key parameters**:
92- `ids`: Array of ticket IDs to update (required)
93- `update_fields`: Dictionary of fields to update (required)
94 - Allowed keys: 'subject', 'description', 'status', 'priority', 'responder_id', 'group_id', 'type', 'tags', 'custom_fields'
95
96**Pitfalls**:
97- Bulk update performs sequential updates internally; large batches may take time
98- All specified tickets receive the same field updates
99- If one ticket update fails, others may still succeed; check response for individual results
100- Cannot selectively update different fields per ticket in a single call
101- Custom fields must use their internal field names, not display names
102
103### 4. Create Ticket via Outbound Email
104
105**When to use**: User wants to create a ticket by sending an outbound email notification
106
107**Tool sequence**:
1081. `FRESHSERVICE_CREATE_TICKET_OUTBOUND_EMAIL` - Create ticket with email notification [Required]
109
110**Key parameters**:
111- `email`: Requester's email address (required)
112- `subject`: Email subject / ticket subject (required)
113- `description`: HTML email body content
114- `status`: Ticket status (2=Open, 3=Pending, 4=Resolved, 5=Closed)
115- `priority`: Ticket priority (1=Low, 2=Medium, 3=High, 4=Urgent)
116- `cc_emails`: Array of CC email addresses
117- `email_config_id`: Email configuration ID for the sender address
118- `name`: Requester name
119
120**Pitfalls**:
121- This creates a standard ticket via the /api/v2/tickets endpoint while sending an email
122- If the email does not match an existing contact, a new contact is created with the provided name
123- `email_config_id` determines which email address the notification appears to come from
124
125### 5. Create Service Requests
126
127**When to use**: User wants to submit a service catalog request
128
129**Tool sequence**:
1301. `FRESHSERVICE_CREATE_SERVICE_REQUEST` - Create a service request for a catalog item [Required]
131
132**Key parameters**:
133- `item_display_id`: Display ID of the catalog item (required)
134- `email`: Requester's email address
135- `quantity`: Number of items to request (default: 1)
136- `custom_fields`: Custom field values for the service item form
137- `parent_ticket_id`: Display ID of a parent ticket (for child requests)
138
139**Pitfalls**:
140- `item_display_id` can be found in Admin > Service Catalog > item URL (e.g., /service_catalog/items/1)
141- Custom fields keys must match the service item form field names
142- Quantity defaults to 1 if not specified
143- Service requests follow the approval workflow defined for the catalog item
144
145## Common Patterns
146
147### Status Code Reference
148
149| Code | Status |
150|------|--------|
151| 2 | Open |
152| 3 | Pending |
153| 4 | Resolved |
154| 5 | Closed |
155
156### Priority Code Reference
157
158| Code | Priority |
159|------|----------|
160| 1 | Low |
161| 2 | Medium |
162| 3 | High |
163| 4 | Urgent |
164
165### Pagination
166
167- Use `page` (1-indexed) and `per_page` (max 100) parameters
168- Increment `page` by 1 each request
169- Continue until returned results count < `per_page`
170- Default page size is 30
171
172### Finding Tickets by Date Range
173
174```
1751. Call FRESHSERVICE_LIST_TICKETS with updated_since='2024-01-01T00:00:00Z'
1762. Optionally add order_by='updated_at' and order_type='desc'
1773. Paginate through results
178```
179
180## Known Pitfalls
181
182**Numeric Codes**:
183- Status and priority use numeric values, not strings
184- Source channel uses numeric codes (1-6)
185- Impact and urgency use numeric codes (1-3 or 1-4)
186
187**Date Filtering**:
188- Default returns only tickets from the last 30 days
189- Use `updated_since` parameter for older tickets
190- Date format is ISO 8601 (e.g., '2024-01-01T00:00:00Z')
191
192**Rate Limits**:
193- Freshservice API has per-account rate limits
194- Each `include` option consumes additional API credits
195- Implement backoff on 429 responses
196
197**Response Parsing**:
198- Response data may be nested under `data` or `data.data`
199- Parse defensively with fallback patterns
200- Ticket IDs are numeric integers
201
202## Quick Reference
203
204| Task | Tool Slug | Key Params |
205|------|-----------|------------|
206| List tickets | FRESHSERVICE_LIST_TICKETS | filter, updated_since, page, per_page |
207| Get ticket | FRESHSERVICE_GET_TICKET | ticket_id, include |
208| Create ticket | FRESHSERVICE_CREATE_TICKET | subject, description, status, priority, email |
209| Bulk update | FRESHSERVICE_BULK_UPDATE_TICKETS | ids, update_fields |
210| Outbound email ticket | FRESHSERVICE_CREATE_TICKET_OUTBOUND_EMAIL | email, subject, description |
211| Service request | FRESHSERVICE_CREATE_SERVICE_REQUEST | item_display_id, email, quantity |