You are helping me build the following AI agent workflow. ## Goal Track Affiliate Events With Sheets And Telegram: Captures Partnerstack affiliate events via webhook, logs them in Google Sheets, and sends real-time alerts to Telegram. ## Specification - What it does: You automatically capture Partnerstack affiliate events into a Google Sheets history log while receiving instant real-time alerts on your Telegram chat. This setup ensures you never miss an event notification without needing to manually check for updates. - Trigger: Triggered by an event (Event ยท on new affiliate referral) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - n8n: Workflow orchestration and webhook handling - Google Sheets: Logging event data rows - Telegram: Sending real-time notifications ## Known pitfalls, handle each one explicitly in your implementation 1. Google Sheets column headers must match the webhook payload keys exactly so that data maps correctly without manual intervention. ## Reference implementation https://n8n.io/workflows/4529 (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-affiliate-events-with-sheets-and-telegram/ via usecasesforagents.com