Skip to main content
Glama

mcp-google-sheets

find-task.ts889 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { HttpMethod } from '@activepieces/pieces-common'; import { podioAuth } from '../../index'; import { podioApiCall, getAccessToken, dynamicTaskProperty } from '../common'; export const findTaskAction = createAction({ auth: podioAuth, name: 'find_task', displayName: 'Find Task', description: 'Retrieve a task by ID for further updates.', props: { taskId: dynamicTaskProperty, }, async run(context) { const accessToken = getAccessToken(context.auth); const { taskId } = context.propsValue; if (!taskId) { throw new Error('Task selection is required. Please select a task from the dropdown.'); } const response = await podioApiCall<any>({ method: HttpMethod.GET, accessToken, resourceUri: `/task/${taskId}`, }); return response; }, });

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