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 } from '@activepieces/pieces-framework';
import { slackAuth } from '../auth';
import { findUserByEmailAction } from './find-user-by-email';
import { findUserByEmailActionOutputSchema } from '../output-schemas';
export const slackFindUserByEmail = createAction({
auth: slackAuth,
name: 'find_user_by_email',
classification: 'READ',
displayName: 'Find User by Email',
description: 'Find a Slack user by their exact email address.',
audience: 'ai',
aiMetadata: {
description:
'Looks up a single workspace member by their exact email address and returns that user (including their user ID). Pick this to turn an email into a Slack user ID before messaging or referencing the person; use Find User by Handle when you only know the @handle, or Get User when you already have the ID. Read-only and idempotent; errors if no member matches the email.',
idempotent: true,
},
outputSchema: findUserByEmailActionOutputSchema,
props: findUserByEmailAction.props,
run: findUserByEmailAction.run,
});