Build and save workflowCASHFREE_PAYMENTS_MCP_BUILD_AND_SAVE_WORKFLOW
USE WHEN: You have gathered all workflow configuration from tool calls and the user, and need to construct and save the DSL.
This is EASIER than manually building the nested WorkflowUiDsl JSON for update_workflow().
Constructs a complete workflow DSL from simplified flat inputs and saves it as the current draft.
Internally builds the trigger node, action node, end node, edges, _meta blocks, and executionInfo
mirroring — all the structural details that are hard to get right manually.
NEXT: Call test_and_register_workflow(workflow_id, input_data=<sample_payload>) to test, then activate_workflow(workflow_id).