GitLab's tutorial shows how to extend GitLab Duo Agent Platform beyond developer tools into business systems, using Salesforce runtime errors as the example. When an Apex error occurs, a Queueable Apex job calls the generally available Flows API (GitLab 19.5+/Premium/Ultimate) with the exception details as the flow's goal. A custom flow, defined as a single YAML file in flow registry v1 syntax, runs an agent with a deliberately narrow toolset — four read tools (find_files, grep, read_file, list_commits) plus create_issue — to locate the source, inspect recent commits, and open a GitLab issue containing a structured root-cause analysis (likely cause, affected component, suspect commit, next step, confidence) with mandatory citations. Enabling the flow creates a service account that runs under composite identity, capped by the starting user's access. Salesforce authenticates via a Named Credential holding a project access token (api scope, Developer role minimum); config lives in a custom metadata type. Key API settings: allow_agent_to_request_user: false for unattended runs, and agent_privileges/pre_approved_agent_privileges limited to read and issue-creation privileges. Flows can trigger automatically from exception handlers or on demand via an invocable action. Noted limitations: the example omits response checks, retries, and tests; the agent only analyzes and never changes code (a person decides next steps); queued jobs are discarded on transaction rollback; and production use requires scrubbing customer data from error payloads, least-privilege tokens, and token rotation. Any system capable of an HTTP request can reuse the pattern.