Skip to main content
Glama

fluentcrm_create_email_template

Create email templates for marketing campaigns by defining title, subject, and HTML content to streamline communication workflows.

Instructions

Tworzy nowy szablon email

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesNazwa szablonu
subjectYesTemat
bodyYesTreść HTML

Implementation Reference

  • MCP tool handler: extracts arguments and calls FluentCRMClient.createEmailTemplate, formats response as JSON text.
    case 'fluentcrm_create_email_template': return { content: [{ type: 'text', text: JSON.stringify(await client.createEmailTemplate(args as any), null, 2) }] };
  • Core helper method in FluentCRMClient: sends POST request to /email-templates API endpoint with input data.
    async createEmailTemplate(data: any) { const response = await this.apiClient.post('/email-templates', data); return response.data; }
  • Input schema validation: requires title, subject, body for email template creation.
    inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Nazwa szablonu' }, subject: { type: 'string', description: 'Temat' }, body: { type: 'string', description: 'Treść HTML' }, }, required: ['title', 'subject', 'body'], },
  • Tool registration in ListToolsResponse: defines name, description, and input schema.
    { name: 'fluentcrm_create_email_template', description: 'Tworzy nowy szablon email', inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Nazwa szablonu' }, subject: { type: 'string', description: 'Temat' }, body: { type: 'string', description: 'Treść HTML' }, }, required: ['title', 'subject', 'body'], }, },

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