Connectors
Messaging & Event Streaming
NATS
Lightweight cloud messaging: publish, subscribe, and request-reply on subjects and JetStream
NATS API referenceAPI checked August 18, 2026
- Signs in with
- Connection details
- Runs on
- Cloud or On-Prem Worker
- Operations
- 45
- Ready-made triggers
- 0
Connect NATS
- In Neblex open Connect › Connections and click New Connection.
- Search for NATS and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- Click Test, then Create Connection.
If the system is only reachable inside your network, choose an On-Prem Worker under Test from and run the flow on that Worker. See On-Prem Workers.
| Field | What to enter |
|---|---|
| Connection setupRequired | |
| HostRequired | |
| PortOptional | Example: 4222 |
| UsernameOptional | Optional NATS user name. With no password this is transported as token authentication by the deployed runtime. |
| PasswordOptionalSecret | |
| Use TLSOptional | Turning this off sends traffic and credentials without transport encryption. Use plaintext only for a customer-controlled endpoint that explicitly requires it. |
| Connection stringRequiredSecret | Paste a root-only nats:// or tls:// URL. The deployed runtime supports one broker, anonymous/token/user-password authentication, and no path/query/fragment. |
Use it in a flow
- Open a flow, open the node library and search for NATS.
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- Use Test this step to see what it returns, then save.
To start a flow from NATS without a ready-made trigger: a Live stream trigger with NATS as the stream source starts a run for each message as it arrives (see Streaming triggers).
Operations
45 operations in 7 groups. Each one is a step you can add to a flow.
Connection1
Test the connectionping | Complete a guarded NATS request/reply round trip. |
Consumers7
Create consumercreate_consumer | Create a pull or push consumer from the official consumer config. | |
Delete consumerdelete_consumer | Delete a consumer. | |
Get consumerget_consumer | Get consumer configuration and delivery state. | |
List consumerslist_consumers | List consumers for a stream with a bounded result count. | |
Pause consumerpause_consumer | Pause message delivery until the requested deadline. | |
Resume consumerresume_consumer | Resume a paused consumer. | |
Update consumerupdate_consumer | Update an existing pull or push consumer. |
Core3
Publishpublish | Publish one Core NATS message. | |
Requestrequest | Request one reply with bounded timeout. | |
Request manyrequest_many | Collect multiple replies until timeout or the response limit. |
JetStream2
Account infoget_account_info | Get JetStream account usage and limits. | |
Publishjs_publish | Publish persistently and wait for the JetStream acknowledgement. |
Key Value13
Create bucketcreate_kv_bucket | Create a JetStream Key Value bucket. | |
Create valuekv_create | Create a value only when the key does not exist. | |
Delete bucketdelete_kv_bucket | Delete a Key Value bucket. | |
Delete valuekv_delete | Delete a key, optionally at an expected revision. | |
Get bucketget_kv_bucket | Get Key Value bucket status. | |
Get valuekv_get | Get the current value and revision. | |
List bucketslist_kv_buckets | List Key Value buckets with a bounded result count. | |
List keyskv_keys | List bucket keys with a bounded result count. | |
Purge valuekv_purge | Purge a key and its history, optionally at an expected revision. | |
Put valuekv_put | Put a value and return its revision. | |
Update bucketupdate_kv_bucket | Update a Key Value bucket configuration. | |
Update valuekv_update | Compare-and-set a value at an expected revision. | |
Value historykv_history | List bounded history for a key. |
Object Store11
Create bucketcreate_object_bucket | Create a JetStream Object Store bucket. | |
Delete bucketdelete_object_bucket | Delete an Object Store bucket. | |
Delete objectobject_delete | Delete an object. | |
Get bucketget_object_bucket | Get Object Store bucket status. | |
Get objectobject_get | Download a bounded object and its metadata. | |
Get object infoobject_info | Get object metadata without downloading its content. | |
List bucketslist_object_buckets | List Object Store buckets with a bounded result count. | |
List objectsobject_list | List object metadata with a bounded result count. | |
Put objectobject_put | Upload a bounded object and return its metadata. | |
Seal bucketobject_seal | Seal an Object Store bucket against further writes. | |
Update metadataobject_update_metadata | Update object name, description, headers, or metadata. |
Streams8
Create streamcreate_stream | Create a stream; fail if it already exists. | |
Delete messagedelete_stream_message | Delete a stored message by sequence. | |
Delete streamdelete_stream | Delete a stream. | |
Get messageget_stream_message | Get a stored message by sequence or subject selector. | |
Get streamget_stream | Get stream configuration and state. | |
List streamslist_streams | List stream configurations and states with a bounded result count. | |
Purge streampurge_stream | Purge all or a filtered subset of stream messages. | |
Update streamupdate_stream | Update an existing stream configuration. |