User
The user node attaches a user object to msg.payload or msg.user.
User Selection
Section titled “User Selection”| Mode | Behavior |
|---|---|
| Auto | Reads msg.req.ctx.user from the authenticated HTTP request context. |
| Selected user | Uses the user object saved when the node was configured. |
Auto mode is intended for flows downstream of an HTTP In node in a Smartunit
request pipeline. Without msg.req.ctx.user, the result is undefined.
Property
Section titled “Property”Choose where the user is written:
msg.payloadmsg.user
The rest of the incoming message is preserved.
User Data
Section titled “User Data”The resolved object can include fields such as:
idnameemailphoneisActivesubscription
A selected user is stored with the flow configuration as a static value. If the user record changes, reselect and redeploy the node when the flow needs the updated snapshot.
Privacy
Section titled “Privacy”User records can contain personal data. Pass only the fields needed by later nodes, and avoid writing full user objects to debug or logger nodes without a clear operational need.