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 { HttpMethod } from '@activepieces/pieces-common';
import { createAction } from '@activepieces/pieces-framework';
import { respondIoApiCall } from '../common/client';
import { respondIoAuth } from '../common/auth';
import { contactIdentifierDropdown } from '../common/props';
export const deleteContact = createAction({
auth: respondIoAuth,
name: 'delete_contact',
displayName: 'Delete Contact',
description: 'Permanently delete a contact from Respond.io.',
audience: 'both',
aiMetadata: { description: 'Permanently deletes a contact from Respond.io, identified by the contact identifier. Destructive and irreversible — use only when the contact should be fully removed. Idempotent on end state: once deleted, repeating leaves the contact absent.', idempotent: true },
props: {
identifier: contactIdentifierDropdown,
},
async run({ propsValue, auth }) {
const { identifier } = propsValue;
return await respondIoApiCall({
method: HttpMethod.DELETE,
url: `/contact/${identifier}`,
auth: auth,
});
},
});