Templates / Automate token purchases with dollar cost averaging on Uniswap V3 & 1Shot API

Automate token purchases with dollar cost averaging on Uniswap V3 & 1Shot API

Unknown

by 1Shot API ✓ · 276 views · created 2025-08-30 · Crypto Trading, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs on a schedule (every 15 minutes). Along the way it connects Telegram and 1shot (community).

How it runs

Trigger: On a schedule (every 15 minutes).

  1. Swap Configs (Code): runs custom JavaScript code
  2. Fetch Pool TWA Observations (One Shot): read
  3. Get Swap Qoute (One Shot): simulate
  4. Calculate TWAP (Code): runs custom JavaScript code
  5. Give Approval to Router (One Shot Synch): execute as delegator
  6. Swap Tokens (One Shot Synch): execute as delegator
  7. Failure Details (Telegram): uses Telegram
  8. Get Remaining DCA Funds Balance (One Shot): read
  9. Success Details (Telegram): uses Telegram

Services it uses

Telegram1shot (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-1shot is verified or supports 3.0 (used in Fetch Pool TWA Observations, Get Swap Qoute, Get Remaining DCA Funds Balance).
  • Check that n8n-nodes-1shot is verified or supports 3.0 (used in Swap Tokens, Give Approval to Router).

Nodes used (5)

From the author

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Dollar Cost Averaging with Uniswap V3 This workflow lets you set up an scheduled workflow to dollar cost average (DCA) into any token on a custom schedule…

Excerpt from 1Shot API's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.