fluentcrm_create_automation
Create new marketing automation workflows in FluentCRM by defining triggers and actions to automatically engage contacts based on specific behaviors or conditions.
Instructions
Tworzy nową automatyzację
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | ||
| title | Yes | Nazwa automatyzacji | |
| trigger | Yes | Typ triggera |
Implementation Reference
- src/fluentcrm-mcp-server.ts:267-270 (handler)Core implementation of the fluentcrm_create_automation tool. This method in the FluentCRMClient class sends a POST request to the '/funnels' endpoint with the provided data 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, defining the 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:993-994 (handler)MCP server request handler switch case that calls the client.createAutomation method and returns the JSON response.case 'fluentcrm_create_automation': return { content: [{ type: 'text', text: JSON.stringify(await client.createAutomation(args as any), null, 2) }] };
- src/fluentcrm-mcp-server.ts:782-790 (schema)Input schema definition for the tool, specifying required fields: title and trigger.inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Nazwa automatyzacji' }, description: { type: 'string' }, trigger: { type: 'string', description: 'Typ triggera' }, }, required: ['title', 'trigger'], },