You are helping me build the following AI agent workflow. ## Goal Track Crypto Market Gainers And Losers: Automatically fetches top crypto gainers and losers from CoinGecko and posts formatted market updates to your Discord server. ## Specification - What it does: Get real-time insights on your crypto market movers as this agent scans thousands of coins via CoinGecko to identify the biggest winners and losers. It then posts these formatted updates with rich embeds directly to your Discord server so you never miss a significant shift in performance. - Trigger: On a schedule (Scheduled ยท automatic execution) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - CoinGecko API: Fetching cryptocurrency market data - HTTP Request: Making API calls to CoinGecko - Code: Processing and filtering coin data - Discord: Posting formatted market updates ## Known pitfalls, handle each one explicitly in your implementation 1. Large datasets can exceed Discord's message length limit so truncate the list of losers or gainers to fit within 2048 characters. 2. API response structures may change over time so validate field existence in your code before accessing nested properties. 3. Discord embeds require specific color codes in hexadecimal format so ensure your numeric values are converted correctly. ## Reference implementation https://n8n.io/workflows/9854 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/track-crypto-market-gainers-and-losers/ via usecasesforagents.com