Skip to main content
Glama

mcp-google-sheets

create-faq.ts905 B
import { createAction, Property } from '@activepieces/pieces-framework'; import { aidbaseAuth } from '../common/auth'; import { aidbaseClient } from '../common/client'; export const createFaq = createAction({ auth: aidbaseAuth, name: 'create_faq', displayName: 'Create FAQ', description: 'Creates a new FAQ entry with title and description.', props: { title: Property.ShortText({ displayName: 'Title', description: 'The title of the new FAQ knowledge base.', required: true, }), description: Property.LongText({ displayName: 'Description', description: 'An optional description for the FAQ.', required: false, }), }, async run(context) { const { auth: apiKey, propsValue } = context; const { title, description } = propsValue; return await aidbaseClient.createFaq(apiKey, { title, description, }); }, });

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