{"product_id":"n8n-research-report-automation-openai-gemini-fact-check","title":"n8n Research Report Automation: OpenAI \u0026 Gemini Fact-Check","description":"\u003ch3\u003eTurn research questions into a fact-checked, cited report—fully automated in n8n\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow takes a research request from an n8n form, uses \u003cstrong\u003eOpenAI\u003c\/strong\u003e and \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e to draft a cited report, then performs an \u003cstrong\u003eOpenAI-based fact-check against the provided sources\u003c\/strong\u003e. The verified markdown report is emailed via \u003cstrong\u003eGmail\u003c\/strong\u003e and logged to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e for traceability.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCollects your request\u003c\/strong\u003e: Receives a research question, a depth level, and a destination email via an n8n form.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePlans targeted searches\u003c\/strong\u003e: Uses OpenAI (\u003cem\u003egpt-5.6-luna\u003c\/em\u003e) to break the question into \u003cstrong\u003e4–6 focused search queries\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFinds and curates sources\u003c\/strong\u003e: Searches each query using \u003cstrong\u003eBright Data SERP API\u003c\/strong\u003e, then extracts, deduplicates, and caps the source URLs based on the selected depth.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a reading corpus\u003c\/strong\u003e: Fetches sources with \u003cstrong\u003eBright Data Web Unlocker\u003c\/strong\u003e as markdown, cleans\/crops text, and compiles a compact corpus for generation.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDrafts with inline citations\u003c\/strong\u003e: Uses Google Gemini (\u003cem\u003egemini-3.5-flash\u003c\/em\u003e) to write a structured report using \u003cstrong\u003eonly the provided corpus\u003c\/strong\u003e with inline citations.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFact-checks every claim\u003c\/strong\u003e: Uses OpenAI (\u003cem\u003egpt-5.6-terra\u003c\/em\u003e) to audit each factual claim against the cited source text, returning supported\/unsupported\/contradicted verdicts with quoted evidence, plus a confidence score and flagged claims.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDelivers and logs results\u003c\/strong\u003e: Emails the verified markdown report via \u003cstrong\u003eGmail\u003c\/strong\u003e and appends run details to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomate “research brief” creation for SaaS operators who need fast, cited answers.\u003c\/li\u003e\n  \u003cli\u003eGenerate and verify internal knowledge reports (with evidence) for automation engineers.\u003c\/li\u003e\n  \u003cli\u003eProduce depth-controlled research digests for customer-facing enablement docs.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eIntegrations: \u003cstrong\u003eOpenAI\u003c\/strong\u003e, \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e, \u003cstrong\u003eBright Data SERP API\u003c\/strong\u003e, \u003cstrong\u003eBright Data Web Unlocker\u003c\/strong\u003e, \u003cstrong\u003eGmail\u003c\/strong\u003e, \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eWorkflow nodes used: \u003ccode\u003eset\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, \u003ccode\u003egmail\u003c\/code\u003e, \u003ccode\u003elimit\u003c\/code\u003e, \u003ccode\u003esplit out\u003c\/code\u003e, \u003ccode\u003eaggregate\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003eBright Data setup: Create a Bright Data account, configure a SERP API zone and Web Unlocker zone, then add HTTP Header Auth with \u003ccode\u003eAuthorization: Bearer \u0026lt;YOUR_KEY\u0026gt;\u003c\/code\u003e for both Bright Data HTTP requests (configure zone names in the “Set Research Parameters” step).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45850652344499,"sku":"N8N-18129","price":30.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/9RZR9GOsyQo1ScEGZ-l5B_D2BNrmlp.png?v=1786871306","url":"https:\/\/buyflowscripts.com\/products\/n8n-research-report-automation-openai-gemini-fact-check","provider":"N8N Commerce","version":"1.0","type":"link"}