Skip to main content
Glama

fluentcrm_delete_campaign

Remove a marketing campaign from FluentCRM by specifying its ID to manage your email automation workflows.

Instructions

Usuwa kampanię

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaignIdYesID kampanii

Implementation Reference

  • Registration of the 'fluentcrm_delete_campaign' tool in the MCP server's tool list, including input schema that requires a numeric 'campaignId'.
    { name: 'fluentcrm_delete_campaign', description: 'Usuwa kampanię', inputSchema: { type: 'object', properties: { campaignId: { type: 'number', description: 'ID kampanii' }, }, required: ['campaignId'], }, },
  • MCP tool handler switch case that extracts campaignId from arguments and delegates execution to FluentCRMClient.deleteCampaign method.
    case 'fluentcrm_delete_campaign': return { content: [{ type: 'text', text: JSON.stringify(await client.deleteCampaign((args as any)?.campaignId), null, 2) }] };
  • Core implementation in FluentCRMClient class: sends DELETE request to FluentCRM API endpoint `/campaigns/${campaignId}` and returns the response data.
    async deleteCampaign(campaignId: number) { const response = await this.apiClient.delete(`/campaigns/${campaignId}`); return response.data; }

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