create_direct_message
Send a direct message to one or more users by user ID or email, including a text transcript or link. Use to contact people outside an existing conversation thread.
Instructions
Send a direct message to one or more people, by user ID or email.
USE WHEN: Reaching people outside an existing conversation. Address it with to.user_ids or to.emails. Requires transcript or links.
USE INSTEAD: create_conversation_message when a conversation already exists — a DM starts a separate thread rather than joining it.
FIRST: to.user_ids comes from search_users (field id) — call it first if you don't have one.
EXAMPLE: {"to":{"user_ids":["user-abc"]},"transcript":"Quick question about the deck."}
RETURNS: {message: {id, link, transcript?, status, conversation_id, created_at, ...}}.
ERROR BAD_REQUEST: A user ID is invalid, or neither transcript nor links was provided. — Resolve people with search_users — never pass a display name as a user ID — and include a transcript or links.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipients: `user_ids` (from `search_users`) and/or `emails`. At least one required. | |
| links | No | Array of links to be attached to the message | |
| transcript | No | The Message transcript will be used to generate audio using text-to-speech | |
| workspace_id | No | The workspace ID to send the message to | personal |
| from_message_id | No | Message ID to be used as a base for the new message. (Optional only when from_message_type is NewMessage) | |
| from_message_type | No | From Message type | NewMessage |