Skip to main content
Glama

mcp-google-sheets

create-booking-comment.ts852 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { simplybookAuth, makeJsonRpcCall, SimplybookAuth, bookingDropdown } from '../common'; export const createBookingComment = createAction({ auth: simplybookAuth, name: 'create_booking_comment', displayName: 'Set Booking Comment', description: 'Set a comment for a booking', props: { bookingId: bookingDropdown, comment: Property.LongText({ displayName: 'Comment', description: 'The comment text to set for the booking', required: true }) }, async run(context) { const auth = context.auth as SimplybookAuth; const { bookingId, comment } = context.propsValue; const params = [bookingId, comment]; const result = await makeJsonRpcCall<number>(auth, 'setBookingComment', params); return { id: result }; } });

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