create_workflow_survey
Generate formatted surveys for Ansible Automation Platform workflow job templates to collect runtime parameters and configuration data.
Instructions
Create a survey for a workflow job template with proper formatting. This tool handles the specific format requirements for AAP survey specs.
Example questions format: [ { "question_name": "Environment", "question_description": "Select environment", "required": true, "type": "multiplechoice", "variable": "environment", "default": "dev", "choices": ["dev", "test", "prod"] }, { "question_name": "Application Name", "question_description": "Enter application name", "required": true, "type": "text", "variable": "app_name", "default": "webapp", "min": 1, "max": 50 } ]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workflow_id | Yes | Workflow job template ID | |
| questions | Yes | List of survey questions in proper format | |
| survey_name | No | Survey name | Workflow Survey |
| survey_description | No | Survey description | Survey for workflow |