Bibliothek / E-Mail-Automatisierung
E-Mail-Automatisierung
Draft safe email replies from webhooks with Groq and n8n Guardrails
When an API call/webhook arrives, it handles email with Groq and OpenAI / ChatGPT using Guardrails, Groq.
Was sie bewirkt
# Draft safe email replies from webhooks with Groq and Guardrails An AI assistant that reads email will follow instructions hidden inside it, because the model cannot tell your rules apart from text in the message. This workflow limits what the assistant can do, in code, instead of trusting it to resist. ### Who's it for Teams letting an AI draft replies to customer email, helpdesk tickets or form messages, who need to be sure it can never send data to the wrong place. ### How it works 1. Rebuilds the text a person would actually see and scores the message on anything hidden. 2. Replaces card numbers, IBANs and API keys before the model reads anything. 3. Stops high-risk messages before they reach the model. 4. Drafts a reply from your facts only. The recipient is set in code, never by the model. 5. Checks every reply in code for stray addresses, unapproved links, card or key shaped text, and length. 6. Holds anything that fails, with the reason, and reports the whole run. ### Setup steps - [ ] Add a Groq credential to POST Writing to LLM (the free tier is enough) - [ ] Fill about_us in Set Email Fields with the facts the assistant may use - [ ] Set allowed_recipient_domains and allowed_links to your own - [ ] Point action_url at your sending endpoint, or replace POST Final Reply with a Gmail, Outlook or Slack node - [ ] Send a test message to the webhook with dry_run on, read the report, then turn it off ### Customization Lower high_risk_at to hold more messages. Edit the numbered rules in Compose Writing Request to change tone or language. Validate Generated Reply is plain code, so you can add your own checks beside the ones there.
Die Schritte
- POST Screen Inbound Message
- Set Email Fields
- Normalize Email Input
- Extract Visible Content
- Apply Guardrails to Content
- Rebuild Message Content
- Check Message Safety
- Compose Writing Request
- POST Writing to LLM
- Validate Generated Reply
- POST Final Reply
- Generate Outcome Report
- Log Early Stop
- Merge Response Paths
Insgesamt 18 Schritte.
Ähnliche Automatisierungen
Kundensupport & HelpdeskTriagiere Support-Anfragen und entwirf PII-sichere Antworten mit OpenAI und PII Guardrails7 SchritteCode, Git & EntwicklertoolsRedact and restore PII in OpenAI prompts with Enterprise PII Guardrails5 SchritteKundensupport & HelpdeskBewertungsantworten mit OpenAI und Schutzprüfungen entwerfen, riskante Fälle an Slack eskalieren12 SchritteE-Mail-AutomatisierungTriage and route Gmail leads with Groq, Notion CRM, and Twilio calls16 Schritte