Add service to convert flow record into YML definition

What does this MR do and why?

This MR adds a service that takes flow records and builds a payload for the Duo Workflow service. The generated payload content would eventually be passed to the Duo Workflow service.

You can refer to this issue for more details.

How to set up and validate locally

flow_id =  43

service = Ai::Catalog::DuoWorkflowPayloadBuilder::V1.new(flow_id)

result = service.build.to_yaml

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Jaydip Pansuriya

Merge request reports

Loading