Skip to content

Push Content

Purpose of the Node

This node allows users to push content (either text or image) into a HistoryMessage node. Based on the type of content specified, it either appends text or an image to the message and then outputs the modified message. This node is particularly useful in generative AI workflows where message content needs to be dynamically updated.

Pins

Pin NamePin DescriptionPin TypeValue Type
StartTriggers the execution of the node.ExecutionNormal
MessageInput message of type HistoryMessage to which content needs to be appended.StructHistoryMessage
TypeThe type of content to be pushed into the message. It can either be “Text” or “Image”.StringNormal
TextInput text content to be appended to the message when the type is “Text”. This pin is shown only when “Text” is selected as the content type.StringNormal
ImageInput image content to be appended to the message when the type is “Image”. This pin is shown only when “Image” is selected as the content type.StringNormal
MimeInput MIME type of the image content to be appended to the message when the type is “Image”. This pin is shown only when “Image” is selected as the content type.StringNormal
EndIndicates the completion of the node’s execution.ExecutionNormal
MessageThe output message with the appended content.StructHistoryMessage