Skip to main content
Glama

fluentcrm_create_email_template

Create custom email templates for FluentCRM marketing campaigns by defining template name, subject line, and HTML content.

Instructions

Tworzy nowy szablon email

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesTreść HTML
subjectYesTemat
titleYesNazwa szablonu

Implementation Reference

  • Core handler function in FluentCRMClient that creates an email template by sending a POST request to the '/email-templates' API endpoint with the provided data.
    async createEmailTemplate(data: any) { const response = await this.apiClient.post('/email-templates', data); return response.data; }
  • Tool registration entry including name, description, and input schema definition (requires title, subject, body fields).
    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'], }, },
  • Dispatch handler in the MCP server's CallToolRequestSchema that invokes the client.createEmailTemplate method.
    case 'fluentcrm_create_email_template': return { content: [{ type: 'text', text: JSON.stringify(await client.createEmailTemplate(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