n8n-nodes-newsmanapp
v0.1.21
Published
NewsMAN community node for n8n
Maintainers
Readme
n8n-nodes-newsmanapp
NewsMAN community node for n8n.
Use this node to manage subscribers and segments, send transactional emails, and send SMS through NewsMAN API v1.2.
Features
- Lists: get available email and SMS lists
- Subscribers: get by email, create or update, add tags
- Segments: get segments, add subscriber to segment
- Transactional: send one message to many recipients in a single API call
- SMS: subscribe contacts and send one-off SMS messages
Compatibility
- n8n: tested on self-hosted n8n 2.x
- Node.js: 22+ recommended for local development and publishing
- NewsMAN API:
https://ssl.newsman.app/api/1.2/rest/{userId}/{apiKey}/
Install
n8n Community Nodes UI
Install package:
n8n-nodes-newsmanapp
Manual / self-hosted
npm install n8n-nodes-newsmanappThen restart n8n.
Credentials
Create NewsMAN API credentials in n8n:
User IDAPI Key
Quick Start
Example flow for transactional email:
- Prepare recipient rows in a previous node (for example Edit Fields), one recipient per item:
email(required)name(optional)params(optional object)
- Add NewsMAN node and choose Send Transactional Message.
- Set Recipients Source to From Previous Items (Single API Call).
- Configure sender fields, subject, and HTML.
- Execute the node.
Transactional Recipients Modes
For Send Transactional Message, choose one mode:
- From Previous Items (Single API Call): use all incoming items as recipients in one API call
- From Expression (JSON Array): provide an expression that resolves to an array
- Manual JSON: provide the recipients array directly in the field
Recipient object format:
{
"email": "[email protected]",
"name": "Recipient Name",
"params": {
"name": "Recipient Name"
}
}Operations
Lists
Get Lists->list.allGet SMS Lists->sms.lists
Subscribers
Get Subscriber->subscriber.getByEmailCreate or Update Subscriber->subscriber.saveSubscribeAdd Tag to Subscriber->subscriber.addTagCreate or Update SMS Subscriber->sms.saveSubscribe
Segments
Get Segments->segment.allAdd Subscriber to Segment->segment.addSubscriberAdd Subscriber to Segment by Email->subscriber.getByEmail+segment.addSubscriber
Messaging
Send Transactional Message->transactional.messageSendSend SMS->sms.sendone
Output Notes
Create or Update SubscriberandCreate or Update SMS Subscribernormalize scalar responses to:{ "subscriber_id": <id> }
Add Tag to Subscribernormalizes boolean responses to:{ "success": true | false }
This helps downstream expressions like:
{{$json.subscriber_id}}
Development
npm install
npm run lint
npm run buildLicense
MIT
