Canvas versus Script View
Key Takeaway
Canvas view and Script view both edit the same Agent Script, so an edit you make in one view shows up in the other.
Agentforce Builder gives you two ways to work on the same agent. Canvas view is a visual, natural language editor, and Script view is a code editor. Both views edit Agent Script, the language that blends natural language instructions with deterministic logic.
Agent Script, the language behind every agent
Agent Script is the language behind every agent in Agentforce Builder. It combines natural language instructions for conversational tasks with programmatic expressions for business rules, such as if/else conditions, transitions, and variables.
You write Agent Script whether you work in Canvas view, work in Script view, or chat with the Agentforce assistant in the Agentforce panel.
With the Agentforce assistant, you describe what you want in natural language, such as "If the order total is over $100, then offer free shipping." Agentforce converts your description into subagents, actions, instructions, and other expressions. You then review the changes and accept or decline them.
The Agentforce assistant can also evaluate your instructions, for example to make them more deterministic.