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
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { createAction, Property } from '@activepieces/pieces-framework';
import { confluenceAuth } from '../auth';
import { confluenceApi } from '../common/api';
import { replyToCommentOutputSchema } from '../output-schemas';
export const replyToCommentAction = createAction({
auth: confluenceAuth,
name: 'reply-to-comment',
outputSchema: replyToCommentOutputSchema,
classification: 'WRITE',
displayName: 'Reply to Comment',
description: 'Replies to an existing footer comment on a page.',
audience: 'both',
aiMetadata: { description: 'Posts a reply nested under an existing footer comment, identified by the parent comment ID, with the reply body in storage (XHTML) format. Use to respond in a comment thread; to start a new top-level comment use Add Comment to Page instead. Not idempotent: each call adds another reply.', idempotent: false },
props: {
parentCommentId: Property.ShortText({
displayName: 'Parent Comment ID',
description: 'The ID of the comment to reply to.',
required: true,
}),
body: Property.LongText({
displayName: 'Reply',
description: 'Reply body in storage (XHTML) format.',
required: true,
}),
},
async run(context) {
const { parentCommentId, body } = context.propsValue;
return await confluenceApi.createFooterComment({
auth: context.auth,
parentCommentId,
value: body,
});
},
});