In short.
Connectors in workflows is a Mistral implementation guide for developers integrating external services into workflows and AI agents, with Public Preview APIs that may change. Its main value is explaining whose credentials each Connector uses and how authorization pauses and resumes execution. It also covers credential selection, direct tool calls and MCP apps, with important deployment and identity restrictions. No examples were executed, and costs, reliability and security guarantees beyond the documented behavior remain unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete selected page at [https://docs.mistral.ai/studio/workflows/building-workflows/connectors.md], including its Public Preview notices, code examples, identity rules, OAuth behavior, MCP app restrictions and common errors. Linked pages, repositories, packages and deployment guides are excluded. No code or workflows were executed; runtime behavior, security guarantees, performance, costs and version compatibility were not assessed.
The overview
identity
This documentation page describes the Connector integration in Mistral Workflows. It is a guide to a platform feature, covering services such as GitHub, Notion, Slack and Outlook. The canonical source is [https://docs.mistral.ai/studio/workflows/building-workflows/connectors.md].
The integration uses mistralai-workflows-plugins-mistralai, installed through the mistralai extra of mistralai-workflows. Both the workflow integration and client.beta.connectors credential API are identified as Public Preview.
assessment
The guide is useful for developers already building with Mistral Workflows who need external-service access without implementing credential storage and OAuth handling inside each workflow. It supplies concrete Python patterns and explains authentication failures that would otherwise be difficult to diagnose.
It provides implementation guidance rather than evidence of operational performance. The examples were not run, and the page supplies no benchmarks, reliability measurements or production test results. Complete worker deployment and hardened deployment instructions are outside this page.
users
The primary audience is Python developers implementing Mistral workflows, including team applications where each person needs access to their own external accounts. Named credentials also support choosing between accounts or tokens with different scopes.
Experienced developers will find the per-Connector identity controls useful for combining user-owned data access with shared service actions. Beginners need familiarity with asynchronous Python, decorators, API keys and OAuth authorization; the page does not teach those foundations.
capabilities
Connector slots declare which external services a workflow needs. The platform resolves credentials at runtime, supports bearer tokens and OAuth2, and can pause execution while a user completes browser authorization. Users can store several named credentials, choose a default and select credentials for individual executions.
Activities call Connector tools through an injected ToolCallClient, which returns the raw tool response. Durable Agents can receive Connector tools for autonomous use during their conversation loop. Eligible tools can also display interactive MCP apps when called directly from workflow activities.
Using it
requirements
The documented prerequisites are the Mistral workflow plugin, at least one Connector registered in a Mistral Workspace, suitable credentials and a running workflow worker. SDK examples use a Mistral API key. The page specifies no minimum Python, SDK or plugin version.
On-behalf-of workflows require a hardened deployment and use the triggering user's credentials by default. Regular workflows use the worker identity associated with its API key. Bearer credentials must be stored before execution, and Connectors using run_as="deployment" also need usable credentials provisioned in advance.
mechanism
A slot created with connector(name) identifies a registered Connector. Depends(slot) supplies an authenticated ToolCallClient to an activity, while @uses_connectors registers the slots on the workflow. The plugin registers an authentication interceptor when the worker starts.
With the default auto_auth=True, the interceptor checks credentials before the workflow body runs. Missing OAuth2 credentials can produce an auth_url event and pause execution until browser authorization finishes. Polling heartbeats while waiting, but the authorization window expires after 10 minutes with ConnectorAuthTimeout.
The run_as setting controls both credential preparation and tool calls. Its default, "auto", follows the workflow's on_behalf_of setting; "deployment" always uses the worker's service identity. Direct ToolCallClient calls allow different Connectors in one workflow to use different identities.
setup
Install the integration with uv add "mistralai-workflows[mistralai]". Register a Workspace Connector through Studio at [https://console.mistral.ai/build/connectors] or the Connectors API. Add credentials in its Credentials tab, using names containing only alphanumeric characters and hyphens, and choose a default.
Declare slots at module level, inject them into activities with Depends, and attach them to the workflow with @uses_connectors. Follow the guide's displayed decorator arrangement, placing @uses_connectors directly below @workflows.workflow.define. Use on_behalf_of=True only with the required hardened deployment.
Start the worker before launching through Studio or the SDK. The execute_with_connector_auth_async helper detects authorization requests and passes the URL to an on_auth_required callback. Runtime ConnectorSlot bindings must refer to Connectors declared on that workflow.
example
The main example creates a GitHub issue. A slot named github_app supplies a ToolCallClient to the create_github_issue activity, which calls issue_write with method="create" and the supplied owner, repository, title and body. The workflow accepts those fields through a Pydantic input model.
With on_behalf_of=True and the default run_as="auto", the action uses the triggering user's GitHub credentials. Omitting on_behalf_of changes the default to the worker's credentials. Creating the issue changes the external repository.
The snippets require the earlier activity definition and surrounding deployment setup; they were not executed. The later runtime-binding snippet includes Notion, so using that binding also requires declaring the Notion slot on the target workflow.
Assessment & evidence
limitations
The APIs are in Public Preview and may change. Bearer authentication cannot be supplied interactively during execution. A deployment-identity Connector cannot initiate interactive OAuth and fails its preflight if usable credentials are missing. All Connectors attached to one Durable Agent must share the same run_as value.
MCP app display requires allow_mcp_ui=True, suitable app-visible ui:// metadata, a direct ToolCallClient.call_tool() invocation from an activity and a supporting client surface. Tools invoked indirectly by a model or agent do not display apps through this path.
An MCP side app does not block the workflow, and its interaction results cannot be consumed deterministically. User interactions can change external resources while later workflow steps proceed. Token encryption, retention, auditing, rate limits and detailed permission enforcement are not established by this page.
reasoning
The documented design centralizes credential lookup and authorization while allowing workflow code to be reused across users and accounts. Its practical benefit is strongest when external-service identity needs to vary between executions without embedding tokens in workflow code.
The key design decision is whose account should perform each action. A user-specific GitHub read and a shared Slack post can use different identities through separate direct tool clients. The single-identity constraint on Durable Agents means that design needs a different arrangement when an agent is involved. These are implications of the documented behavior, not measured outcomes.
alternatives
The page contrasts Connector slots with workflows that manage external API credentials, OAuth and per-user token isolation themselves. Handling those directly leaves that integration work with the application; the page supplies no comparative implementation, maintenance or cost measurements.
Within this integration, direct ToolCallClient calls suit explicitly programmed actions and per-Connector identities. Durable Agents suit model-directed tool use but require a shared run_as value across their Connectors. No competing workflow platforms or Connector products are assessed.
evidence
The evidence consists of the complete selected documentation page, retained as selected-page.txt, from [https://docs.mistral.ai/studio/workflows/building-workflows/connectors.md]. It includes configuration tables, Python examples, authentication behavior, restrictions and troubleshooting guidance.
The retained source revision is sha256:c906969298d4b219c5228fdb15480c194fc55b4281b5a0f0a4aeb9f2eb8b78d0. Linked documentation, the cookbook repository, packages and external services were not examined. No installation, workflow execution, OAuth flow or external-service action was performed.
Access & freshness
costs
Costs are unknown. The page gives no prices, quotas, included allowances or billing rules for workflow execution, Connector calls, credential management or deployment infrastructure.
The Durable Agent example names a model, but provides no model pricing or measured usage. External-service charges and account requirements are also not established, so an end-to-end cost estimate cannot be derived from this page.
rights
The supplied page contains no explicit license or redistribution grant for its text or code snippets. Rights to redistribute those materials are unknown.
Licenses for the linked packages and repositories, external-service terms, and rights governing data accessed through Connectors are outside the selected page. Credential authorization alone does not establish those rights.
freshness
The page was captured on 15 November 2026 at 09:23:07.462 UTC. This establishes the capture time; the supplied text contains no publication date, last-updated date or pinned SDK version.
The Public Preview notices make API stability a material concern. Compatibility with any particular installed version and changes after the capture are unknown.
actions
Before implementing an integration, choose the identity for each Connector and determine whether the workflow requires on-behalf-of execution. Provision bearer and deployment-identity credentials beforehand, and ensure any runtime credential bindings match declared slots.
For an initial evaluation, use one Connector and a deliberately chosen external action. Check credential resolution, named-account selection and applicable authorization failures before expanding the workflow. These checks are proposed next steps; none were performed.
If interactive MCP apps are required, confirm the tool metadata and client support, and account for app interactions occurring alongside workflow execution. Obtain compatible SDK versions, deployment instructions, pricing and applicable usage terms from their respective documentation.
