Skip to main content
Glama

mcp-google-sheets

send-campaign.ts839 B
import { propsValidation } from '@activepieces/pieces-common'; import { createAction } from '@activepieces/pieces-framework'; import { zohoCampaignsAuth, zohoCampaignsCommon } from '../common'; export const sendCampaign = createAction({ auth: zohoCampaignsAuth, name: 'sendCampaign', displayName: 'Send Campaign', description: 'Send a campaign that has been created or cloned.', props: zohoCampaignsCommon.sendCampaignProperties(), async run({ auth, propsValue }) { const { access_token: accessToken, location } = auth as any; await propsValidation.validateZod( propsValue, zohoCampaignsCommon.sendCampaignSchema ); const { campaignkey } = propsValue; return await zohoCampaignsCommon.sendCampaign({ accessToken, location, campaignkey: campaignkey as string, }); }, });

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