Skip to main content
Glama

fluentcrm_create_webhook

Create webhooks in FluentCRM to automate data flow between your marketing platform and external applications or services.

Instructions

Tworzy nowy webhook

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesNazwa webhook
urlYesURL webhook
statusYes
tagsNo
listsNo

Implementation Reference

  • Core handler function that implements the tool logic by making a POST request to FluentCRM's /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 MCP server's 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 dispatch case that invokes the createWebhook method on the FluentCRM client instance.
    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