CoW Swap Node
The CoW Swap node lets your workflow swap tokens through CoW Swap ↗, an intent-based DEX aggregator that protects against MEV and finds the best execution price across multiple venues. It signs through a Wallet credential, so every swap is gated by the token allowlist you have configured.
CoW Swap
Base • sell WETH/USDC
Configuration
Swap
This node requires a deployed Wallet with the CoW Swap policy configured on the target network. Both the sell token and the buy token must be in your Allowed Tokens list.
Configuration
| Field | Description |
|---|---|
| Wallet | A Wallet credential. The dropdown is disabled until a credential is selected; it filters to wallets that have the CoW Swap policy configured. |
| Network | The EVM network. Only shows networks where the wallet is deployed. Changing this resets the Symbol selection. |
| Side | sell means Amount is the quantity of the sell token you are giving up. buy means Amount is the quantity of the buy token you want to receive. |
| Symbol | The pair in SELL/BUY format (e.g. WETH/USDC). The picker auto-completes from pairs available in your Wallet allowlist. |
| Amount | The quantity in token units. The picker shows a Max balance button on the sell side, reflecting your Wallet's current balance. Supports the f(x) toggle. |
| Description | Optional human-readable note. |
The node waits for the order to settle before resolving. CoW Swap orders expire after 4 minutes to fit within the node's 5-minute execution limit. If the order is not filled in that window, the node fails.
Supported Networks
Ethereum, Base, and Sepolia (testnet).
Workflow Examples
AI-Driven Swap
An LLM decides whether to swap based on market context, a Conditional gates the trade, and the swap fires through your Wallet.
Strategy
Claude Sonnet 4.6
Action = sell?
Sell UNI
UNI/USDC
Scheduled DCA
A scheduled workflow swaps a fixed USDC amount into WETH on every run.
Start
Schedule
Buy WETH
USDC/WETH
Output
After the order settles, the node outputs an order object.
| Path | Description |
|---|---|
| {swap.order.success} | true if the order was filled. |
| {swap.order.orderId} | The CoW Swap order ID. Useful for looking up the trade on cow.fi. |
| {swap.order.txHash} | The settlement transaction hash. |
| {swap.order.explorerUrl} | Block explorer link for the settlement transaction. |
| {swap.order.side} | buy or sell. |
| {swap.order.symbol} | The pair (e.g., WETH/USDC). |
| {swap.order.amount} | The quantity that was swapped. |
Replace
swap with the edge label connecting this node downstream.Next Steps
- Wallets: Deploy a Wallet and configure the CoW Swap policy.
- Aave Node: Pair swaps with lending to deploy idle capital.
- Conditional Node: Gate swaps on AI signals or thresholds.
- Function Node: Compute swap amounts dynamically from portfolio data.