Zendesk Automation via Rube MCP
Automate Zendesk operations through Composio's Zendesk toolkit via Rube MCP.
Toolkit docs: composio.dev/toolkits/zendesk
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active Zendesk connection via
RUBE_MANAGE_CONNECTIONS with toolkit zendesk
- 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 zendesk
- If connection is not ACTIVE, follow the returned auth link to complete Zendesk auth
- Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. List and Search Tickets
When to use: User wants to view, filter, or search support tickets
Tool sequence:
ZENDESK_LIST_ZENDESK_TICKETS - List all tickets with pagination [Required]
ZENDESK_GET_ZENDESK_TICKET_BY_ID - Get specific ticket details [Optional]
Key parameters:
page: Page number (1-based)
per_page: Results per page (max 100)
sort_by: Sort field ('created_at', 'updated_at', 'priority', 'status')
sort_order: 'asc' or 'desc'
ticket_id: Ticket ID for single retrieval
Pitfalls:
- LIST uses
page/per_page pagination, NOT offset-based; check next_page in response
- Maximum 100 results per page; iterate with page numbers until
next_page is null
- Deleted tickets are not returned by LIST; use GET_BY_ID which returns status 'deleted'
- Ticket comments and audits are included in GET_BY_ID but not in LIST responses
2. Create and Update Tickets
When to use: User wants to create new tickets or modify existing ones
Tool sequence:
ZENDESK_SEARCH_ZENDESK_USERS - Find requester/assignee [Prerequisite]
ZENDESK_CREATE_ZENDESK_TICKET - Create a new ticket [Required]
ZENDESK_UPDATE_ZENDESK_TICKET - Update ticket fields [Optional]
ZENDESK_DELETE_ZENDESK_TICKET - Delete a ticket [Optional]
Key parameters:
subject: Ticket subject line
description: Ticket body (for creation; becomes first comment)
priority: 'urgent', 'high', 'normal', 'low'
status: 'new', 'open', 'pending', 'hold', 'solved', 'closed'
type: 'problem', 'incident', 'question', 'task'
assignee_id: Agent user ID to assign
requester_id: Requester user ID
tags: Array of tag strings
ticket_id: Ticket ID (for update/delete)
Pitfalls:
- Tags on UPDATE REPLACE existing tags entirely; merge with current tags to preserve them
- Use
safe_update with updated_stamp to prevent concurrent modification conflicts
- DELETE is permanent and irreversible; tickets cannot be recovered
description is only used on creation; use REPLY_ZENDESK_TICKET to add comments after creation
- Closed tickets cannot be updated; create a follow-up ticket instead
3. Reply to Tickets
When to use: User wants to add comments or replies to tickets
Tool sequence:
ZENDESK_GET_ZENDESK_TICKET_BY_ID - Get current ticket state [Prerequisite]
ZENDESK_REPLY_ZENDESK_TICKET - Add a reply/comment [Required]
Key parameters:
ticket_id: Ticket ID to reply to
body: Reply text content
public: Boolean; true for public reply, false for internal note
author_id: Author user ID (defaults to authenticated user)
Pitfalls:
- Set
public: false for internal notes visible only to agents
- Default is public reply which sends email to requester
- HTML is supported in body text
- Replying can also update ticket status simultaneously
4. Manage Users
When to use: User wants to find or create Zendesk users (agents, end-users)
Tool sequence:
ZENDESK_SEARCH_ZENDESK_USERS - Search for users [Required]
ZENDESK_CREATE_ZENDESK_USER - Create a new user [Optional]
ZENDESK_GET_ABOUT_ME - Get authenticated user info [Optional]
Key parameters:
query: Search string (matches name, email, phone, etc.)
name: User's full name (required for creation)
email: User's email address
role: 'end-user', 'agent', or 'admin'
verified: Whether email is verified
Pitfalls:
- User search is fuzzy; may return partial matches
- Creating a user with an existing email returns the existing user (upsert behavior)
- Agent and admin roles may require specific plan features
5. Manage Organizations
When to use: User wants to list, create, or manage organizations
Tool sequence:
ZENDESK_GET_ALL_ZENDESK_ORGANIZATIONS - List all organizations [Required]
ZENDESK_GET_ZENDESK_ORGANIZATION - Get specific organization [Optional]
ZENDESK_CREATE_ZENDESK_ORGANIZATION - Create organization [Optional]
ZENDESK_UPDATE_ZENDESK_ORGANIZATION - Update organization [Optional]
ZENDESK_COUNT_ZENDESK_ORGANIZATIONS - Get total count [Optional]
Key parameters:
name: Organization name (unique, required for creation)
organization_id: Organization ID for get/update
details: Organization details text
notes: Internal notes
domain_names: Array of associated domains
tags: Array of tag strings
Pitfalls:
- Organization names must be unique; duplicate names cause creation errors
- Tags on UPDATE REPLACE existing tags (same behavior as tickets)
- Domain names can be used for automatic user association
Common Patterns
Pagination
List endpoints:
- Use
page (1-based) and per_page (max 100)
- Check
next_page URL in response; null means last page
count field gives total results
Ticket Lifecycle
new -> open -> pending -> solved -> closed
| ^
v |
hold --------+
new: Unassigned ticket
open: Assigned, being worked on
pending: Waiting for customer response
hold: Waiting for internal action
solved: Resolved, can be reopened
closed: Permanently closed, cannot be modified
User Search for Assignment
1. Call ZENDESK_SEARCH_ZENDESK_USERS with query (name or email)
2. Extract user ID from results
3. Use user ID as assignee_id in ticket creation/update
Known Pitfalls
Tags Behavior:
- Tags on update REPLACE all existing tags
- Always fetch current tags first and merge before updating
- Tags are lowercase, no spaces (use underscores)
Safe Updates:
- Use
safe_update: true with updated_stamp (ISO 8601) to prevent conflicts
- Returns 409 if ticket was modified since the stamp
Deletion:
- Ticket deletion is permanent and irreversible
- Consider setting status to 'closed' instead of deleting
- Deleted tickets cannot be recovered via API
Rate Limits:
- Default: 400 requests per minute
- Varies by plan tier
- 429 responses include Retry-After header
Quick Reference
| Task |
Tool Slug |
Key Params |
| List tickets |
ZENDESK_LIST_ZENDESK_TICKETS |
page, per_page, sort_by |
| Get ticket |
ZENDESK_GET_ZENDESK_TICKET_BY_ID |
ticket_id |
| Create ticket |
ZENDESK_CREATE_ZENDESK_TICKET |
subject, description, priority |
| Update ticket |
ZENDESK_UPDATE_ZENDESK_TICKET |
ticket_id, status, tags |
| Reply to ticket |
ZENDESK_REPLY_ZENDESK_TICKET |
ticket_id, body, public |
| Delete ticket |
ZENDESK_DELETE_ZENDESK_TICKET |
ticket_id |
| Search users |
ZENDESK_SEARCH_ZENDESK_USERS |
query |
| Create user |
ZENDESK_CREATE_ZENDESK_USER |
name, email |
| My profile |
ZENDESK_GET_ABOUT_ME |
(none) |
| List orgs |
ZENDESK_GET_ALL_ZENDESK_ORGANIZATIONS |
page, per_page |
| Get org |
ZENDESK_GET_ZENDESK_ORGANIZATION |
organization_id |
| Create org |
ZENDESK_CREATE_ZENDESK_ORGANIZATION |
name |
| Update org |
ZENDESK_UPDATE_ZENDESK_ORGANIZATION |
organization_id, name |
| Count orgs |
ZENDESK_COUNT_ZENDESK_ORGANIZATIONS |
(none) |
Powered by Composio
Source: davepoon/buildwithclaude → plugins/all-skills/skills/zendesk-automation/SKILL.md
1---2name: zendesk-automation-23description: "Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas."4category: mcp-and-integrations5source_repo: davepoon/buildwithclaude6source_path: "plugins/all-skills/skills/zendesk-automation/SKILL.md"7source_url: https://github.com/davepoon/buildwithclaude/blob/HEAD/plugins/all-skills/skills/zendesk-automation/SKILL.md8metadata:9 source: https://skillmd.com/skills/thedixitjain/zendesk-automation-210---111213# Zendesk Automation via Rube MCP1415Automate Zendesk operations through Composio's Zendesk toolkit via Rube MCP.1617**Toolkit docs**: [composio.dev/toolkits/zendesk](https://composio.dev/toolkits/zendesk)1819## Prerequisites2021- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)22- Active Zendesk connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `zendesk`23- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas2425## Setup2627**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.2829301. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds312. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `zendesk`323. If connection is not ACTIVE, follow the returned auth link to complete Zendesk auth334. Confirm connection status shows ACTIVE before running any workflows3435## Core Workflows3637### 1. List and Search Tickets3839**When to use**: User wants to view, filter, or search support tickets4041**Tool sequence**:421. `ZENDESK_LIST_ZENDESK_TICKETS` - List all tickets with pagination [Required]432. `ZENDESK_GET_ZENDESK_TICKET_BY_ID` - Get specific ticket details [Optional]4445**Key parameters**:46- `page`: Page number (1-based)47- `per_page`: Results per page (max 100)48- `sort_by`: Sort field ('created_at', 'updated_at', 'priority', 'status')49- `sort_order`: 'asc' or 'desc'50- `ticket_id`: Ticket ID for single retrieval5152**Pitfalls**:53- LIST uses `page`/`per_page` pagination, NOT offset-based; check `next_page` in response54- Maximum 100 results per page; iterate with page numbers until `next_page` is null55- Deleted tickets are not returned by LIST; use GET_BY_ID which returns status 'deleted'56- Ticket comments and audits are included in GET_BY_ID but not in LIST responses5758### 2. Create and Update Tickets5960**When to use**: User wants to create new tickets or modify existing ones6162**Tool sequence**:631. `ZENDESK_SEARCH_ZENDESK_USERS` - Find requester/assignee [Prerequisite]642. `ZENDESK_CREATE_ZENDESK_TICKET` - Create a new ticket [Required]653. `ZENDESK_UPDATE_ZENDESK_TICKET` - Update ticket fields [Optional]664. `ZENDESK_DELETE_ZENDESK_TICKET` - Delete a ticket [Optional]6768**Key parameters**:69- `subject`: Ticket subject line70- `description`: Ticket body (for creation; becomes first comment)71- `priority`: 'urgent', 'high', 'normal', 'low'72- `status`: 'new', 'open', 'pending', 'hold', 'solved', 'closed'73- `type`: 'problem', 'incident', 'question', 'task'74- `assignee_id`: Agent user ID to assign75- `requester_id`: Requester user ID76- `tags`: Array of tag strings77- `ticket_id`: Ticket ID (for update/delete)7879**Pitfalls**:80- Tags on UPDATE REPLACE existing tags entirely; merge with current tags to preserve them81- Use `safe_update` with `updated_stamp` to prevent concurrent modification conflicts82- DELETE is permanent and irreversible; tickets cannot be recovered83- `description` is only used on creation; use REPLY_ZENDESK_TICKET to add comments after creation84- Closed tickets cannot be updated; create a follow-up ticket instead8586### 3. Reply to Tickets8788**When to use**: User wants to add comments or replies to tickets8990**Tool sequence**:911. `ZENDESK_GET_ZENDESK_TICKET_BY_ID` - Get current ticket state [Prerequisite]922. `ZENDESK_REPLY_ZENDESK_TICKET` - Add a reply/comment [Required]9394**Key parameters**:95- `ticket_id`: Ticket ID to reply to96- `body`: Reply text content97- `public`: Boolean; true for public reply, false for internal note98- `author_id`: Author user ID (defaults to authenticated user)99100**Pitfalls**:101- Set `public: false` for internal notes visible only to agents102- Default is public reply which sends email to requester103- HTML is supported in body text104- Replying can also update ticket status simultaneously105106### 4. Manage Users107108**When to use**: User wants to find or create Zendesk users (agents, end-users)109110**Tool sequence**:1111. `ZENDESK_SEARCH_ZENDESK_USERS` - Search for users [Required]1122. `ZENDESK_CREATE_ZENDESK_USER` - Create a new user [Optional]1133. `ZENDESK_GET_ABOUT_ME` - Get authenticated user info [Optional]114115**Key parameters**:116- `query`: Search string (matches name, email, phone, etc.)117- `name`: User's full name (required for creation)118- `email`: User's email address119- `role`: 'end-user', 'agent', or 'admin'120- `verified`: Whether email is verified121122**Pitfalls**:123- User search is fuzzy; may return partial matches124- Creating a user with an existing email returns the existing user (upsert behavior)125- Agent and admin roles may require specific plan features126127### 5. Manage Organizations128129**When to use**: User wants to list, create, or manage organizations130131**Tool sequence**:1321. `ZENDESK_GET_ALL_ZENDESK_ORGANIZATIONS` - List all organizations [Required]1332. `ZENDESK_GET_ZENDESK_ORGANIZATION` - Get specific organization [Optional]1343. `ZENDESK_CREATE_ZENDESK_ORGANIZATION` - Create organization [Optional]1354. `ZENDESK_UPDATE_ZENDESK_ORGANIZATION` - Update organization [Optional]1365. `ZENDESK_COUNT_ZENDESK_ORGANIZATIONS` - Get total count [Optional]137138**Key parameters**:139- `name`: Organization name (unique, required for creation)140- `organization_id`: Organization ID for get/update141- `details`: Organization details text142- `notes`: Internal notes143- `domain_names`: Array of associated domains144- `tags`: Array of tag strings145146**Pitfalls**:147- Organization names must be unique; duplicate names cause creation errors148- Tags on UPDATE REPLACE existing tags (same behavior as tickets)149- Domain names can be used for automatic user association150151## Common Patterns152153### Pagination154155**List endpoints**:156- Use `page` (1-based) and `per_page` (max 100)157- Check `next_page` URL in response; null means last page158- `count` field gives total results159160### Ticket Lifecycle161162```163new -> open -> pending -> solved -> closed164 | ^165 v |166 hold --------+167```168169- `new`: Unassigned ticket170- `open`: Assigned, being worked on171- `pending`: Waiting for customer response172- `hold`: Waiting for internal action173- `solved`: Resolved, can be reopened174- `closed`: Permanently closed, cannot be modified175176### User Search for Assignment177178```1791. Call ZENDESK_SEARCH_ZENDESK_USERS with query (name or email)1802. Extract user ID from results1813. Use user ID as assignee_id in ticket creation/update182```183184## Known Pitfalls185186**Tags Behavior**:187- Tags on update REPLACE all existing tags188- Always fetch current tags first and merge before updating189- Tags are lowercase, no spaces (use underscores)190191**Safe Updates**:192- Use `safe_update: true` with `updated_stamp` (ISO 8601) to prevent conflicts193- Returns 409 if ticket was modified since the stamp194195**Deletion**:196- Ticket deletion is permanent and irreversible197- Consider setting status to 'closed' instead of deleting198- Deleted tickets cannot be recovered via API199200**Rate Limits**:201- Default: 400 requests per minute202- Varies by plan tier203- 429 responses include Retry-After header204205## Quick Reference206207| Task | Tool Slug | Key Params |208|------|-----------|------------|209| List tickets | ZENDESK_LIST_ZENDESK_TICKETS | page, per_page, sort_by |210| Get ticket | ZENDESK_GET_ZENDESK_TICKET_BY_ID | ticket_id |211| Create ticket | ZENDESK_CREATE_ZENDESK_TICKET | subject, description, priority |212| Update ticket | ZENDESK_UPDATE_ZENDESK_TICKET | ticket_id, status, tags |213| Reply to ticket | ZENDESK_REPLY_ZENDESK_TICKET | ticket_id, body, public |214| Delete ticket | ZENDESK_DELETE_ZENDESK_TICKET | ticket_id |215| Search users | ZENDESK_SEARCH_ZENDESK_USERS | query |216| Create user | ZENDESK_CREATE_ZENDESK_USER | name, email |217| My profile | ZENDESK_GET_ABOUT_ME | (none) |218| List orgs | ZENDESK_GET_ALL_ZENDESK_ORGANIZATIONS | page, per_page |219| Get org | ZENDESK_GET_ZENDESK_ORGANIZATION | organization_id |220| Create org | ZENDESK_CREATE_ZENDESK_ORGANIZATION | name |221| Update org | ZENDESK_UPDATE_ZENDESK_ORGANIZATION | organization_id, name |222| Count orgs | ZENDESK_COUNT_ZENDESK_ORGANIZATIONS | (none) |223224---225*Powered by [Composio](https://composio.dev)*226227---228229**Source:** [`davepoon/buildwithclaude`](https://github.com/davepoon/buildwithclaude) → `plugins/all-skills/skills/zendesk-automation/SKILL.md`