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 { Property, createAction } from '@activepieces/pieces-framework';
import { mondayAuth } from '../auth';
import { makeClient } from '../common';
import { createUpdateActionOutputSchema } from '../output-schemas';
export const createUpdateAction = createAction({
auth: mondayAuth,
name: 'monday_create_update',
classification: 'WRITE',
displayName: 'Create Update',
description: 'Creates a new update.',
audience: 'human',
aiMetadata: { description: 'Posts an update (a comment/note in the item\'s update feed) to a monday.com item identified by item id. Use to add a message or log to an item. Not idempotent: each call appends a new update.', idempotent: false },
outputSchema: createUpdateActionOutputSchema,
props: {
item_id: Property.ShortText({
displayName: 'Item ID',
required: true,
}),
body: Property.LongText({
displayName: 'Body',
required: true,
}),
},
async run(context) {
const { item_id, body } = context.propsValue;
const client = makeClient(context.auth);
return await client.createUpdate({
itemId: item_id as string,
body: body as string,
});
},
});