Skip to main content
Glama

fluentcrm_resume_campaign

Resume a paused FluentCRM email marketing campaign by providing the campaign ID to restart automated workflows and message delivery.

Instructions

Wznawia kampanię

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
campaignIdYesID kampanii

Implementation Reference

  • Core implementation of resuming a FluentCRM campaign by making a POST request to the `/campaigns/${campaignId}/resume` API endpoint.
    async resumeCampaign(campaignId: number) {
      const response = await this.apiClient.post(`/campaigns/${campaignId}/resume`);
      return response.data;
    }
  • MCP server CallToolRequestHandler switch case that executes the tool by calling client.resumeCampaign with the input campaignId argument.
    case 'fluentcrm_resume_campaign':
      return { content: [{ type: 'text', text: JSON.stringify(await client.resumeCampaign((args as any)?.campaignId), null, 2) }] };
  • Registration of the 'fluentcrm_resume_campaign' tool in the ListToolsRequestHandler response, defining its name, description, and input schema.
      name: 'fluentcrm_resume_campaign',
      description: 'Wznawia kampanię',
      inputSchema: {
        type: 'object',
        properties: {
          campaignId: { type: 'number', description: 'ID kampanii' },
        },
        required: ['campaignId'],
      },
    },
  • Input schema definition for the tool, specifying that a numeric 'campaignId' is required.
    inputSchema: {
      type: 'object',
      properties: {
        campaignId: { type: 'number', description: 'ID kampanii' },
      },
      required: ['campaignId'],

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