# set_slack_message_template (/docs/mcp/tools/set-slack-message-template)

{/* Generated by scripts/sync-mcp-tools.mjs from happierleads-api. Do not edit: change src/routes/mcp/toolDocs.json there, or add content/mcp-notes/set_slack_message_template.mdx. */}

**Set the Slack message template** · Changes data

Changes the template of the message posted to Slack for each lead. Merge fields like \{\{name\}\} and \{\{company\}\} are filled per lead.

| Connection | Account URL, team member URL or OAuth |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |
| `template` | `string` | Yes | The message template. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "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",
        "description": "The message template."
      }
    },
    "required": [
      "websiteId",
      "template"
    ]
  }
}
```
