Merge node drops image ID – working manually but fails in automation

I’m building a workflow that combines data from a Google Form (including a Drive image upload) with HTML generated via ChatGPT, then sends the result to a Google Apps Script to create a PDF invoice.

Manually, everything works:

  • I get the image ID correctly
  • The ChatGPT response is accurate
  • The PDF gets generated with the image

But when the process runs automatically (e.g. when triggered from the form), the image ID field becomes empty after the Merge node.

I suspect the issue is caused by the Merge node not handling data alignment properly, or maybe due to duplicate keys after renaming fields.


What is the error message (if any)?

In the image download node:

Problem in node ‘Scarica Immagine’
Bad request – please check your parameters

But only when triggered automatically. If I re-run manually, it works.

WorkFlow

Share the output returned by the last node

{
“HTML”: “… full invoice …”,
“id_immagine”: “”
}

Expected:

JSON

"id_immagine": "1-JuCLw2PqwqXkLSQxfzh7IUJ5HzEPtwf9"

Information on your n8n setup

  • n8n version: 1.102.4 (Self Hosted)
  • Database: SQLite
  • n8n EXECUTIONS_PROCESS setting: default
  • Running n8n via: Self-hosted
  • Operating system: Linux

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.