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.
Required parameters
Parameter |
Type |
Direction |
Description |
CONTENT |
TEXT |
IN |
Content of the message to add |
ROLE |
TEXT |
IN |
Role to associate with the message; possible values are user , system , assistant , or tool |
Optional parameters
Parameter |
Type |
Direction |
Description |
MESSAGE_HISTORY |
TEXT |
INOUT |
Message history to be updated |
TOOL_CALL_ID |
TEXT |
IN |
If ROLE is tool , this is the tool identifier |
ASSISTANT_TOOL_CALL |
TEXT |
IN |
If ROLE is assistant and you want to add a list of tools to call, this is the list of tools |
REQUEST_ID |
NUMERIC |
IN |
If the history is updated from another process, this is the number of the request to update |
REQUEST_DATA_NAME |
TEXT |
IN |
If the history is updated from another process, this is the name of the data to be updated |