Actions252
- Api Keys Actions
- Attachments Actions
- Blocklists Actions
- Calendar Channel Event Associations Actions
- Find Many Calendar Channel Event Associations
- Create One Calendar Channel Event Association
- Create Many Calendar Channel Event Associations
- Find One Calendar Channel Event Association
- Delete One Calendar Channel Event Association
- Update One Calendar Channel Event Association
- Find Calendar Channel Event Association Duplicates
- Companies Actions
- Calendar Channels Actions
- Calendar Event Participants Actions
- Calendar Events Actions
- Connected Accounts Actions
- Favorite Folders Actions
- Favorites Actions
- Message Channel Message Associations Actions
- Find Many Message Channel Message Associations
- Create One Message Channel Message Association
- Create Many Message Channel Message Associations
- Find One Message Channel Message Association
- Delete One Message Channel Message Association
- Update One Message Channel Message Association
- Find Message Channel Message Association Duplicates
- Message Channels Actions
- Message Folders Actions
- View Fields Actions
- Message Participants Actions
- Messages Actions
- Message Threads Actions
- Notes Actions
- Note Targets Actions
- Opportunities Actions
- People Actions
- Tasks Actions
- Task Targets Actions
- Timeline Activities Actions
- View Filter Groups Actions
- View Filters Actions
- View Groups Actions
- Views Actions
- View Sorts Actions
- Webhooks Actions
- Workflow Automated Triggers Actions
- Workflow Runs Actions
- Workflows Actions
- Workflow Versions Actions
- Workspace Members Actions
Overview
This node operation allows users to create multiple messages at once through a messaging channel such as email or chat. It is useful in scenarios where batch message creation is needed, for example, sending notifications to multiple recipients, importing message logs, or automating bulk communication workflows.
By specifying the message content and the desired depth of related object inclusion, users can control how much additional contextual data is returned with each created message.
Properties
| Name | Meaning |
|---|---|
| Depth | Determines the level of nested related objects to include in the response: - 0: Returns only the primary message information. - 1: Returns the primary message plus its directly related objects. - 2: Returns the primary message, its directly related objects, and their related objects. |
| Body | The actual message content to be sent or received through the messaging channel. This should be provided as a JSON object representing the message details (e.g., text, sender, recipient, timestamp). |
Output
The output contains a JSON field representing the created messages. Each entry corresponds to a message created according to the input body. Depending on the Depth property, the output may also include nested related objects associated with each message, providing richer context about the message relationships.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential to authenticate requests to the external messaging service.
- The base URL for the API is configured via credentials.
- The node sends HTTP requests with JSON payloads and expects JSON responses.
Troubleshooting
- Invalid JSON in Body: If the
Bodyproperty contains malformed JSON, the request will fail. Ensure the JSON is valid and correctly formatted. - Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key or token is correctly set up in the node credentials.
- Depth Value Issues: Providing a depth value outside the allowed range (0, 1, 2) may result in unexpected responses or errors. Use only the specified options.
- API Rate Limits: Creating many messages at once might hit rate limits imposed by the external service. Consider batching requests or adding delays if errors occur.
Links and References
- Refer to the external messaging service API documentation for detailed schema of message objects and supported operations.
- JSON formatting tools can help validate the
Bodyinput before use.