Skip to main content
Glama

fluentcrm_update_smart_link

Update a smart link in FluentCRM to modify URL targeting, apply or remove tags and lists, and configure auto-login settings for marketing automation workflows.

Instructions

Aktualizuje Smart Link (może nie być dostępne w obecnej wersji)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apply_listsNo
apply_tagsNo
auto_loginNo
remove_listsNo
remove_tagsNo
smartLinkIdYesID Smart Link
target_urlNo
titleNo

Implementation Reference

  • MCP tool handler that extracts smartLinkId and other args, then calls FluentCRMClient.updateSmartLink to perform the update via API.
    case 'fluentcrm_update_smart_link': return { content: [{ type: 'text', text: JSON.stringify(await client.updateSmartLink((args as any)?.smartLinkId, args as any), null, 2) }] };
  • Core helper method in FluentCRMClient that performs HTTP PUT to /smart-links/{smartLinkId} endpoint, handles 404 with informative message noting lack of native API support.
    async updateSmartLink(smartLinkId: number, data: any) { try { const response = await this.apiClient.put(`/smart-links/${smartLinkId}`, data); return response.data; } catch (error: any) { if (error.response?.status === 404) { return { success: false, message: "Smart Links API endpoint not available yet in FluentCRM", suggestion: "Update Smart Link manually in FluentCRM admin panel" }; } throw error; }
  • Tool registration in listTools response, defining name, description, and input schema for smart link update.
    { name: 'fluentcrm_update_smart_link', description: 'Aktualizuje Smart Link (może nie być dostępne w obecnej wersji)', inputSchema: { type: 'object', properties: { smartLinkId: { type: 'number', description: 'ID Smart Link' }, title: { type: 'string' }, target_url: { type: 'string' }, apply_tags: { type: 'array', items: { type: 'number' } }, apply_lists: { type: 'array', items: { type: 'number' } }, remove_tags: { type: 'array', items: { type: 'number' } }, remove_lists: { type: 'array', items: { type: 'number' } }, auto_login: { type: 'boolean' }, }, required: ['smartLinkId'], }, },
  • Input schema defining parameters for the tool, requiring smartLinkId and allowing updates to title, urls, tags, lists, etc.
    inputSchema: { type: 'object', properties: { smartLinkId: { type: 'number', description: 'ID Smart Link' }, title: { type: 'string' }, target_url: { type: 'string' }, apply_tags: { type: 'array', items: { type: 'number' } }, apply_lists: { type: 'array', items: { type: 'number' } }, remove_tags: { type: 'array', items: { type: 'number' } }, remove_lists: { type: 'array', items: { type: 'number' } }, auto_login: { type: 'boolean' }, }, required: ['smartLinkId'],

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