Skip to main content
Glama

mcp-google-sheets

search-subscriber-by-email.ts908 B
import { zagomailAuth } from '../../'; import { createAction, Property } from '@activepieces/pieces-framework'; import { zagoMailApiService } from '../common/request'; import { listUId } from '../common/props'; export const searchSubscriberByEmail = createAction({ auth: zagomailAuth, name: 'searchSubscriberByEmail', displayName: 'Search Subscriber', description: 'Finds a subscriber by their email address.', props: { listUId: listUId, email: Property.ShortText({ displayName: 'Email', required: true, }), }, async run({ propsValue, auth }) { const listUId = propsValue.listUId; const email = propsValue.email; const response = await zagoMailApiService.searchSubscriberByEmail( auth, listUId, { email, } ); return { found: response.status === 'success', result: response.data ?? null, }; }, });

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