config pairs one trigger with one action. Triggers define when an automation runs; actions define what it does. New actions can reuse existing triggers whenever the combination is compatible.
The config is reusable across wallets. Values that differ by wallet belong to the attachment instead.
Triggers
Deposit
Thedeposit trigger activates when Privy detects a deposit to a wallet with an enabled attachment and the deposited asset matches the configured filter.
A deposit that does not match an enabled attachment does not create an execution. If multiple attachments match, Privy selects the oldest matching attachment.
Privy evaluates recipient-side asset transfers. Outgoing activity does not activate a deposit trigger. Deposit matching has no minimum amount, and the transferred amount does not determine the action amount.
Attaching an automation to a funded wallet does not process its existing balance. A new matching deposit or a reindex request must start the execution.
Supported chains
Wallet automations can detect deposits on the following mainnet chains:
Tron deposit automations are available to apps with Tron support enabled.
Detection support does not guarantee that every action route is available.
Use the swap quote endpoint to confirm the source and destination before creating an automation.
Filter assets
Theassets.mode field controls which deposits match:
Each
include or exclude value identifies an asset using a human-readable alias or canonical identifiers:
Provide exactly one of
asset or asset_address per value. A raw asset_address must include either chain or caip2.
The all and exclude modes can match arbitrary deposited tokens. A matching action can still fail when the asset or route is unsupported.
If the balance is zero when the execution runs, Privy marks the execution as skipped and does not create a wallet action.
Actions
Swap
Theswap action converts the triggering asset into one configured destination asset and chain. destination_chain_asset accepts aliases or canonical identifiers, but it must identify exactly one asset on exactly one chain.
Earn deposit
Theearn_deposit action deposits the triggering asset’s full current wallet balance into one configured Earn vault.
include mode with exactly one asset. That asset and chain must match the vault’s underlying asset. Privy rejects broader filters, multiple assets, and mismatched assets when the automation is created or updated.
The vault must belong to the same Privy app as the automation. The app can create a separate automation for each vault and attach the appropriate automation to each wallet.
Earn deposit attachments do not accept per-wallet params. The action gets its vault from vault_id and its amount from the wallet’s current balance.
When assets return to the wallet through an Earn withdrawal, Privy recognizes the vault’s withdrawal source and skips the deposit trigger. This prevents an automated redeposit loop.
Generated actions follow the Earn deposit lifecycle. The source wallet’s policies continue to apply.
Per-wallet parameters
Only swap automations use per-wallet parameters. Swap output addresses belong to attachments rather than the reusable action config. This allows one automation to send each wallet’s output to a different destination.destination_address from the matched attachment.
Omit params when attaching an Earn deposit automation.

