You are helping me build the following AI agent workflow. ## Goal NPS Survey Collection and Response Handling: When a GoHighLevel deal completes, it automatically sends an NPS survey via Gmail, categorizes the response, saves it to Notion. ## Specification - What it does: Get instant visibility into your customer satisfaction by automatically sending NPS surveys via Gmail when a deal completes in GoHighLevel. You receive categorized feedback on Promoters, Passives, or Detractors directly in Notion for easy analysis, with immediate Slack alerts ensuring you never miss critical insights. - Trigger: Triggered by an event (Event ยท on deal completion in GoHighLevel) - Autonomy: Fully hands-off - Expected setup effort: about an afternoon - Tools/services involved: - GoHighLevel: Trigger survey delivery when deal completes - Gmail: Send automated NPS survey emails to customers - Webhook: Capture dynamic NPS responses from surveys - Notion: Store and track structured survey results - Slack: Send real-time notifications for feedback visibility ## Known pitfalls, handle each one explicitly in your implementation 1. Webhook endpoints must be publicly accessible and secure with a secret token to prevent spoofed responses from invalid sources. 2. Notion API requires specific database IDs rather than page names, so hardcode these IDs or use environment variables for stability. 3. Slack message formatting can break if customer names contain special characters, so sanitize all input strings before sending notifications. ## Reference implementation https://n8n.io/workflows/9227 (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/automate-nps-survey-collection-and-response-handling/ via usecasesforagents.com