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ę
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"trigger": "<trigger>"
},
"name": "fluentcrm_create_automation"
}
}Input 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) }] };