See llms.txt for all machine-readable content.

Mistral AI and OpenCTI integration

Save yourself the work of writing custom integrations for Mistral AI and OpenCTI and use n8n instead. Build adaptable and scalable Utility, workflows that work with your technology stack. All within a building experience you will love.

How to connect Mistral AI and OpenCTI

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Mistral AI and OpenCTI integration: Create a new workflow and add the first step

Screen and score CV candidates with Mistral OCR and Gemini

AI-Powered Hiring Pipeline: Auto-Screen CVs, Score Candidates & Send Interview Invites Stop manually reading every CV. This workflow watches your inbox, extracts CV text using Mistral OCR, scores every candidate against your job description using Google Gemini AI, and automatically routes them - shortlisted candidates get a professional interview invite, rejected ones get a polite decline, and HR receives a full AI summary with the CV attached. All hands-free. Who Is This For? HR teams and recruiters at startups or growing companies who receive a high volume of CV emails Technical hiring managers who want AI-assisted pre-screening before spending time on interviews Solo founders who are hiring but don't have a dedicated recruiter No-code automation builders looking for a production-ready hiring automation template What Problem Does This Solve? Manually reviewing CVs is time-consuming, inconsistent, and expensive. This workflow eliminates the bottleneck by automatically: Extracting CV text from PDF attachments (including scanned documents) via Mistral OCR Evaluating every candidate against your specific job description using Gemini AI Routing candidates and sending the right email to the right person - instantly You focus on interviewing. The pipeline handles everything else. Key Features 📥 Email-triggered → fires automatically when a CV arrives in your inbox, no manual steps 📄 Mistral OCR → works on both digitally-created and scanned/image-based PDF CVs 🤖 Gemini AI scoring → returns a 0–100 score, shortlist/reject decision, candidate summary, and key skills 🔀 Smart routing → shortlisted and rejected candidates are handled differently in the same workflow 📧 3 beautiful HTML email templates → HR notification (with CV attached), interview invite, and polite decline ⚙️ Binary passthrough → original CV PDF is preserved and forwarded to HR's email as an attachment 📋 Sticky note documentation → every node is documented inside the workflow canvas How It Works (Step-by-Step) 📥 Watch Inbox → IMAP trigger fires when a new email arrives with a CV attachment 📄 OCR Extraction → Mistral's mistral-ocr-latest model reads the CV and outputs clean structured text 🤖 AI Scoring → Google Gemini evaluates the CV against your job description and returns a structured JSON with score, decision, candidate name, 3–4 sentence summary, and top 5 skills ⚙️ Parse & Route → a Code node cleans Gemini's response, extracts candidate email from the IMAP from field, and passes the binary CV forward 🔀 IF Decision → routes shortlisted candidates to the true branch and rejected to the false branch 📧 HR Email → HR receives a branded email with the AI score, candidate summary, key skills, and the original CV attached 📧 Interview Invite → shortlisted candidate receives a professional invitation with a scheduling link and "What to Expect" section 📧 Polite Decline → rejected candidate receives a warm, empathetic decline with a link to your careers page 🛠️ Setup Instructions Step 1 - Credentials Required You need to set up 4 credentials in n8n: | Credential | Node Used | Where to Get It | |---|---|---| | IMAP account | Email Trigger | Your email provider settings (Gmail: use App Password) | | Mistral Cloud API | OCR Extraction | Mistral AI Studio → API Keys | | Google Gemini (PaLM) API | AI Scoring | Google AI Studio → Get API Key | | SMTP account | All 3 email nodes | Your email provider SMTP settings | > 💡 Gmail users: Enable 2FA and generate an App Password for both IMAP and SMTP. Use imap.gmail.com:993 and smtp.gmail.com:587. Step 2 - Update Email Addresses In all 3 Send Email nodes, replace the placeholder emails: fromEmail → your sending address (e.g. [email protected]) toEmail in the HR node → your HR team's inbox The candidate email fields are already dynamic ({{ $json.candidate_email }}) Step 3 - Add Your Job Description Open the 🤖 AI Score CV (Gemini) node and replace the JOB DESCRIPTION: section in the prompt with your actual role requirements. The current template uses an AI Engineer JD from AppStoneLab as a working example. Step 4 - Add Your Interview Scheduling Link In the 📧 Send Interview Invite to Candidate node, find YOUR_CALENDLY_OR_CAL_LINK_HERE in the HTML and replace it with your actual booking link (Calendly, Cal.com, TidyCal, etc.). How to Customize for Your Use Case | What to Change | Where | Example | |---|---|---| | Job description | Gemini node prompt | Swap in your own role requirements | | Scoring threshold | IF node condition | Change "shortlisted" to score-based logic e.g. score >= 70 | | Company name & branding | All 3 HTML email templates | Replace "AppStoneLab Technologies" with your company | | Careers page URL | Decline email HTML | Replace appstonelab.com/career with your URL | | AI model | Gemini node | Switch to gemini-3-flash-preview or gemini-3.1-pro-preview for different speed/quality | | Watched mailbox | IMAP trigger | Change INBOX to a dedicated folder like INBOX.careers | | Interview questions | Invite email HTML | Add/edit the "What to Expect" section steps | API Keys — Quick Links Mistral AI → Mistral AI Studio - Free tier includes OCR. Pricing: $1 per 1,000 pages for mistral-ocr-latest Google Gemini → Google AI Studio - Free tier available. gemini-3-flash-preview is fast and cheap for production Gmail App Password → Google App Passwords n8n IMAP docs → docs.n8n.io/integrations/core-nodes/n8n-nodes-base.emailimap n8n SMTP docs → docs.n8n.io/integrations/core-nodes/n8n-nodes-base.sendemail Important Notes The IMAP Format field must be set to Resolved (not Simple) - this is required for binary attachment data to flow correctly through the workflow The Code node carries the binary CV attachment forward from the IMAP trigger to the HR email node. If you add new nodes between them, make sure binary passthrough is preserved Mistral OCR works on both text-based and scanned/image PDFs, making it more reliable than n8n's built-in Extract from File node The workflow uses the from.value0].address path to extract the candidate's email from the IMAP trigger output - this is the correct path for the Resolved format 💬 Questions or Issues? Drop a comment on this template or reach out on the [n8n community forum. Happy to help you adapt this for your specific hiring use case.

