The AI Playground answers questions and completes tasks in conversations: you plan each step with Orion and start it yourself. When a conversation does something you want to repeat (on a schedule, from a webhook, or as part of a larger automation), CloudRadial AutomationAI lets you convert it into a new draft workflow. AutomationAI describes what the run did, and AI Generate builds the workflow from that description, either as agent steps or as script steps. You can convert a whole conversation or a single run. This article is for workspace users who build automations (Admin or Owner Role).
- When to Convert
- Converting a Conversation
- Agent Steps or Script Steps
- Converting a Single Run from History
- What Carries Over
- What You Get
- Editing the New Workflow
When to Convert
The AI Playground is the fastest way to try something, but a conversation only runs when you plan and start it. Convert it into a workflow when you want to keep it: run it on a schedule, trigger it from a webhook, add steps around it, or hand it to a runner as a deployment. Converting saves you from rebuilding the goals and re-selecting the same extensions by hand.
Converting a Conversation
A conversation can be converted once at least one of its steps has succeeded. Anyone who can open the conversation can convert it, including a conversation someone else started.
- Open the conversation in the AI Playground.
- Select Convert to workflow at the top of the conversation.
- Under How should the workflow do the work?, choose Agent steps (selected by default) or Script steps, then select Continue.
- Workflows opens with the AI Generate panel already filled in: the name is the conversation's title, Steps matches your choice, and the description lists the conversation's successful steps in order. Review and edit the description, then select Expand prompt.
- Check the expanded prompt, pick a folder if you want one, and select AI Generate.
Nothing is expanded or generated until you select Expand prompt and then AI Generate. Only steps that succeeded are described, in the order they ran. Failed or cancelled steps are left out, and a conversation with more than 20 successful steps converts its first 20.
Agent Steps or Script Steps
Agent Steps
Choose Agent steps to rebuild the conversation as a chain of agents. AI Generate creates one Agent node per step and writes each goal from what the step actually did: the tools it called, the values it used, and what came back. Each goal stands on its own, so the agent has everything it needs: the objective, the exact values the run used (such as ids, tags, or filters), and the result to return. Each node is allowed only the extensions its step used, is bound to a saved agent when the step used one, and a node that needs an earlier step's result receives it.
Script Steps
Choose Script steps to have AI Generate write script steps from the same description instead. The panel opens with PowerShell scripts selected, and you can switch the Steps list to Python scripts or C# scripts before you generate.
You can change your choice in the Steps list on either step of the AI Generate panel, so picking one in the dialog does not lock you in.
Converting a Single Run from History
You can also convert one run on its own from AI Playground run history (/ai-playground/history), which lists each run, including each step of a conversation. You can start a conversion two ways:
- Use the Convert action on a run's row in the history grid
- Open a run to view its detail, then choose Convert to workflow in the run detail panel
Either way, the same Convert to workflow dialog opens. Choose Agent steps or Script steps and select Continue. AI Generate opens with a suggested name taken from the run's goal and a description of what the run did. From there, the steps are the same as for a conversation: edit the description, select Expand prompt, check the result, and select AI Generate.
The history list shows AI Playground runs only. Runs that came from a workflow, a playbook, or a designer node test are not listed here and are not convertible.
What Carries Over
Instead of copying a run's goal into an Agent node word for word, AutomationAI describes what the run did, and AI Generate builds the workflow from that description. For each step, the description includes:
- The request as you typed it, and the goal the run worked from (including any clarification answers)
- Its company scope (one company, or all companies)
- The extensions it was allowed to use, its saved agent if it used one, and its model
- Every tool call it made, in order, with its arguments and whether it worked
- A short excerpt of what it returned
A description stays short. Repeated calls to the same tool are summarized on one line, and long results are trimmed before any step is left out. Argument values that look like credentials (such as a password, secret, token, or API key) are withheld from the description.
The description is ordinary text in the AI Generate panel, so you can add to it, correct it, or remove anything before you select Expand prompt. Expand prompt then resolves it against your installed extensions and flags anything they cannot do. See Generating a workflow with AI. The runner does not carry over: a workflow runs on the runner you deploy it to.
What You Get
Conversion creates a new draft workflow version that opens in the Designer, with the AI Generation panel summarizing what was built. With Agent steps, the steps are Agent nodes; with Script steps, they are script steps in the language you picked. AI Generate may add another node, such as an AI prompt or a condition, where the description needs one. Nothing is published or deployed automatically. The workflow is a draft you can shape before it runs anywhere.
Editing the New Workflow
Once the workflow opens in the Designer, treat it like any other: rename it, check each node's goal or script, extensions, and company scope, add nodes before or after the generated ones, then publish a version and create a deployment when you are ready. To try a different approach, change the prompt or the Steps choice in the AI Generation panel and select AI Generate again to replace the canvas. See Creating your first workflow in the Designer for the full authoring flow.
Comments
0 comments
Please sign in to leave a comment.