TICKET MANAGEMENT

Merge ClickUp Duplicates on a /dedup Comment Command

When an agent comments a /dedup command on a ClickUp task, the workflow finds the best matching ticket, merges context, links the two, and replies with the result.

CategoryTicket Management
Enginesim
Difficultyintermediate
Triggerevent
Steps5
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerClickUp comment with /dedup commandClickUpClickUp
  • ActionFetch candidate open ticketsClickUpClickUp
  • ActionRank match and draft consolidated summaryOpenAI
  • LogicBranch: usable match found?
  • OutputLink related tasks and reply in comment threadClickUpClickUp

What it does

This workflow gives agents an on-demand dedup command. Whenever someone comments `/dedup` on a ClickUp task, it searches for the closest matching open ticket, consolidates the unique context from both, links them as related, and replies in the comment thread with what it did. Detection runs only when an agent explicitly asks, keeping it precise and intentional.

When to use it

Use this when agents prefer to invoke deduplication manually during triage rather than have it fire on every new ticket. Ideal for teams that want a deliberate, agent-driven control.

How it works

  1. 1A ClickUp comment webhook fires and the flow detects the `/dedup` command on a task.
  2. 2The flow fetches candidate open tickets from the same list.
  3. 3OpenAI ranks candidates and drafts a consolidated context summary for the top match.
  4. 4A logic step verifies a usable match exists before acting.
  5. 5The flow links the two tasks as related in ClickUp and replies in the comment thread with the matched ticket and merge summary.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect ClickUpDocs + tasks + chats in one workspace.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  4. 4
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  5. 5
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.