...
This node needs a session, sender, receiver, topic, and message to transmit a message. There are three actions you can choose from:
Table of Contents |
---|
Create
Creates a new message to one or more recipients.
...
To Users. Required. The User ID of the message receiver. To send the message to multiple users, specify comma-separated User IDs. You can either manually enter the User ID or use a mustache tag to dynamically input the User ID. For example:
Code Block {{msg.payload.recipient}}
Topic. Optional. Enter a topic name for this message or use a mustache tag.
Message. Required. Enter the message that is sent to the user. The message can contain session attributes using mustache tags. For example:
Code Block Hi {{session.user.firstName}}, Welcome Onboard.
Update
Updates a conversation that you already had with one or more recipients.
...
Conversation ID. Enter the ID of the conversation that you want to update. If there is no msg.payload.conversationId in input payload, the node creates a new conversation with recipients mentioned in the input payload(session attribute).
Read
Retrieves a logged-in user’s previous conversations from the database.
...