Skip to main content
Glama

mcp-google-sheets

find-user-by-email.ts677 B
import { slackAuth } from '../../'; import { createAction, Property } from '@activepieces/pieces-framework'; import { WebClient } from '@slack/web-api'; export const findUserByEmailAction = createAction({ auth: slackAuth, name: 'slack-find-user-by-email', displayName: 'Find User by Email', description: 'Finds a user by matching against their email address.', props: { email: Property.ShortText({ displayName: 'Email', required: true, }), }, async run({ auth, propsValue }) { const email = propsValue.email; const client = new WebClient(auth.access_token); return await client.users.lookupByEmail({ email, }); }, });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/activepieces/activepieces'

If you have feedback or need assistance with the MCP directory API, please join our Discord server