Skip to main content
Glama

mcp-google-sheets

get-note.ts847 B
import { pipedriveAuth } from '../../index'; import { createAction, Property } from '@activepieces/pieces-framework'; import { pipedriveApiCall } from '../common'; import { HttpMethod } from '@activepieces/pieces-common'; export const getNoteAction = createAction({ auth: pipedriveAuth, name: 'get-note', displayName: 'Retrieve a Note', description: 'Finds a note by ID.', props: { noteId: Property.Number({ displayName: 'Note ID', required: true, }), }, async run(context) { try { const response = await pipedriveApiCall({ accessToken: context.auth.access_token, apiDomain: context.auth.data['api_domain'], method: HttpMethod.GET, resourceUri: `/v1/notes/${context.propsValue.noteId}`, }); return response; } catch (error) { return { success: false, data:{} }; } }, });

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