Skip to main content
Glama

mcp-google-sheets

request-action-message.ts936 B
import { createAction } from '@activepieces/pieces-framework'; import { slackAuth } from '../..'; import { assertNotNullOrUndefined } from '@activepieces/shared'; import { profilePicture, text, slackChannel, username, actions, singleSelectChannelInfo, threadTs, } from '../common/props'; import { requestAction } from '../common/request-action'; export const requestActionMessageAction = createAction({ auth: slackAuth, name: 'request_action_message', displayName: 'Request Action in A Channel', description: 'Send a message in a channel and wait until an action is selected', props: { info: singleSelectChannelInfo, channel: slackChannel(true), text, actions, threadTs, username, profilePicture, }, async run(context) { const { channel } = context.propsValue; assertNotNullOrUndefined(channel, 'channel'); return await requestAction(channel, context); }, });

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