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 { makeClient } from '../../common';
import { clockodoAuth } from '../../auth';
export default createAction({
auth: clockodoAuth,
name: 'delete_entry',
classification: 'DESTRUCTIVE',
displayName: 'Delete Entry',
description: 'Deletes an entry in clockodo',
audience: 'both',
aiMetadata: {
description:
'Permanently deletes a clockodo time-record entry identified by its numeric entry_id. Use to remove a logged entry; locate the entry_id first via Get Entries if unknown. Idempotent: the entry reaches the same deleted end state on repeated calls.',
idempotent: true,
},
props: {
entry_id: Property.Number({
displayName: 'Entry ID',
required: true,
}),
},
async run({ auth, propsValue }) {
const client = makeClient(auth.props);
await client.deleteEntry(propsValue.entry_id);
},
});