Skip to main content
You will copy Service Desk Agent, a workflow from the public gallery, into your organization, keep it in git, and change it in three rounds, two with a coding agent and one in the website’s visual editor. You finish with a working copy of a gallery workflow in your organization, a git history of the changes you made to it, and the habit of the loop.

The loop

Step 1 happens once, and steps 2 to 5 repeat, once per round. Step 5 matters because the website edits too: pull brings a change made in the visual editor back to git.

Before you start

Do the introduction’s Set up once first. It gives you:
  • an organization of your own;
  • the CLI, 0.14.0 or later;
  • an org-scoped key with the admin role, stored with blobhub login;
  • ORG set to your organization’s alias in this terminal, with export ORG=<your-org>;
  • a coding agent that reads these docs.
This tutorial adds one thing. Service Desk Agent runs Claude models through a credential it looks up by the alias anthropic. Under Credentials in your organization’s settings (https://blobhub.io/<your-org>/settings/credentials), add a credential of type API key whose alias is exactly anthropic, holding your own Anthropic key. Every run of the copied flow then uses it, a play in the playground and a run from the CLI alike (How a run uses one). Without the credential, a run fails.
The organization's Credentials page, listing the anthropic credential, type api_keyThe organization's Credentials page, listing the anthropic credential, type api_key

Your organization's Credentials page, listing anthropic, type api_key.

The pictures were taken in halden-systems, the organization of a fictional company, so they show --org halden-systems where your terminal shows your organization, and the checkout as ~/service-desk-agent.

Copy it, then iterate

1

Find the flow

Open the gallery’s Service Desk Agent playground on its showcase session, showcase-vpn-berlin. Requests is on the left, Escalations and Tickets on the right. Each post in Requests runs the desk-agent workflow, which plans across five tools over a planted directory, status page, knowledge base and open tickets.
The default playground of workflow-gallery/service-desk-agent: Requests on the left, Escalations and Tickets on the rightThe default playground of workflow-gallery/service-desk-agent: Requests on the left, Escalations and Tickets on the right

Service Desk Agent in the public gallery, on its showcase session.

2

Pull it

Terminal: the gallery pull writing blob.yaml and pulling workflow/desk-agent and playground/default into definitions/Terminal: the gallery pull writing blob.yaml and pulling workflow/desk-agent and playground/default into definitions/

pull writes blob.yaml, then every definition it lists.

pull with a blob and no blob.yaml writes the manifest first, then every definition it lists (blobhub workflow pull); your key reads the gallery’s public workflow (API keys). Look at what it wrote:
Where tree is not installed, find . -type f shows the same.
Terminal: tree listing blob.yaml and the two definition files under definitions/Terminal: tree listing blob.yaml and the two definition files under definitions/

The checkout: one manifest and one file per definition.

The manifest names the blob, its revision and one file per definition:
blob.yaml
target.blob is the bare name, so --org alone decides which organization a later command reaches.
3

Put it in git

Terminal: git init, git add . and the first commitTerminal: git init, git add . and the first commit

The copy as it came from the gallery, committed.

4

Make it yours

Terminal: blob create in halden-systems, printing the new blob, private, and its default revisionTerminal: blob create in halden-systems, printing the new blob, private, and its default revision

blob create makes an empty, private workflow in your organization.

It makes an empty, private workflow with the gallery’s name in your organization and waits until it is ready (blobhub blob create); push never creates a blob. Now push your checkout into it:
Terminal: workflow push creating and pushing workflow/desk-agent and playground/defaultTerminal: workflow push creating and pushing workflow/desk-agent and playground/default

push creates both definitions on your workflow and uploads them.

Open https://blobhub.io/<your-org>/service-desk-agent.
The service-desk-agent workflow in halden-systemsThe service-desk-agent workflow in halden-systems

Your copy, in your organization.

What the three commands did:
5

Play

Open https://blobhub.io/<your-org>/service-desk-agent/playgrounds/default, choose New Session from the session menu, and post in Requests:
Message
The agent looks Felix up by name with lookup_employee, since a post names no requester, and finds the EU-West incident on the status page.
The playground of halden-systems/service-desk-agent on session felix-vpn: the agent's tool calls and its answer to Felix naming the EU-West incidentThe playground of halden-systems/service-desk-agent on session felix-vpn: the agent's tool calls and its answer to Felix naming the EU-West incident

Your copy answers Felix from the status page.

Every play in this tutorial starts a session of its own, so each round is judged on a clean conversation.
6

Round 1: behaviour

Start your coding agent in the checkout (claude for Claude Code) and give it:
Prompt
Claude Code in the checkout, given the round 1 prompt, editing definitions/workflow__desk-agent.jsonClaude Code in the checkout, given the round 1 prompt, editing definitions/workflow__desk-agent.json

Round 1: the coding agent changes what the desk is told.

Review what it changed:
Terminal: git diff --word-diff of the desk's instructions, the asset-tag rule addedTerminal: git diff --word-diff of the desk's instructions, the asset-tag rule added

git diff shows the instruction it added.

Push it:
In a new session, post:
Message
The desk asks for the asset tag before it opens anything.
The playground on session felix-laptop: the agent finds Felix Brandt in the directory and asks for the laptop's asset tagThe playground on session felix-laptop: the agent finds Felix Brandt in the directory and asks for the laptop's asset tag

The desk asks for the asset tag before it opens a hardware ticket.

Keep the change:
7

Round 2: data

The status page the agent reads is data inside the workflow document, the Status page component. Give the agent:
Prompt
Claude Code given the round 2 prompt, editing the status page in definitions/workflow__desk-agent.jsonClaude Code given the round 2 prompt, editing the status page in definitions/workflow__desk-agent.json

Round 2: the agent marks the EU-West incident resolved.

The agent suggests deploying with blobhub workflow deploy; you need not, as the push below is what sends the change.Review what it changed:
Terminal: git diff --word-diff of the EU-West VPN entry, its state no longer degradedTerminal: git diff --word-diff of the EU-West VPN entry, its state no longer degraded

The change is data: one incident's state.

Push it:
In a new session, post:
Message
The composer suggests it, too. The desk checks the status page again and answers that the EU-West incident is resolved.
The playground on session eu-west: the agent's status checks and its answer that the EU-West incident is resolvedThe playground on session eu-west: the agent's status checks and its answer that the EU-West incident is resolved

Is EU-West back yet? Now the answer is yes.

Keep the change:
8

Round 3: from the website

Open https://blobhub.io/<your-org>/service-desk-agent/workflows/desk-agent. Select the language model node, named Claude Fable 5.2, and pick Claude Opus 5.5 as its model. Rename the node Claude Opus 5.5 as well, since the node’s model picker changes the model alone, then choose Save changes. The node sets the model the flow runs on outside the playground; in the playground, the model picker in Requests chooses the model for each play.
The visual editor on desk-agent, the language model node selected, set to and named Claude Opus 5.5The visual editor on desk-agent, the language model node selected, set to and named Claude Opus 5.5

Round 3 happens in the visual editor.

Bring the change home:
Terminal: workflow pull with the existing blob.yaml, pulling both definitionsTerminal: workflow pull with the existing blob.yaml, pulling both definitions

pull brings the website's change into the checkout.

pull with an existing blob.yaml rewrites only the definition files. Review what the website changed:
Terminal: git diff --word-diff of definitions/workflow__desk-agent.json, the model changed to Claude Opus 5.5Terminal: git diff --word-diff of definitions/workflow__desk-agent.json, the model changed to Claude Opus 5.5

git diff shows the model the editor saved.

Keep the change:

Where next

Own the code

Eject a code component into a Python package, build it, deploy it.

Schedules

Run the flow on a timer.

Listeners

Start a run from the session’s own events.