aap_export_workflow
Export Ansible Automation Platform workflow templates as YAML for Configuration-as-Code. Specify workflow ID and format to get compatible controller_workflows definitions.
Instructions
Export a workflow template as Configuration-as-Code YAML.
Args: params (ExportWorkflowInput): - workflow_id (int): Workflow template ID - format (str): 'yaml' or 'json'
Returns: str: YAML compatible with infra.aap_configuration.controller_workflows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |