Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

fix(clickup): task comments and message reactions (#15602)

sanket-a11yd0aaec81fd81
diff --git a/bun.lock b/bun.lock
index 0ac5b3781fc..d878d7a1d1a 100644
--- a/bun.lock
+++ b/bun.lock
@@ -1957,7 +1957,7 @@
},
"packages/pieces/community/clickup": {
"name": "@activepieces/piece-clickup",
- "version": "0.8.0",
+ "version": "0.8.1",
"dependencies": {
"@activepieces/core-piece-types": "workspace:*",
"@activepieces/core-utils": "workspace:*",
diff --git a/packages/pieces/community/clickup/package.json b/packages/pieces/community/clickup/package.json
index 5a376f4e252..154ab45afd8 100644
--- a/packages/pieces/community/clickup/package.json
+++ b/packages/pieces/community/clickup/package.json
@@ -1,6 +1,6 @@
{
"name": "@activepieces/piece-clickup",
- "version": "0.8.0",
+ "version": "0.8.1",
"main": "./dist/src/index.js",
"types": "./dist/src/index.d.ts",
"scripts": {
diff --git a/packages/pieces/community/clickup/src/lib/actions/chat/create-message-reaction.ts b/packages/pieces/community/clickup/src/lib/actions/chat/create-message-reaction.ts
index 8e6c1a6a648..39a1859f08e 100644
--- a/packages/pieces/community/clickup/src/lib/actions/chat/create-message-reaction.ts
+++ b/packages/pieces/community/clickup/src/lib/actions/chat/create-message-reaction.ts
@@ -21,7 +21,7 @@ export const createClickupMessageReaction = createAction({
required: true,
}),
emoji: Property.ShortText({
- description: 'Emoji to react with',
+ description: 'Emoji shortcode to react with, without colons, e.g. heart or tada',
displayName: 'Emoji',
required: true,
}),
@@ -34,7 +34,7 @@ export const createClickupMessageReaction = createAction({
HttpMethod.POST,
`workspaces/${workspace_id}/chat/messages/${message_id}/reactions`,
getAccessTokenOrThrow(configValue.auth),
- { emoji },
+ { reaction: emoji },
{}
);
return response.body;
diff --git a/packages/pieces/community/clickup/src/lib/actions/chat/delete-message-reaction.ts b/packages/pieces/community/clickup/src/lib/actions/chat/delete-message-reaction.ts
index a88e9a22c93..932c573a5c4 100644
--- a/packages/pieces/community/clickup/src/lib/actions/chat/delete-message-reaction.ts
+++ b/packages/pieces/community/clickup/src/lib/actions/chat/delete-message-reaction.ts
@@ -20,8 +20,8 @@ export const deleteClickupMessageReaction = createAction({
required: true,
}),
reaction_id: Property.ShortText({
- description: 'ID of the reaction to delete',
- displayName: 'Reaction ID',
+ description: 'Emoji shortcode of the reaction to delete, without colons, e.g. heart or tada',
+ displayName: 'Reaction',
required: true,
}),
},
diff --git a/packages/pieces/community/clickup/src/lib/actions/comments/create-task-comment.ts b/packages/pieces/community/clickup/src/lib/actions/comments/create-task-comment.ts
index f36ca18de33..bb1776b32c4 100644
--- a/packages/pieces/community/clickup/src/lib/actions/comments/create-task-comment.ts
+++ b/packages/pieces/community/clickup/src/lib/actions/comments/create-task-comment.ts
@@ -37,7 +37,7 @@ export const createClickupTaskComment = createAction({
if (!assignee_id) {
const user_request = await callClickUpApi(
HttpMethod.GET,
- `/user`,
+ `user`,
getAccessTokenOrThrow(configValue.auth),
{}
);
@@ -51,7 +51,7 @@ export const createClickupTaskComment = createAction({
const response = await callClickUpApi(
HttpMethod.POST,
- `/task/${task_id}/comment`,
+ `task/${task_id}/comment`,
getAccessTokenOrThrow(configValue.auth),
{
comment_text: comment,
diff --git a/packages/pieces/community/clickup/src/lib/actions/comments/get-task-comments.ts b/packages/pieces/community/clickup/src/lib/actions/comments/get-task-comments.ts
index a365fbe7035..a52f38ac048 100644
--- a/packages/pieces/community/clickup/src/lib/actions/comments/get-task-comments.ts
+++ b/packages/pieces/community/clickup/src/lib/actions/comments/get-task-comments.ts
@@ -24,7 +24,7 @@ export const getClickupTaskComments = createAction({
const { task_id } = configValue.propsValue;
const response = await callClickUpApi(
HttpMethod.GET,
- `/task/${task_id}/comment`,
+ `task/${task_id}/comment`,
getAccessTokenOrThrow(configValue.auth),
{}
);