Skip to main content
Glama

mcp-google-sheets

fail-flow.ts492 B
import { createAction, Property } from '@activepieces/pieces-framework'; export const failFlow = createAction({ name: 'failFlow', displayName: 'Fail Flow', description: 'Fails the flow execution with a custom message.', props: { message: Property.LongText({ displayName: 'Error Message', description: 'The error message to show when the flow fails.', required: true, }), }, async run(context) { throw new Error(context.propsValue.message); }, });

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