You are helping me build the following AI agent workflow. ## Goal Client Onboarding Webhook to Email Alert: Receives new client onboarding data via webhook, validates it, queues it in RabbitMQ, and sends a formatted Gmail alert to the team. ## Specification - What it does: Receives client onboarding JSON payloads via a webhook trigger. Validates the input against a defined schema, publishes valid events to RabbitMQ for decoupled processing, and sends formatted Gmail notifications upon successful consumption. Includes error handling with dead-letter queues for invalid or failed messages. - Trigger: Triggered by an event (Event ยท on webhook payload) - Autonomy: Fully hands-off - Expected setup effort: a few focused days - Tools/services involved: - n8n: Workflow orchestration and logic execution - RabbitMQ: Message queuing and event distribution - Gmail: Sending notification emails to clients or staff - Code: JSON Schema validation and data processing ## Known pitfalls, handle each one explicitly in your implementation 1. Gmail API quotas can be exceeded quickly during testing so implement a delay or batch size limit. 2. Invalid JSON payloads will crash the workflow if you do not wrap validation in a try-catch block. ## Reference implementation https://n8n.io/workflows/15316 (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/client-onboarding-webhook-to-email-alert/ via usecasesforagents.com