The OPENAIADDMESSAGE workflow application allows you to update the message history of a conversation to add user or tool interactions. It's also possible to update the history directly from a sub-process.
CONTENT
TEXT
IN
Message history in JSON format; follows the reference structure provided in OpenAI's documentation for the messages object: https://platform.openai.com/docs/api-reference/chat/create#chat-create-messagesarrow-up-right.
messages
ROLE
Role to associate with the message; possible values are user, system, assistant, or tool
user
system
assistant
tool
MESSAGE_HISTORY
INOUT
Message history to be updated
TOOL_CALL_ID
If ROLE is tool, this is the tool identifier
ASSISTANT_TOOL_CALL
If ROLE is assistant and you want to add a list of tools to call, this is the list of tools
REQUEST_ID
NUMERIC
If the history is updated from another process, this is the number of the request to update
REQUEST_DATA_NAME
If the history is updated from another process, this is the name of the data to be updated
Last updated 3 months ago