docs

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

Configuration

FieldDescription
WalletA Wallet credential. The dropdown is disabled until a credential is selected; it filters to wallets that have the CoW Swap policy configured.
NetworkThe EVM network. Only shows networks where the wallet is deployed. Changing this resets the Symbol selection.
Sidesell 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.
SymbolThe pair in SELL/BUY format (e.g. WETH/USDC). The picker auto-completes from pairs available in your Wallet allowlist.
AmountThe 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.
DescriptionOptional human-readable note.

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.

PathDescription
{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.

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.