Problem
I've previously integrated a webhook and an on-form submission for an OCR workflow without any hitches. Now, I've expanded this to include a chat trigger (start) node connected to an AI Agent.
The AI Agent is configured with an LLM, Simple Memory, and three tools to facilitate the OCR process.
These tools are straightforward REST calls to the https://api.mistral.ai endpoint:
- Submit job
- Get Status
- Retrieve OCR results
The primary issue I'm encountering is that the binary file from the chat trigger is not rendering correctly, unlike in previous workflows that used the webhook or on-form submission trigger.
Error Message:
The error message received is:
“Cannot read properties of undefined (reading ‘0’)”
The output from the upload_passport_to_mistral_ocr
node is:
Error details
Other info
n8n version 1.95.3 (Cloud)
Time 7/2/2025, 1:59:08 PM
Error cause {}
Information on your callin.io setup
- callin.io version:
1.95.3 (Cloud)