Articles on: AI Agent & Chatbot

How to use Hugo Copilot in Workflows

Use Hugo Copilot in the workflow editor to build a Workflow from a description, understand how an existing one behaves, or find out why a conversation took the wrong path. You can compare and test every proposed change before keeping it.


Suppose customers say your returns Workflow goes quiet when they ask for a person. Copilot can trace the Talk to us branch, find that nothing follows the button, and propose a handoff to Hugo. You can then try the fixed version in the Workflow tester before your draft changes.



Open Copilot in the workflow editor


Open ⚡️ AI Agent → Automate → Workflow Builder, then open the Workflow you want to work on or create a new one. Click the sparkle button in the lower-right corner of the canvas, beside Zoom. Your exchange with Copilot is only visible to you.


Copilot reads the blocks, branches, and rules of the Workflow you have open, and the Workflow’s name appears above the message input. To ask about a particular block, select it on the canvas first: Copilot adds it beside the Workflow name. Use Add file to share a screenshot of a customer’s chat or a document describing your process.


Ask in your own words, or type / to choose a command. /build creates a Workflow or changes the current one, /explain describes what it does, /debug looks for the reason behind unexpected behavior, and /improve reviews the whole Workflow for problems. If you’re new to the editor itself, start with Getting started with Workflows.


Hugo Copilot commands beside a refund workflow



Build or change a Workflow


Copilot never edits your Workflow directly. Each request produces a proposal that you can compare with your draft, test, and adjust before keeping it.


Describe the Workflow with /build


Describe the result you want rather than the blocks: when the Workflow starts, which choices customers get, what to collect, and where each branch ends. For example, “/build When a customer writes in the chat, ask whether they want to start a return or talk to us. For a return, ask for their order number, then confirm that we’ll email a prepaid return label within 24 hours.”


Copilot replies with an Apply to the editor summary describing the change, the number of blocks, and any blocks it would remove. To change an existing Workflow, describe the change the same way. “Also send a message when we’re closed: ‘We’re closed now, we’ll reply tomorrow morning.’” can add an availability check before the returns menu, leaving the rest of the Workflow as it is.


If your request leaves an important choice open, Copilot asks before editing. Answer in the panel, and it prepares the proposal from your reply.


Review and test the proposal


While a proposal is open, the editor shows Before (read-only), your current draft, beside After, the proposed version. The Copilot proposal bar counts the added, changed, and removed blocks, and the canvas outlines each of them in the matching color. Copilot lists every block it intends to remove and asks before removing anything, so check that no other branch still needs it.


Click Test proposal in the upper-right corner to run the After version in the Workflow tester. For the returns example, send “Hi, I have a question about my order”, choose Talk to us, and check that the conversation continues.


Copilot proposal with the updated refund message highlighted


To adjust a detail yourself, edit the block in the After view. For example, change the confirmation to “Thanks! We’ll email your prepaid return label within 12 hours.” Copilot keeps your edit when you ask for more changes. A new request made while the proposal is open builds on it, so check the updated counts before keeping the result.


Keep, save, and deploy the changes


Choose Keep to apply the whole proposal to your Workflow draft, or Discard to leave the draft as shown in Before (read-only). To leave out only part of a proposal, edit the After view or ask Copilot to drop that part, then review the new proposal.


Keeping a proposal doesn’t save it. Click Save, then test the draft again with Test Workflow if the change touched several branches.


Deploying replaces the version customers currently receive. Test each branch the proposal changed before you deploy the draft.


To compare your draft with the live version, see Live vs Draft in the Workflow tips.



Find and fix Workflow problems


When a Workflow does something unexpected, describe what the customer did and what you expected to happen. Copilot traces the path through the open Workflow and explains what it finds. Any fix it suggests arrives as a proposal you review in the same way.


Understand a Workflow with /explain


Use /explain when you take over a Workflow someone else built, or before changing a branch you don’t know well. A question about a specific situation gets a more useful answer than a request to explain everything. For example, “/explain What happens when a customer chooses Talk to us outside business hours?”


Find the cause with /debug


Use /debug when you know what went wrong but not why. Give the customer’s steps and the result you saw, such as “/debug A customer chose Talk to us and never got a reply. Why did the conversation stop there?” In the returns example, Copilot can find that the button has no follow-up block. Check the cause on the canvas, then ask Copilot to fix it if you agree.


Branch order is a frequent cause. When a block leads to several branches, the numbers on the wires show the order in which they are checked, and a catch-all branch placed first can catch every selection. If a Workflow never starts at all, check its priority against other Workflows with the same start conditions. Tips & Tricks about Workflows explains both orders.


Review a Workflow with /improve


Running /improve reviews the whole Workflow and lists the problems Copilot finds before it changes anything. It looks for buttons with no follow-up, blocks nothing leads to, conditions without a fallback, and messages that contradict each other. In the returns example, it might flag an unconnected “Thanks! We’ll post your return label within 5 days.” message that conflicts with the 24-hour promise.


Reply “Yes, go ahead” to apply the recommendations, or say what must stay as it is. For example, “Keep the order-number step. Talk to us should reach a teammate during business hours and Hugo outside them.” If the fix hands customers to Hugo, check what Hugo receives in How to start Hugo from Workflows.



Reuse your reviews


To pick up an investigation where you left it, return to its thread. To run the same check on every Workflow before deploying it, save it as a Skill.


Create a Skill for recurring checks


If your team reviews each Workflow the same way before deploying, create a Copilot Skill and choose Workflows under Available in. For example, a /pre-deploy-check Skill could list buttons without a follow-up, blocks nothing leads to, and conditions without a fallback, then report its findings without proposing changes.


Return to a previous thread


To follow up on an earlier discussion, open the thread selector at the top of the Copilot panel and choose the thread you need.

Updated on: 30/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!