# Financial Workflow API | Composition & Review Links

Prepare supported funding, lending and financial composition drafts with explicit networks, assets and user approval. Track separate execution steps accurately.

Canonical: https://www.bitpont.com/developers/workflows/


## Start from a financial destination

workflowStarters() lists supported network-specific funding and lending shortcuts. Select a compatible route before collecting an amount. prepareWorkflow() returns an unsigned draft and Bitpont review link.

Server-side JavaScriptCopy code
```
const starters = await bitpont.workflowStarters();
console.log(starters.starters);

const draft = await bitpont.prepareWorkflow({
  network:'ethereum', source:'wallet',
  destination:'aave', amount:'100'
});
console.log(draft.steps, draft.costs, draft.reviewUrl);
// Opening reviewUrl requests no wallet signature by itself.
```

## Compose supported steps explicitly

prepareComposition() validates up to 12 compatible actions. Each step carries its network, wallet, asset identity, exact amount constraints and supported output dependencies. Use compositions() to inspect the current capability contract.

Eligible combinations can connect swap, bridge, lending, yield and funding adapters. Availability is checked again when the user reaches execution. This is not universal cross-protocol execution.

## Show a complete review before any signature

A draft has unquoted costs and no guarantee of destination proceeds. Display the source asset, destination, required transactions, permissions, withdrawal constraints and known costs. Requote at execution and let the owner approve each required wallet operation.

## Track each completed step independently

Cross-chain and multi-protocol actions are not universally atomic. Record transaction identifiers and verify delivery before advancing. A later failure does not reverse an earlier confirmed step. Resume from the verified state; do not replay an operation because a browser or request timed out.

The partner API offers no hosted webhook or unattended execution service. Partners must operate their own monitoring and retain their own recovery records.


