Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / KI-Agenten & Assistenten

KI-Agenten & Assistenten

Stresse Pläne und Entwürfe mit Gemini und Claude für eine zweite Meinung

Wird ausgelöst, wenn ein Plan oder Entwurf über ein Formular oder aus einem anderen Workflow eingereicht wird. Gemini argumentiert dagegen und schlägt einen Plan B vor, Claude empfiehlt, welche Option verfolgt werden sollte.

Was sie bewirkt

## Stress-test decisions with Gemini and Claude Submit a plan, decision or draft and get an honest second opinion before you commit. The two models come from different providers on purpose: they make different mistakes. ### How it works 1. Input comes from the form (logged-in n8n users only) or from another workflow. 2. *Normalize and Quote Input* wraps your text in quoted blocks, so instructions inside it are treated as content (prompt-injection guard). 3. Gemini plays devil's advocate and proposes a Plan B. 4. Claude weighs Plan A against Plan B and recommends A, B or a mix, with next steps and open questions. Both models answer in a fixed schema. 5. If Gemini fails, Claude takes over both roles. If the review can't be completed, the report says INCOMPLETE and gives no recommendation. ### Setup 1. Add a Google Gemini credential to *Gemini Devil's Advocate Model* and an Anthropic credential to *Claude Synthesis Model*. 2. Set your error workflow in the workflow settings. 3. Activate and open the form URL of *When Plan Submitted*. ### Customization - Swap either model sub-node for another provider. Keep the two different. - Call it from an AI agent or another workflow with plan, goal and context. It returns JSON. Your input is sent to both model providers. Don't submit personal or confidential data unless your contracts with them allow it.

Die Schritte

  1. When Plan Submitted
  2. When Triggered by Workflow
  3. Normalize and Quote Input
  4. Conduct Devil's Advocate Review
  5. Gemini Devil's Advocate Model
  6. Parse Plan B Output
  7. Create Synthesis Prompt
  8. Evaluate and Recommend Plans
  9. Claude Synthesis Model
  10. Parse Recommendation Output
  11. Verify and Format Final Result
  12. Check Form Source
  13. Display Result in Form
  14. Return Result to Workflow Caller

Ähnliche Automatisierungen