Skip to main content
Glama

fluentcrm_create_campaign

Create email marketing campaigns in FluentCRM by setting campaign title, subject line, template, and recipient lists to engage your audience.

Instructions

Tworzy nową kampanię email

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
recipient_listNoID list
subjectYesTemat emaila
template_idNoID szablonu
titleYesTytuł kampanii

Implementation Reference

  • Core implementation of the tool: sends POST request to FluentCRM API /campaigns endpoint with input data to create a new campaign.
    async createCampaign(data: any) { const response = await this.apiClient.post('/campaigns', data); return response.data;
  • Registers the 'fluentcrm_create_campaign' tool in the MCP tools list, including description and input schema.
    { name: 'fluentcrm_create_campaign', description: 'Tworzy nową kampanię email', inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Tytuł kampanii' }, subject: { type: 'string', description: 'Temat emaila' }, template_id: { type: 'number', description: 'ID szablonu' }, recipient_list: { type: 'array', items: { type: 'number' }, description: 'ID list' }, }, required: ['title', 'subject'], }, },
  • Defines the input schema for the tool parameters: title (required), subject (required), template_id, recipient_list.
    inputSchema: { type: 'object', properties: { title: { type: 'string', description: 'Tytuł kampanii' }, subject: { type: 'string', description: 'Temat emaila' }, template_id: { type: 'number', description: 'ID szablonu' }, recipient_list: { type: 'array', items: { type: 'number' }, description: 'ID list' }, }, required: ['title', 'subject'], },
  • MCP server dispatch handler case that calls the client.createCampaign method with tool arguments and returns JSON response.
    case 'fluentcrm_create_campaign': return { content: [{ type: 'text', text: JSON.stringify(await client.createCampaign(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