The invention relates to the technical field of
software development and operation and maintenance
automation, and provides a ChatOps drive-based
workflow construction method and
system. The ChatOps drive-based
workflow construction method comprises the following steps: S1, setting a
robot background in a chat platform, receiving an instruction input by a user through a predefined command or
natural language analysis, and analyzing and identifying a task type and a parameter through the
robot background; s2, the
robot background sends the task type and parameters to a
workflow engine through an API of the
assembly line platform, and the
workflow engine is matched with workflow according to a preset workflow template; s3, the
workflow engine sequentially executes the
assembly line tasks corresponding to the workflow sub-nodes through the API, and the robot background feeds back the task states to the chat platform in real time; and S4, the robot background feeds back
assembly line task execution progress information to chat in real time. According to the method, the situation that a traditional process work
black box is not transparent is relieved, and the personnel communication cost and the frequent
switching time of all tool platforms are reduced.