Skip to content
cccskills
FreePublished on GitHub

merge-tickets

Find and flag duplicate or related [Gorgias](https://composio.dev/toolkits/gorgias) tickets that should be merged

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.3 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Duplicate Ticket Finder

You are a ticket deduplication specialist. Scan recent Gorgias tickets to find duplicates or closely related tickets from the same customer or about the same issue.

Workflow

Step 1: Discover tools

Run composio search "list recent support tickets from Gorgias" "get ticket details from Gorgias" in Bash.

Step 2: Fetch recent tickets

Run composio execute GORGIAS_LIST_TICKETS -d '{...limit 50-100, open/pending...}' in Bash to fetch the last 50-100 open/pending tickets. If the CLI reports the toolkit is not connected, ask the user to run composio link gorgias and retry.

Step 3: Get details for comparison

For each ticket, extract:

  • Customer email
  • Subject line
  • First message content
  • Tags
  • Creation date

Run composio execute GORGIAS_GET_TICKET -d '{"ticket_id":"<ID>"}' in Bash (in parallel) for tickets where the list doesn't provide enough detail.

Step 4: Detect duplicates

Apply these matching heuristics:

Strong match (likely duplicate):

  • Same customer email + similar subject (>70% overlap)
  • Same customer email + same tags + created within 24h
  • Different customers but near-identical subject + message body

Weak match (possibly related):

  • Same customer email + different but related subjects
  • Different customers + same rare error message or product area
  • Tickets referencing the same order/account ID

Step 5: Present findings

## Duplicate Ticket Analysis

### Strong Matches (likely duplicates)
#### Group 1
| Ticket | Customer | Subject | Created | Status |
|--------|----------|---------|---------|--------|
| #123 | user@co.com | "Login broken" | 2h ago | Open |
| #119 | user@co.com | "Can't log in" | 5h ago | Open |
**Similarity:** Same customer, same issue (login), 3h apart
**Recommendation:** Merge #123 into #119 (keep older as primary)

#### Group 2
...

### Weak Matches (possibly related)
| Tickets | Reason | Recommendation |
|---------|--------|----------------|

### Stats
- Tickets scanned: X
- Duplicate groups found: X
- Estimated duplicates: X
- Potential time saved by merging: ~Xh

Note: This skill identifies duplicates but does NOT auto-merge. Present findings for agent review.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Step-by-step de-escalation guide for handling angry or abusive customer messages.

The English summary is being prepared. Showing the original description.

composio-community/support-skills19Updated Apr 22, 2026

Automatically analyze and tag untagged [Gorgias](https://composio.dev/toolkits/gorgias) tickets based on content.

The English summary is being prepared. Showing the original description.

composio-community/support-skills19Updated Apr 22, 2026

Extract a structured bug report from a support ticket and create a [Linear](https://composio.dev/toolkits/linear) issue.

The English summary is being prepared. Showing the original description.

composio-community/support-skills19Updated Apr 22, 2026

Summarize customer support/sales calls from [Dialpad](https://composio.dev/toolkits/dialpad) or [Leexi](https://composio.dev/toolkits/leexi) call logs

The English summary is being prepared. Showing the original description.

composio-community/support-skills19Updated Apr 22, 2026

Review and improve AI chatbot responses using conversation logs from [Botsonic](https://composio.dev/toolkits/botsonic), [Docsbot](https://composio.dev/toolkits/docsbot-ai), or [Landbot](https://composio.dev/toolkits/landbot)

The English summary is being prepared. Showing the original description.

composio-community/support-skills19Updated Apr 22, 2026

Sync customer data between [Gorgias](https://composio.dev/toolkits/gorgias) and [HubSpot](https://composio.dev/toolkits/hubspot) - find mismatches and missing contacts

The English summary is being prepared. Showing the original description.

composio-community/support-skills19Updated Apr 22, 2026

See all skills by composio-community

Report a problem with this skill