> For the complete documentation index, see [llms.txt](https://docs.digibee.com/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digibee.com/documentation/development-cycle/digital-worker-mode/how-do-i-delegate-my-integration-to-a-digital-worker.md). Agents can also search and read this documentation through its [MCP server](https://docs.digibee.com/documentation/~gitbook/mcp).

# How do I delegate my integration to a digital worker?

Learn how spec-driven development works in Digital Worker Mode on Digibee: what you do, what a digital worker does, and what each stage delivers, from your goal to a live integration.

## What does it mean to delegate an integration?

When you delegate an integration, you work on it with a digital worker from start to finish. Working with a digital worker is like working with an experienced integration engineer: you talk about the problem, compare the options, and agree on what to do. The spec records everything you agree on, and the digital worker builds the integration from it.

At each stage, the digital worker does the work: asks you questions about the problem, suggests design options and explains the pros and cons of each, creates the pipelines, and looks into how the integration runs in production. You share what only you know, make the decisions, and approve each stage before the next one starts. You're responsible for the result, and your time goes into deciding, not into building the integration step by step.

## From your goal to production

The diagram below shows every stage of delegating an integration: what you do, what the digital worker does, and the decisions that move the work forward. To open the page for a stage, hover over it and select it when the tooltip shows **Open the docs**.

To read the diagram:

* **You (green):** What you do at each stage.
* **Working on (dashed box):** What you and the digital worker work on together at each stage.
* **Digital worker (purple):** What the digital worker does.
* **Decision points (diamonds):** Questions you answer before you move on. **Yes** moves forward. **No** goes back to the spec: you refine it with the digital worker before moving on, so the spec remains the source of truth for the integration.
* **· skill:** uses a Digibee skill. **· FDE:** available with a Forward Deployed Engineer (FDE) package.

```mermaid
%%{init: {"themeVariables": {"fontSize": "18px", "edgeLabelBackground": "#e9ecef"}, "flowchart": {"nodeSpacing": 18, "rankSpacing": 34, "padding": 8, "useMaxWidth": false, "subGraphTitleMargin": {"top": 0, "bottom": 18}}}}%%

flowchart TB
subgraph S1["<b>Guide</b> · Onboard the digital worker to your project"]
 direction LR

 U1["<b>YOU</b><br>• Give the goal<br>• Share your context<br>• Point out risks and constraints"]

 W1["<b>WORKING ON</b><br><i>Requirements</i><br><br>Business goals<br>Systems involved<br>SLAs and security<br><br><b>Outcome:</b> Spec draft"]

 D1["<b>DIGITAL WORKER</b><br>• Interviews you to clarify goals and requirements<br>• Highlights open decisions<br>• Drafts the spec"]

 U1 --> W1

 W1 --- D1

end



subgraph GG1["Before you move on"]

 direction LR

 G1{"Did the digital worker<br>get your problem right?"}

 N1["No: add context"]

 X1["No: add context"]

 X1 ~~~ G1

 G1 -.-> N1

end



subgraph S2["<b>Collaborate</b> · Design and decide the solution together"]

 direction LR

 U2["<b>YOU</b><br>• Align on solution intent<br>• Decide on the trade-offs<br>• Choose a topology · skill<br>• Ask for a readiness check · skill"]

 W2["<b>WORKING ON</b><br><i>Design</i><br><br>Architecture decision records<br>Pipeline topology<br>Data mapping<br><br><b>Outcome:</b> Approved spec"]

 D2["<b>DIGITAL WORKER</b><br>• Proposes topology options<br>• Explains trade-offs<br>• Designs each pipeline and its paths<br>• Creates a backlog of open decisions"]

 U2 --> W2

 W2 --- D2

end



subgraph GG2["Before you move on"]

 direction LR

 G2{"<b>KEY DECISION</b><br>Is the spec ready<br>to approve?"}

 N2["No: keep refining"]

 X2["No: keep refining"]

 X2 ~~~ G2

 G2 -.-> N2

end



subgraph S3["<b>Delegate</b> · The digital worker builds from the spec"]

 direction LR

 U3["<b>YOU</b><br>• Resolve the open gaps<br>• Agree test cases<br>• Make manual changes<br>• Give feedback<br>• Delegate the build"]

 W3["<b>WORKING ON</b><br><i>Pipelines</i><br><br>Pipeline drafts<br>Generation report<br>Test cases<br><br><b>Outcome:</b> Pipeline drafts and report"]

 D3["<b>DIGITAL WORKER</b><br>• Builds the pipelines<br>• Composes a generation report<br>• Iterates with you<br>• Learns from manual changes"]

 U3 --> W3

 W3 --- D3

end



subgraph S4["<b>Verify before deploy</b> · Review and test against the spec"]

 direction LR

 U4["<b>YOU</b><br>• Review what was built<br>• Test the pipelines<br>• Update the spec<br>• Approve go-live"]

 W4["<b>WORKING ON</b><br><i>Testing</i><br><br>Test results<br>Spec corrections<br><br><b>Outcome:</b> Approved pipelines"]

 D4["<b>DIGITAL WORKER</b><br>• Rebuilds from the updated spec"]

 U4 --> W4

 W4 --- D4

end



subgraph GG4["Before you move on"]

 direction LR

 G4{"Do the pipelines do<br>what the spec says?"}

 N4["No: fix the spec<br>in Collaborate"]

 X4["No: fix the spec<br>in Collaborate"]

 X4 ~~~ G4

 G4 -.-> N4

end



subgraph S5["<b>Monitor in production</b> · Track how the live integration behaves"]

 direction LR

 U5["<b>YOU</b><br>• Ask about executions<br>• Review the findings<br>• Decide what changes"]

 W5["<b>WORKING ON</b><br><i>Live operation</i><br><br>Executions<br>Errors and latency<br>Root causes<br><br><b>Outcome:</b> Reports on live integrations"]

 D5["<b>DIGITAL WORKER</b><br>• Answers your questions<br>• Investigates errors<br>• Shows evidence for findings<br>• Writes root cause reports"]

 U5 --> W5

 W5 --- D5

end



subgraph GG5["Before you move on"]

 direction LR

 G5{"Is the integration behaving<br>as the spec says?"}

 N5["No: change the spec<br>in Collaborate"]

 X5["No: change the spec<br>in Collaborate"]

 X5 ~~~ G5

 G5 -.-> N5

end



subgraph S6["<b>Organizational memory · FDE</b> · Reuse what you learned"]

 direction LR

 U6["<b>YOU</b><br>• Set standards with an FDE<br>• Approve company-wide rules"]

 W6["<b>WORKING ON</b><br><i>Company knowledge</i><br><br>Systems of record<br>Standards<br>Past decisions<br><br><b>Outcome:</b> Reusable company standards"]

 D6["<b>DIGITAL WORKER</b><br>• Applies your standards<br>• Reuses past decisions"]

 U6 --> W6

 W6 --- D6

end



 S1 --> GG1

 GG1 -->|"Yes: problem and<br>scope are clear"| S2

 S2 --> GG2

 GG2 -->|"Yes: spec approved"| S3

 S3 -->|"Pipelines generated"| S4

 S4 --> GG4

 GG4 -->|"Yes: tests pass,<br>you deploy"| S5

 S5 --> GG5

 GG5 -->|"Yes: harvest<br>what you learned"| S6



classDef you fill:#d3f9d8,stroke:#2b8a3e,stroke-width:2px,color:#1e1e1e

classDef spec fill:#ffffff,stroke:#495057,stroke-width:2px,stroke-dasharray:6 4,color:#1e1e1e

classDef dw fill:#e5dbff,stroke:#6741d9,stroke-width:2px,color:#1e1e1e

classDef gate fill:#fff3bf,stroke:#1e1e1e,stroke-width:2px,color:#1e1e1e

classDef key fill:#fff3bf,stroke:#f08c00,stroke-width:4px,color:#1e1e1e

class U1,U2,U3,U4,U5,U6 you

class W1,W2,W3,W4,W5,W6 spec

class D1,D2,D3,D4,D5,D6 dw

class G1,G4,G5 gate

class G2 key

classDef no fill:#ffe3e3,stroke:#c92a2a,stroke-width:2px,color:#c92a2a

class N1,N2,N4,N5 no

classDef spacer fill:none,stroke:none,color:transparent

class X1,X2,X4,X5 spacer



 style S1 fill:transparent,stroke:#868e96,color:#868e96

 style S2 fill:transparent,stroke:#868e96,color:#868e96

 style S3 fill:transparent,stroke:#868e96,color:#868e96

 style S4 fill:transparent,stroke:#868e96,color:#868e96

 style S5 fill:transparent,stroke:#868e96,color:#868e96

 style GG1 fill:transparent,stroke:#868e96,stroke-dasharray:4 4,color:#868e96

 style GG2 fill:transparent,stroke:#868e96,stroke-dasharray:4 4,color:#868e96

 style GG4 fill:transparent,stroke:#868e96,stroke-dasharray:4 4,color:#868e96

 style GG5 fill:transparent,stroke:#868e96,stroke-dasharray:4 4,color:#868e96

 style S6 fill:#0c85991f,stroke:#0c8599,stroke-width:2px,color:#15aabf

linkStyle default stroke:#868e96,stroke-width:1.5px

linkStyle 2,6,12,16 stroke:none,stroke-width:0px

linkStyle 21,23,24,26,28 stroke:#37b24d,stroke-width:2px,color:#2b8a3e

linkStyle 3,7,13,17 stroke:#e03131,stroke-width:2px,color:#c92a2a



%% Link test: clicking these nodes should open the docs

click W2 href "https://docs.digibee.com/documentation/development-cycle/build-overview/build-with-a-digital-worker/design-and-decide-the-solution-together/skills-you-can-ask-the-digital-worker-to-use#check-that-the-spec-is-ready-to-build" "Open the docs" _blank

click G2 href "https://docs.digibee.com/documentation/development-cycle/build-overview/build-with-a-digital-worker/design-and-decide-the-solution-together/skills-you-can-ask-the-digital-worker-to-use#check-that-the-spec-is-ready-to-build" "Open the docs" _blank
```

### Next steps

Now that you've seen how delegation works, read [Onboard the digital worker to your project](https://docs.digibee.com/documentation/development-cycle/build-overview/build-with-a-digital-worker/onboard-the-digital-worker-to-your-project.md) to start your first project with a digital worker.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.digibee.com/documentation/development-cycle/digital-worker-mode/how-do-i-delegate-my-integration-to-a-digital-worker.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
