Skip to main content
Glama

mcp-google-sheets

create-plan.ts872 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { microsoft365PlannerAuth, microsoft365PlannerCommon } from '../common'; import { groupDropdown } from '../common/properties'; export const createPlan = createAction({ auth: microsoft365PlannerAuth, name: 'createPlan', displayName: 'Create Plan', description: 'Create a new planner plan', props: { groupId: groupDropdown({ required: true }), title: Property.ShortText({ displayName: 'Title', description: 'The title of the plan', required: true, }), }, async run({ auth, propsValue }) { const planParams = { container: { url : `https://graph.microsoft.com/v1.0/groups/${propsValue.groupId}`, }, title: propsValue.title, }; return await microsoft365PlannerCommon.createPlan({ auth, ...planParams }); }, });

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