WorkflowGen Documentation
10.0
10.0
  • WorkflowGen Administration Guide
  • Administration Module Overview
  • Configuration Panel
  • User Management
    • Directories
    • Users
    • Groups
    • Delegations
  • Directory Synchronization
  • Global Information
    • Participants
    • Applications
    • Categories
    • Global Lists
  • Process Definition
    • Editing
    • Participants
    • Data
  • Form
    • Structure, Sections & Fields
    • Appearance, Behavior & Mapping
    • Management
  • Workflow
    • Actions
    • Parameters
    • Conditions & Exceptions
    • Notifications
  • Reports
  • Remote Approval
  • Custom Notification Templates
  • Macros
  • WorkflowGen URLs
  • Custom Menus
  • Portlet
  • Error Messages
  • Workflow Applications
    • EFORMASPX
    • XMLTODATABASE
    • GETUSERSFROMDIR
    • XMLTRANS
    • RAISEEXCEPTION
    • UPDATEPROCESSDATA
    • STARTPROCESS
    • COMPLETEACTION
    • GETPROCESSDATA
    • GETFORMDATA
    • CANCELREQUEST
    • MERGEFORM
    • COPYDATA
    • SENDMESSAGE
    • SENDHTTPPOST
    • RESTAPICLIENT
    • EXECSQL
    • JSONTODATA
    • DocuSign
      • DOCUSIGNSEND
      • DOCUSIGNCHECK
    • Adobe Sign
      • ADOBESIGNSEND
      • ADOBESIGNCHECK
    • Docaposte
      • DOCAPOSTESEND
      • DOCAPOSTECHECK
    • Yousign
      • YOUSIGNSEND
      • YOUSIGNCHECK
    • OpenAI
      • OPENAITRANSCRIPTION
      • OPENAICHAT
      • OPENAIADDMESSAGE
    • COUNTER
    • GETAGENTTOOLDATA
    • GETAGENTTOOL
Powered by GitBook
On this page
  • Overview
  • Required parameters
  • Optional parameters
Export as PDF
  1. Workflow Applications
  2. OpenAI

OPENAIADDMESSAGE

PreviousOPENAICHATNextCOUNTER

Overview

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

Message history in JSON format; follows the reference structure provided in OpenAI's documentation for the messages object: .

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

https://platform.openai.com/docs/api-reference/chat/create#chat-create-messages