Popular ways to use the Mistral AI and OpenCTI integration

Build your own Mistral AI and OpenCTI integration

Create custom Mistral AI and OpenCTI workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Mistral AI supported actions

Supported methods for OpenCTI

Delete
Get
Head
Options
Patch
Post
Put

To set up OpenCTI integration, add the HTTP Request node to your workflow canvas and authenticate it using a predefined credential type. This allows you to perform custom operations, without additional authentication setup. The HTTP Request node makes custom API calls to OpenCTI to query the data you need using the URLs you provide.

Requires additional credentials set up

Use n8n's HTTP Request node with a predefined or generic credential type to make custom API calls.

Mistral AI and OpenCTI integration details

Mistral AI

Mistral AI

Mistral AI develops high-performance, open‑source large‑language models that are efficient and customizable. Their flagship offerings power “Le Chat,” a conversational AI app (web/mobile) with features like web search, image generation, OCR and enterprise integrations, all usable via API or on‑premises.

OpenCTI

OpenCTI

OpenCTI is an open-source platform designed for cyber threat intelligence management. It facilitates the collection, analysis, and sharing of threat intelligence data, helping organizations proactively defend against cyber threats by providing insights into vulnerabilities, indicators of compromise, and attacker tactics.

The SOAR platform you want

Mountains of monotonous tasks make building and monitoring your workflows a chore. Not anymore.

Learn more

FAQ about Mistral AI integrations

Looking to integrate Slack and VirusTotal in your company?

Three colleagues talking around laptops at a shared desk

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Mistral AI with OpenCTI

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship

Man in a brown jacket working at his desk by a window