n8n integration
Hello,
I am having a persistent authorization issue while trying to connect to the Invoice OCR API from my n8n.cloud workflow.
I have already:
Confirmed that the "Invoice OCR" model is active in my Mindee dashboard.
Generated a brand new, clean API key from the "API keys" section of my account.
Copied this new API key and created a new credential in the official Mindee node in n8n. The node is configured correctly to predict an invoice from a binary file (attachment_0 from a Gmail trigger).
Despite these steps, I consistently receive a 401 Unauthorized error with the message "Invalid token provided" every time I execute the node. I have tried generating multiple new keys, and the result is always the same.
Log in to comment and vote
Comments15
Ianaré Sévi
Aug 5, 2025
Hi,
Thank you for the details.
Just to confirm, are you generating the API key here:
https://app.mindee.com/api-keys
If so, make sure you’re using the v2 API as documented here:
https://docs.mindee.com/integrations/api-reference
Thank you
Biuro SARCO
Aug 5, 2025
Thanks, that’s very helpful.
I can only choose from version 1, 3 or 4
Ianaré Sévi
Aug 5, 2025
Not sure I understand, can you provide a screenshot please?
Biuro SARCO
Aug 7, 2025
I also tried with HTTP node but the authorization is still failing
Radim Stráník
Aug 6, 2025
Hi, I have exactly same problem. I dont know where I can set v2 API?
Ianaré Sévi
Aug 18, 2025
Hi all, we are currently working on adding N8N integration.
In the meantime you can try to use the webhook method on Mindee and N8N:
https://docs.mindee.com/integrations/api-overview/webhooks
https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook/
Ianaré Sévi
Aug 20, 2025
Hi all,
We’re in the process of updating our official n8n node. However this will take some time.
In the meantime, we’ve published a sample workflow you can use with only basic configuration needed.
Details and instructions here:
https://docs.mindee.com/integrations/no-code-integrations/n8n-workflows
Mark Brooks
Aug 28, 2025
•Merged request
•1 vote
Using Mindee Model From n8n
How do we configure n8n HTTP node to utilise a model created in Mindee. We are unable to locate any documentation that appears to be current.
Ianaré Sévi
Jul 31, 2025
Hi Mark,
You can use the API reference to configure the n8n HTTP node:
https://docs.mindee.com/integrations/api-reference
Hope this helps
Mark Brooks
Jul 31, 2025
Thanks for this @Ianaré Sévihowever this only appears to be asynchronous? We require synchronous.
Ianaré Sévi
Jul 31, 2025
Correct, there is no synchronous API in the new version.
You can use the webhook method and n8n’s webhook node.
https://docs.mindee.com/integrations/api-overview/webhooks
https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.webhook/