Actions22
- App Actions
- Account Actions
- Channel Actions
- Message Actions
- Template Actions
- Contact Actions
- Tag Actions
- User Actions
- Team Actions
- Webhook Actions
Overview
This node enables sending a text message to a specific contact identified by their Contact ID within the Poli platform. It is useful in scenarios where you want to automate personalized communication with known contacts, such as sending notifications, alerts, or marketing messages directly to a contact's messaging channel.
Practical examples include:
- Sending appointment reminders to clients.
- Delivering order status updates to customers.
- Broadcasting targeted promotional messages to selected contacts.
Properties
| Name | Meaning |
|---|---|
| Contact ID | The unique identifier of the contact to whom the message will be sent. |
| Account Channel ID | The identifier of the account channel through which the message will be delivered. |
| Text | The content of the message to send. |
Output
The node outputs JSON data representing the result of the message sending operation. This typically includes confirmation details such as message ID, status, timestamps, and any metadata returned by the Poli API about the sent message.
If the node supports binary data output (not indicated here), it would represent attachments or media sent along with the message, but for this operation, only textual message sending is involved.
Dependencies
- Requires an active connection to the Poli API via an API key credential configured in n8n.
- The node depends on the Poli platform's messaging service to send messages by contact ID.
- Proper permissions and valid identifiers (Contact ID and Account Channel ID) must be provided.
Troubleshooting
Common Issues:
- Invalid or missing Contact ID or Account Channel ID will cause the operation to fail.
- Network connectivity issues or incorrect API credentials can prevent successful message delivery.
- Sending messages to contacts not linked to the specified account channel may result in errors.
Error Messages:
"Resource 'message' not found"or"Operation 'sendByContactId' not found"indicates misconfiguration of resource or operation parameters.- Authentication errors suggest invalid or expired API credentials; verify and update the API key.
- Validation errors related to input properties mean required fields are missing or incorrectly formatted; ensure all required inputs are correctly set.
Links and References
- Poli API Documentation (hypothetical link)
- n8n Documentation on Creating Custom Nodes
- General guide on Sending Messages via APIs