Skip to main content
Glama

mcp-google-sheets

get-conversation.ts811 B
import { intercomAuth } from '../../index'; import { createAction } from '@activepieces/pieces-framework'; import { conversationIdProp } from '../common/props'; import { intercomClient } from '../common'; export const getConversationAction = createAction({ auth: intercomAuth, name: 'get-conversation', displayName: 'Retrieve a Conversation', description: 'Retrieves a specific conversation by ID.', props: { conversationId: conversationIdProp('Conversation ID', true), }, async run(context) { const { conversationId } = context.propsValue; const client = intercomClient(context.auth); if (!conversationId) { throw new Error('Conversation ID is required'); } const response = await client.conversations.find({ conversation_id: conversationId, }); 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