n8n-nodes-smsapi
v1.0.1
Published
n8n community node for SMSAPI.pl - Polish SMS gateway
Maintainers
Readme
n8n-nodes-smsapi
n8n community node for SMSAPI.pl -- a Polish SMS gateway for sending SMS messages, managing contacts, and checking account balance.
Operations
| Resource | Operation | Description | | -------- | ----------- | ------------------------------------ | | SMS | Send | Send an SMS to a phone number | | SMS | Send Group | Send an SMS to a contact group | | SMS | Get Report | Get the delivery status of a sent SMS | | Contact | List | List all contacts | | Contact | Create | Create a new contact | | Contact | Update | Update an existing contact | | Contact | Delete | Delete a contact | | Group | List | List contact groups | | Account | Get Balance | Get account balance and profile info |
Credentials
This node uses a Bearer Token for authentication.
- Log in to your SMSAPI.pl panel
- Navigate to API Settings and generate an API token
- In n8n, create a new SMSAPI API credential
- Paste the token into the API Token field
Installation
Community Nodes (recommended)
- Go to Settings > Community Nodes in your n8n instance
- Select Install a community node
- Enter
n8n-nodes-smsapiand click Install
Manual installation
cd ~/.n8n/custom
npm install n8n-nodes-smsapiRestart n8n after installation.
Usage
- Add the SMSAPI node to your workflow
- Select a credential with your API token
- Choose a resource (SMS, Contact, Group, or Account) and an operation
- Fill in the required fields
Test Mode
The Send and Send Group operations support a Test Mode toggle in Additional Fields. When enabled, the message is not actually sent and your account is not charged. This is useful for verifying your workflow before going live.
JSON Format
This node automatically adds format=json to all API requests. This ensures consistent JSON responses from SMSAPI endpoints, including legacy ones that would otherwise return a custom text format.
SMS Send Fields
| Field | Required | Description |
| -------------- | -------- | -------------------------------------------------------------- |
| Phone Number | Yes | Recipient phone number in format 48XXXXXXXXX |
| Message | Yes | SMS text content (max 160 chars for single SMS) |
| Sender Name | No | Registered sender name (max 11 characters) |
| Encoding | No | Message encoding: Default or UTF-8 |
| Scheduled Date | No | Schedule the message for a future date |
| Test Mode | No | When enabled, does not send and does not charge |
Example Workflow
Below is a minimal workflow that sends a test SMS:
{
"nodes": [
{
"parameters": {
"resource": "sms",
"operation": "send",
"to": "48123456789",
"message": "Hello from n8n!",
"additionalFields": {
"test": true
}
},
"name": "Send Test SMS",
"type": "n8n-nodes-smsapi.smsapi",
"typeVersion": 1,
"position": [450, 300]
}
]
}API Documentation
Full API reference: https://www.smsapi.pl/docs
