flow
(required): The input flow containing the conversation history.entries
(optional): The number of message entries to retrieve from the history. Default is 10.flow
: The input flow, passed through unmodified.messages
: An array of the retrieved message history entries.hiddenProperties
: An array specifying properties to exclude from the output messages. Default is ["hiddenProperties", "eventState"]
.eventState
: An array specifying additional event state properties to include in the output messages. Default is ["channel", "connector"]
.flow
to the flow containing the conversation history you want to retrieve messages from.entries
input to the desired number of recent messages to retrieve. If not specified, the default of 10 will be used.hiddenProperties
and eventState
configuration arrays to customize what data is included or excluded from the output messages.messages
to any nodes that need to consume or process the retrieved message history.flow
can be used to pass the input flow through to subsequent nodes unmodified.inputFlow
. The retrieved messages
are then passed to a custom processMessages
node for further handling.
hiddenProperties
and eventState
configurations to include or exclude data properties as needed for your use case. This can help reduce the size of the output and improve performance.messages
output is an array ordered from oldest to newest message. The most recent message will be the last element in the array.entries
count exceeds the total number of messages in the flow’s history, the node will simply return all available messages. No error is thrown.