Two-way Freshservice ↔ ClickUp sync at VEC, built by an AI agent through Celigo's MCP server

I work on the Business Systems team at VEC. Our internal teams receive work requests as Freshservice tickets, but they plan and do the work in ClickUp. We wanted one simple rule: Freshservice is the front door, ClickUp is where the work happens, and the two always agree.

Where we started

We first ran this on the native ClickUp connector app inside Freshservice: four recipes, a lookup table, and a task allowance. It worked, but every action step counted as a task. Running our full test plan once used about 1,800 tasks, and our verification found 16 problems we couldn't fix inside the connector (for example, two ClickUp comments posted seconds apart could lose one, and comment attachments arrived as an HTML page instead of the file).

What we built in Celigo

Two flows replace the four recipes.

Flow A: Freshservice to ClickUp (every 5 minutes)

  • One Freshservice call reads every ticket updated since the last run.
  • A router sends tickets from our team's workspace to the task steps; tickets with a team selected get exactly one task in that team's Backlog list.
  • The link between ticket and task is a "Freshservice Ticket ID" custom field on the task, so there is no lookup table to maintain. Archived tasks are searched separately, because the space search skips them.
  • Status, priority and estimate are only sent when they actually differ. Changing the team on the ticket moves the task to the other team's list.
  • Ticket notes and replies (public and private) become ClickUp comments, with their files shown inside the comment.

Flow B: ClickUp to Freshservice

  • Every 5 minutes it reads changed tasks in the team lists and syncs status, agent, required fields and planning fields back to the ticket.
  • A ClickUp webhook calls the same flow in real time for comments and Resolution Note edits. A comment becomes a public reply on the ticket in about 30 seconds, with the commenter's name and the first file attached.
  • Closing a task requires a Resolution Note. If it is empty, the task goes back one status with a comment asking for it, and the ticket is not touched.

No loops without a lookup table: each side only sends a status when its own change is newer than the other side's, and the flows record the IDs of the replies and conversations they copied, so nothing is copied back.

How AI built it

The integration was designed, built and tested by Claude (Anthropic's AI assistant) working directly in our Celigo account through Celigo's MCP server, with me approving every decision:

  • It read our old recipes and our 105-case test plan and proposed the flow design.
  • It created the exports, imports, routers, scripts and flows through the MCP tools.
  • It ran each test case, read the run results and error details, fixed what failed, and re-ran the case.
  • It wrote the verification report and the integration documentation.

Guardrails we kept: credentials were only ever entered by a person and stay inside the Celigo connections, and every production change was approved before it happened.

Results

  • 107 test cases (our original 105 plus two new file cases), none failed. 12 of the 15 cases the connector failed now pass.
  • 10 of the 16 connector problems are fixed or no longer occur.
  • Zero connector tasks used.
  • Running in production since mid-November.

Lessons that might save you time

  • Use a custom field as the link between records instead of a lookup table. It survives rebuilds and is easy to inspect.
  • Read the ClickUp comment by the ID in the webhook payload, not "the latest comment". Two comments posted seconds apart will otherwise collide.
  • Don't leave a webhook listener flow disabled. ClickUp suspends a webhook after 100 failed calls.
  • The Freshservice "all workspaces" ticket list leaves out workspace-specific fields. Route on the workspace ID first, then read the full ticket.
  • Celigo can hold a scheduled run in the queue for a minute or two. Plan your "how fast does it sync" promises around that.

Happy to answer questions about any part of it!

1 Like