---
title: MistralAI node documentation
description: >-
Learn how to use the Mistral AI node in n8n. Follow technical documentation to
integrate Mistral AI node into your workflows.
contentType:
- integration
- reference
nodeTitle: MistralAI node documentation
originalFilePath: integrations/builtin/app-nodes/n8n-nodes-base.mistralai.md
originalUrl: 'https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mistralai'
url: 'https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mistralai'
layout:
description:
visible: false
---
# Mistral AI node
Use the Mistral AI node to automate work in Mistral AI and integrate Mistral AI with other applications. n8n has built-in support for extracting text with various models, file types, and input methods.
On this page, you'll find a list of operations the Mistral AI node supports, and links to more resources.
{% hint style="info" %}
**Credentials**
Refer to the [Mistral Cloud credentials documentation](../credentials/mistral.md) for authentication information for this node.
{% endhint %}
## Node parameters
* **Resource**: The resource that Mistral AI should operate on. The current implementation supports the "Document" resource.
* **Operation**: The operation to perform:
* **Extract Text**: Extracts text from a document or image using optical character recognition (OCR).
* **Model**: The model to use for the given operation. The current version requires the `mistral-ocr-latest` model.
* **Document Type**: The document format to process. Can be "Document" or "Image".
* **Input Type**: How to input the document:
* **Binary Data**: Pass the document to this node as a binary field.
* **URL**: Fetch the document from a given URL.
* **Input Binary Field**: When using the "Binary Data" input type, defines the name of the input binary field containing the file.
* **URL**: When using the "URL" input type, the URL of the document or image to process.
## Node options
* **Enable Batch Processing**: Whether to process multiple documents in the same API call. This may reduce your costs by bundling requests.
* **Batch Size**: When using "Enable Batch Processing", sets the maximum number of documents to process per batch.
* **Delete Files After Processing**: When using "Enable Batch Processing", whether to delete the files from Mistral Cloud after processing.
## Templates and examples
[Browse MistralAI node documentation integration templates](https://n8n.io/integrations/mistral-ai) or [search all templates](https://n8n.io/workflows/)
## Related resources
Refer to [Mistral AI's documentation](https://docs.mistral.ai/api/) for more information about the service.
{% include "https://app.gitbook.com/s/GixZThfitWP21x2gQFpD/~/reusable/96ifDzfcUuwOyYrubZUt/" %}