Skip to main content

Subscribe to Object: Adds users (actor or recipient) as subscribers to an object. Can create the object if it doesn't exist.

name
string
required

Human-readable name of the node

Example:

"Add use to team object"

node_type
string
required
Allowed value: "objectoperation_addsubscription"
object_type
string
required

Type/collection name of the object.

Minimum string length: 1
object_id
string
required

Unique identifier of the object within the object_type.

Minimum string length: 1
user_selection
enum<string>[]
required

Which users to add as subscribers to the object. Can select actor, recipient, or both.

Minimum array length: 1
Available options:
actor,
recipient
description
string | null

Description of what this node does

is_object_id_dynamic
boolean
default:false

Whether object_type and object_id are static literal strings or handlebars expressions.

create_object_if_missing
boolean

Whether to create the object if it doesn't exist.

subscription_properties
string

Additional subscription properties which defines the relationship between object and user. Eg. role, designation, etc. Pass as JSONNET expression.

Example:

"{\"role\": \"admin\"}"