publ betaReference (MCP guide)
Open publ console

messenger_welcome_apply

# messenger_welcome_apply

Save the direct-chat welcome message in the Messenger app (pApp D00003). Requires text up to 1000 characters and the enabled state; enabled needs text. Write: applies to future direct chats only; nothing is sent. A lost receipt stays pending and is never resent; task_resume only observes, and prepared work needs the identical apply. Called without confirmToken it previews and returns a confirmToken; repeating the same input with it executes once.

## Inputs

| Field | Required here | Contract |
| --- | --- | --- |
| `settings` | Yes | object |
| `settings.text` | No | string; max length 1000 |
| `settings.enabled` | No | boolean; Enable this welcome template for future direct chats. This does not send an immediate message. |
| `confirmToken` | No | string; pattern `^ct[a-f\d]{32}$`; The confirmToken from this tool's preview result. Omit it to preview; repeat the same input with it to execute. |