PlatformDocs
MCP server

set_slack_message_template

Changes the template of the message posted to Slack for each lead (Slack formatting: *bold*, _italic_).

View as Markdown

Set the Slack message template · Changes data

Changes the template of the message posted to Slack for each lead (Slack formatting: bold, italic). Merge fields are filled per lead and left empty when unknown: {{lead.company.name}}, {{lead.company.domain}}, {{lead.company.industry}}, {{lead.company.employees}}, {{lead.person.firstName}}, {{lead.person.lastName}}, {{lead.person.businessEmail}}, {{lead.person.position}}, {{lead.person.linkedin}}, {{lead.visit.pageList}}, {{lead.utm.source}} and the other lead.* fields of get_slack_message_template's default. Up to 3000 characters; an empty template goes back to the default. Answers { success } plus unknownFields when the template uses merge fields that don't exist (they would show empty).

ConnectionAccount URL, team member URL or OAuth

Parameters

ParameterTypeRequiredAcceptsDescription
websiteIdstringYesanyWebsite ID from list_websites.
templatestringYesmax 3000 charactersThe message: Slack formatting (bold, italic) and merge fields like {{lead.company.name}} (see mergeFields in get_slack_message_template). Up to 3000 characters; an empty string goes back to the default.

Tool definition

What your assistant receives from tools/list:

{
  "name": "set_slack_message_template",
  "title": "Set the Slack message template",
  "annotations": {
    "title": "Set the Slack message template",
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      },
      "template": {
        "type": "string",
        "maxLength": 3000,
        "description": "The message: Slack formatting (*bold*, _italic_) and merge fields like {{lead.company.name}} (see mergeFields in get_slack_message_template). Up to 3000 characters; an empty string goes back to the default."
      }
    },
    "required": [
      "websiteId",
      "template"
    ]
  }
}

On this page