Skip to main content
Glama

mcp-google-sheets

create-approval-link.ts916 B
import { createAction, Property, PropertyType } from '@activepieces/pieces-framework'; import { MarkdownVariant } from '@activepieces/shared'; export const createApprovalLink = createAction({ name: 'create_approval_links', displayName: 'Create Approval Links', description: 'Create links only without pausing the flow, use wait for approval to pause', props: { markdown: Property.MarkDown({ variant: MarkdownVariant.WARNING, value: 'Please use Manual Task feature instead from 0.48.0 and above', }), }, errorHandlingOptions: { continueOnFailure: { hide: true, }, retryOnFailure: { hide: true, }, }, async run(ctx) { return { approvalLink: ctx.generateResumeUrl({ queryParams: { action: 'approve' }, }), disapprovalLink: ctx.generateResumeUrl({ queryParams: { action: 'disapprove' }, }), }; }, });

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