fluentcrm_create_automation
Create new marketing automation workflows in FluentCRM by defining triggers and titles to automate customer engagement and communication processes.
Instructions
Tworzy nową automatyzację
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Nazwa automatyzacji | |
| description | No | ||
| trigger | Yes | Typ triggera |
Implementation Reference
- src/fluentcrm-mcp-server.ts:267-270 (handler)The core handler function in FluentCRMClient class that implements the tool logic by making a POST request to the '/funnels' endpoint to create a new automation.async createAutomation(data: any) { const response = await this.apiClient.post('/funnels', data); return response.data; }
- src/fluentcrm-mcp-server.ts:779-791 (registration)Tool registration in the MCP server's tools list, including name, description, and input schema.{ name: 'fluentcrm_create_automation', description: 'Tworzy nową automatyzację', inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Nazwa automatyzacji' }, description: { type: 'string' }, trigger: { type: 'string', description: 'Typ triggera' }, }, required: ['title', 'trigger'], }, },
- src/fluentcrm-mcp-server.ts:782-790 (schema)Input schema definition specifying required parameters: title and trigger, with optional description.inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Nazwa automatyzacji' }, description: { type: 'string' }, trigger: { type: 'string', description: 'Typ triggera' }, }, required: ['title', 'trigger'], },
- src/fluentcrm-mcp-server.ts:993-994 (handler)Dispatch handler in the MCP request handler switch statement that calls the client.createAutomation method.case 'fluentcrm_create_automation': return { content: [{ type: 'text', text: JSON.stringify(await client.createAutomation(args as any), null, 2) }] };