You are helping me build the following AI agent workflow. ## Goal Solar Lead Reactivation Automation: Monitors a Google Sheet for leads marked Ready for Reactivation and sends personalized SMS via Twilio with AI sentiment tracking. ## Specification - What it does: You get timely SMS reminders sent to leads marked ready for reactivation in your Google Sheet, ensuring no opportunity slips through. The system tracks their responses with AI sentiment analysis, updates your sheet automatically, and alerts you via Telegram when high-value replies arrive. - Trigger: Triggered by an event (Manual ยท on new lead status change) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - Google Sheets: Lead storage and status tracking - Twilio: Sending SMS messages - OpenAI: Sentiment detection of replies - Telegram: Alerts for hot leads ## Known pitfalls, handle each one explicitly in your implementation 1. Twilio will reject messages if phone numbers lack proper E.164 formatting so validate all numbers before sending. 2. Google Sheets API quotas can be exceeded by rapid updates so batch writes or add small delays between operations. 3. OpenAI may misinterpret short replies like 'ok' as positive sentiment so include explicit negative examples in the prompt. 4. Telegram bot tokens must remain secret and never hardcoded in the script so use environment variables for storage. ## Reference implementation https://n8n.io/workflows/6213 (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/solar-lead-reactivation-automation/ via usecasesforagents.com