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 { vboutAuth } from '../auth';
import { makeClient, vboutCommon } from '../common';
export const getContactByEmailAction = createAction({
auth: vboutAuth,
name: 'vbout_get_contact_by_email',
classification: 'READ',
displayName: 'Get Contact by Email',
description: 'Retrieves the contact by email.',
audience: 'both',
aiMetadata: {
description: 'Looks up a VBOUT contact by email address, optionally scoped to a specific email list. Use to fetch a contact record or resolve its ID before updating, tagging, or unsubscribing. The email is required; this is a read-only lookup and is idempotent.',
idempotent: true,
},
props: {
listid: vboutCommon.listid(false),
email: Property.ShortText({
displayName: 'Email',
required: true,
}),
},
async run({ auth, propsValue }) {
const client = makeClient(auth.secret_text);
const { listid, email } = propsValue;
return await client.getContactByEmail(email, listid);
},
});