Actions4
- Notification Actions
- Device Actions
- Topic Actions
Overview
This node integrates with the PNTA.io service to send push notifications and manage devices or topics. Specifically, the "Send Notification" operation under the "Notification" resource allows users to send customized push notifications to specified device tokens or topic names.
Common scenarios include:
- Sending alerts or updates to mobile app users.
- Broadcasting messages to groups of devices subscribed to a topic.
- Triggering user engagement through deep links embedded in notifications.
Practical example: A marketing team can use this node to send promotional notifications with a title, message body, and a link that opens a specific page in their app when tapped.
Properties
| Name | Meaning |
|---|---|
| Title | The title text displayed in the notification. |
| Body | The main content/message of the notification. |
| Targets | Comma-separated list of device tokens or topic names to which the notification will be sent. Supports expressions for dynamic values. |
| Additional Fields | Optional extra settings for the notification. Currently supports: |
| - Link To | URL that opens when the notification is tapped (deep link). |
Output
The node outputs JSON data representing the response from the PNTA.io API after attempting to send the notification. This typically includes status information about the delivery attempt.
If the node supports binary data output (not indicated here), it would represent any binary payloads related to the notification, but this node primarily deals with JSON responses.
Dependencies
- Requires an active PNTA.io account and an API key credential configured in n8n.
- The node makes HTTP requests to
https://app.pnta.iousing the provided API key for authentication. - No additional environment variables are needed beyond the API key credential.
Troubleshooting
- Invalid or missing API key: The node will fail if the API key credential is not set or invalid. Ensure the API key is correctly configured.
- Incorrect targets format: If the "Targets" field is empty or malformed, the notification will not send. Provide valid device tokens or topic names separated by commas.
- Network issues: Connectivity problems to
https://app.pnta.iowill cause request failures. Verify network access. - API errors: The PNTA.io API may return errors for invalid parameters or quota limits. Check the error message in the node output for details.
Links and References
- PNTA.io Official Website
- PNTA.io API Documentation (for detailed API usage and parameters)