Actions23
- Channel Actions
- Direct Message Actions
- Message Actions
- Scheduled Message Actions
- User Actions
Direct Message → Send
AI-generatedSummary
Sends a direct message to a specified user via the Pumble API, preventing self-messages and supporting optional attachments.
Inputs
- userId (required) — User to receive the direct message. Choose from the list or specify an ID via expression.
- text (required) — The text content of the direct message.
- additionalFields — Optional additional fields. Attachments: A JSON array of attachment objects to include with the message.
Output shape
n8n execution metadata containing the API response as a JSON array item, reflecting the sent message details from the Pumble API.
The operation validates that the target user is not the authenticated user; attachments, if provided, must be a valid JSON array and are parsed from string if necessary.
Examples
Example 1: Send a simple direct message
userId: 'U12345', text: 'Hey, can we sync later?'
Example 2: Send a direct message with attachments
userId: 'U12345', text: 'Check this out', additionalFields.attachments: [{name: 'file', url: 'https://example.com/file.pdf'}]