Skip to main content
Glama

fluentcrm_create_webhook

Create webhooks in FluentCRM to automatically send contact data to external URLs when specific marketing automation events occur.

Instructions

Tworzy nowy webhook

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listsNo
nameYesNazwa webhook
statusYes
tagsNo
urlYesURL webhook

Implementation Reference

  • Core handler function in FluentCRMClient class that creates a webhook via POST to '/webhook' endpoint.
    async createWebhook(data: { name: string; status: 'pending' | 'subscribed'; url: string; tags?: number[]; lists?: number[]; }) { const response = await this.apiClient.post('/webhook', data); return response.data; }
  • Tool registration in the listTools handler, defining name, description, and input schema.
    { name: 'fluentcrm_create_webhook', description: 'Tworzy nowy webhook', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Nazwa webhook' }, url: { type: 'string', description: 'URL webhook' }, status: { type: 'string', enum: ['pending', 'subscribed'] }, tags: { type: 'array', items: { type: 'number' } }, lists: { type: 'array', items: { type: 'number' } }, }, required: ['name', 'url', 'status'], }, },
  • MCP CallToolRequestSchema switch case handler that delegates to FluentCRMClient.createWebhook.
    case 'fluentcrm_create_webhook': return { content: [{ type: 'text', text: JSON.stringify(await client.createWebhook(args as any), null, 2) }] };

Latest Blog Posts

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/netflyapp/fluentcrm-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server