Learning resourcesReviewed · Mistral AI

Mistral Workflows Canvas guide

Mistral's Canvas guide helps developers add editable documents and other rich content to conversational workflows, but leaves environment setup unexplained. It demonstrates rich outputs through CanvasResource and user editing through CanvasInput, which must reference an earlier resource's URI.

Researched 15 Nov 2026

In short.

Mistral's Canvas guide teaches developers to display rich content and collect user edits in chat workflows, but assumes an existing workflow environment. Its Python examples show final Mermaid output and an intermediate Markdown draft that pauses for editing. The central integration requirement is matching CanvasInput.canvas_uri to the earlier CanvasResource.uri. Installation, SDK versions, pricing and deployment are unspecified, and the examples have not been executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage includes the complete selected Canvas page at [https://docs.mistral.ai/studio/workflows/interacting-with-workflows/conversational_workflows/canvas.md]: the rich-output example, seven canvas types, user-editing example and CanvasInput return fields. Linked pages are excluded. No licensing notice, pricing, installation procedure or SDK version appears in the supplied page. Nothing was executed; rendering, editing, workflow resumption, deployment and performance remain untested.

The overview

Identity

Canvas is the rich-content surface described in Mistral's conversational workflow documentation. This resource is a focused implementation guide at [https://docs.mistral.ai/studio/workflows/interacting-with-workflows/conversational_workflows/canvas.md]. It explains how workflows deliver documents, code, diagrams and interactive content through the chat interface.

Assessment

The guide is useful for developers who already have a Mistral workflow environment and need concrete examples of rich output or an editing step. It names the relevant classes, shows their relationships and explains how edited content returns to the workflow.

Beginners receive examples of the feature but no installation or deployment walkthrough. Successful rendering, editing and workflow resumption remain unverified because nothing was executed.

Users

The clearest audience is Python developers building conversational workflows that produce reports, diagrams or documents requiring user edits. Developers familiar with asynchronous Python and class-based workflow definitions can follow the examples directly.

People seeking a ready-to-use document editor would need additional guidance: the page teaches integration through code and does not explain end-user access or account setup.

Capabilities

The documented canvas types are text/markdown, text/html, image/svg+xml, slides, react, code and mermaid. These cover Markdown, HTML, SVG images, presentations, React components, syntax-highlighted code and Mermaid diagrams.

A workflow can return a canvas as its final output or send one during execution and wait for user edits. CanvasInput returns the edited title and content, plus an optional chatInput message when a prompt is supplied and the user sends a message. Editing support for each individual content type is not established.

Using it

Requirements

The examples import mistralai.workflows and mistralai.workflows.plugins.mistralai. The editing example also imports CanvasInput from mistralai.workflows.conversational and subclasses workflows.InteractiveWorkflow.

The code implies a compatible Python workflow runtime and chat interface. Required package versions, supported Python versions, credentials, account access and hosting requirements are unspecified.

Mechanism

CanvasPayload holds the content type, title and content. CanvasResource wraps that payload, and ResourceOutput places it inside ChatAssistantWorkflowOutput alongside any TextOutput messages.

For editing, the example sends a CanvasResource using send_assistant_message(), then pauses through wait_for_input(). CanvasInput.canvas_uri must match the URI of the previously emitted CanvasResource so the input refers to the correct canvas. The example then copies edited.canvas.title and edited.canvas.content into a new output resource.

Setup

Within an existing workflow environment, the examples define a workflow class with workflows.workflow.define and mark an asynchronous run method with workflows.workflow.entrypoint. For final rich output, construct a CanvasPayload, wrap it in CanvasResource and return it through ResourceOutput.

To reproduce the editing pattern, use InteractiveWorkflow, send the canvas, then call wait_for_input() with CanvasInput referencing that same resource's URI. The page supplies no installation, authentication, workflow registration or deployment steps.

Example

The Expense Report example accepts a department string and returns explanatory text with a Mermaid pie chart. Its fixed sample values are Travel 45, Equipment 25, Software 20 and Other 10; no expense collection or calculation is shown.

The Report Review example sends a placeholder weekly report in Markdown, waits for user editing and returns the edited title and content. It illustrates the interaction sequence without showing automatic report generation or content validation.

Assessment & evidence

Limitations

Both examples use fixed content strings. They do not demonstrate a model call, external data retrieval or generated-content quality.

Content-size limits, format-specific editing behavior, concurrent edits, timeout handling, cancellation and recovery after interrupted input are unspecified. The page supplies no performance measurements, compatibility matrix or production execution results.

Fit for a workflow

The documented patterns suit two different needs: delivering a rich artifact at completion and collecting edits before continuing. A final CanvasResource fits the first need; an intermediate canvas with CanvasInput fits the second.

The editing pattern is relevant when later workflow steps need the user's revised document. Its usefulness depends on whether the documented content formats and interaction behavior meet the application's requirements; those application-specific outcomes are unassessed.

Alternatives

The same page demonstrates TextOutput for simple chat messages. It also shows final canvas output as an option when the workflow only needs to deliver rich content, while the intermediate editing pattern adds a user-input pause.

The page provides no comparisons with external editors, other workflow frameworks or competing canvas features. Relative capability, portability and cost are unknown.

Evidence

The evidence is the complete Canvas documentation page at [https://docs.mistral.ai/studio/workflows/interacting-with-workflows/conversational_workflows/canvas.md]. Its two Python examples, content-type table and CanvasInput return-field description support the API explanations.

The page contains no execution logs, benchmarks or independent validation. Documented behavior and illustrative code do not establish successful operation in a particular environment.

Access & freshness

Costs

The page provides no prices, billing units, free-tier terms or usage estimates. Whether platform access, workflow execution, hosting or connected model calls incur charges is unknown. The examples do not support a numerical cost estimate.

Rights

No licence or reuse notice appears in the supplied page. Permission to redistribute the documentation or sample code is unknown. Ownership terms for canvas content and terms governing submitted edits are also unspecified.

Freshness

The supplied page snapshot was captured on 15 November 2026 at 09:35:36.839 UTC. The page gives no publication date, update date or SDK version. Compatibility with a particular installed release and changes after capture are unknown.

Next steps

Before implementation, establish the required SDK version, workflow runtime, authentication and deployment procedure. Choose between final rich output and a mid-workflow editing step based on whether subsequent steps need user revisions.

In a development environment, verify the intended content type, URI matching, returned edits and interruption behavior. Confirm pricing and applicable reuse terms separately. None of these checks has been performed here.

Evidence for this report

selected-page.txtselected · checked 2026-11-15