Hi!
EDIT: forgot to pase the workflows with the </> button
I ran into a strange problem. I think.
I have two workflows. One watches any file added into a Google Drive folder.
I tested adding 3 files and get 3 items, each one for each file. Google Drive got them alright.
They are sent to OpenAI Message model. It uses a Call n8n Workflow Tool, which gets the 3 items, but only repeats the first item 3 times.
In the second workflow, which is to read PDF files (I’ll add another for image files), the file is downloaded, the text read, and then processed by ChatGPT. Then returns to the father workflow and records the processed data into a Google Sheets.
The problem as I stated, is that the Call n8n workflow tool repeats the first item 3 times, and not sends the other two, on their respective turn.
So, onto my Call n8n Workflow tool:
The workflow inputs are two:
id (the file id): {{ $json.id }}
file URL: {{ $json.webViewLink }}
The called workflow starts with the When Executed by Anothe Module module:
Input Data Mode: Define Using JSON Example
JSON Example:
{
“file_URL”: “”,
“id”: “”
}
They should work with three ids:
132-jPdWBT4n07tWcYote9li9zToYJkW3
1VUlyzJtP_xciAJx9r41DexATbmAGmQ3L
1F7o5Jf57YkScrYKHWhWadgqgA79rPr-K
The first id is the only one processed. Strange.
I’m copying the workflows from the Executions. The Called workflow is from an execution that should have had the second id but got the first.
Father Workflow:
Called Workflow:
Information on your n8n setup
- n8n version: 1.88.0
- Database (default: SQLite): Postgres (On Supabase)
- n8n EXECUTIONS_PROCESS setting (default: own, main): (I can’t say)
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker (On Render)
- Operating system: Windows 10