CloudRadial AutomationAI can draft a workflow for you from a plain-language description of what you want it to do. You describe the goal, AutomationAI checks it against your installed extensions so you can correct it, builds the steps from the text you approve, and you review the result before keeping it. You can start from scratch or from an existing workflow. This article is for workspace users with the Admin role or higher.
We'll follow five main steps:
- Starting a generation
- Describing your goal
- Reviewing the expanded prompt
- Reviewing the result
- Accepting or discarding
Step 1: Starting a Generation
Why are we doing this? This opens the panel where you tell AutomationAI what to build.
On the Workflows page, select AI Generate. The AI Generate Workflow panel opens, with the prompt "Describe what you want. AI first resolves it against your installed extensions, then drafts the steps."
You can also open the panel two other ways:
- To build a new workflow based on an existing one, open the workflow's row actions menu on the Workflows page and select AI Generate from this…. The panel opens with that workflow already picked under Start from.
- To turn an AI Playground run or conversation into a workflow, use Convert to workflow. The panel opens with the name, a description of what the run did, and your steps choice filled in. See Converting an AI Playground run into a workflow.
Step 2: Describing Your Goal
Why are we doing this? The description is what AutomationAI turns into steps, so a clear one gets a better draft.
The panel has these fields:
- Name, the name for the new workflow
- Folder, the folder to file the workflow under
- Steps, how the workflow does its work: Agent steps, PowerShell scripts (the default), Python scripts, or C# scripts
- Start from, an optional existing workflow to build from (None — start from scratch by default)
- What should this workflow do?, a plain-language description of the goal
Write the goal as you would explain it to a colleague: what should happen, in what order, and where the results should go. For example: "Every morning, pull open tickets from the helpdesk, summarize them with AI, and post the summary to the team channel."
Choose Agent steps to have each step done by an Agent node. Each Agent node gets a goal that stands on its own, its allowed extensions are limited to the ones that step uses, it is bound to a saved agent when your description names one, and a step that needs an earlier step's result receives it. Choose a script option to have the steps written as scripts in that language.
To start from an existing workflow, pick it under Start from. The name is filled in as <workflow name> (copy), which you can change, and the description label changes to ask what should change in that workflow. Describe only the changes. AutomationAI starts from the workflow's newest draft, or from its latest published version if it has no draft, and always creates a new workflow. The original is never changed. A source workflow can hold at most 128 KB of content.
Select Expand prompt. The button reads Expanding… while AutomationAI checks your description against your installed extensions.
Step 3: Reviewing the Expanded Prompt
Why are we doing this? This is your chance to fix what AutomationAI understood before it builds anything.
The review step shows an editable Expanded prompt box. Your description is kept word for word, with a section appended under the heading ## Resolved against your installed extensions. That section lists:
- The trigger
- Each step, with the extension and tool that does it
- Each tool's required parameters, marked "not specified" when your description does not give a value
- The run-time inputs the workflow needs
- Any assumptions AutomationAI made where your description was ambiguous
If part of your goal is something none of your installed extensions can do, a Not covered by your installed extensions warning lists it, and that part is left out of the workflow. Install or create an extension that covers it, or generate the rest now.
Edit the text as needed, for example to fill in a parameter marked "not specified" or correct a tool choice, then select AI Generate. AutomationAI builds the workflow from exactly the text in the box. The button reads Generating… while AutomationAI drafts and validates the workflow, which can take up to a minute. To go back to your original description instead, select Back.
Note: If your description already says everything AutomationAI needs, nothing is added. If the expansion fails, the review step opens with your description as written, so you can still edit it and generate. Expanding the prompt is an AI call and counts toward your workspace's Usage Credits, like the generation itself.
Step 4: Reviewing the Result
Why are we doing this? The AI draft is a starting point, so check it before you rely on it.
When generation finishes, the new workflow opens in the Designer and the AI Generation panel shows a summary of what was built. If you started from an existing workflow, the summary also says what the original did and what changed, and lists any extensions the original uses that your workspace does not have. Review the generated steps on the canvas and open individual nodes to check their configuration before you publish or test anything.
Step 5: Accepting or Discarding
Why are we doing this? You decide whether to keep, regenerate, or walk away from the draft.
The generated workflow is a draft you can edit like any other; keep it by saving and editing as needed. To replace the whole canvas with a fresh attempt, adjust the prompt or the Steps choice in the AI Generation panel and select AI Generate again. To leave the result as-is, close the panel.
Note: A generated workflow is always a draft. It is not deployed until you publish a version and create a deployment.
When your workflow is ready, publish a version and deploy it. See Deploying a workflow version to a runner. For what the AI is given and how the other AI Generate buttons work, see How the AI Generate Buttons Work.
If you are still having trouble, we're here to help! Submit a ticket here for assistance, and don't forget to check our status page to ensure there are no outages in your area.
Comments
0 comments
Please sign in to leave a comment.