# Merge Node for Binary Data

**URL:** <https://community.n8n.io/t/merge-node-for-binary-data/80832>\
**Category:** Questions\
**Tags:** move-binary-data, switch\
**Created:** [February 23, 2025, 3:07am UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832 "2025-02-23T03:07:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asim\_Siddiqui](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/asim_siddiqui/32/58941_2.png) [@Asim\_Siddiqui](https://community.n8n.io/u/Asim_Siddiqui)\
**Post date:** [February 23, 2025, 3:07am UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832/1 "2025-02-23T03:07:55Z")

</div>

Hi,

What I am trying to achieve: I have this workflow where a loop runs over a number of scenes. For each scene, an image is created, sent out to my telegram for approval (if declined, it recreates the image). Once approved, the workflow proceeds to save the file.

Problems:

1. In case of image declines and subsequent rounds of image creation, all are sent to the merge node resulting in only the 1st image (declined one) saved instead of subsequently generated one (approved one).
2. On the subsquent loop cycle, the merge doesn’t refresh and simply add more images to the queue.

 ![Workflow](https://europe1.discourse-cdn.com/n8n/original/3X/e/b/ebaa9bee10d59fe5db1ee8243ad0f226413ed77e.png)

## Information on your n8n setup

- **n8n version: 1.79.3**
- **Database (default: SQLite): Postgres**
- **n8n EXECUTIONS\_PROCESS setting (default: own, main):**
- **Running n8n via (Docker, npm, n8n cloud, desktop app): Railway.app**
- **Operating system:**

---

<div class="post-metadata">

**Author:** ![Ruslan\_Yanyshyn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ruslan_yanyshyn/32/15080_2.png) [@Ruslan\_Yanyshyn](https://community.n8n.io/u/Ruslan_Yanyshyn)\
**Post date:** [February 23, 2025, 5:14am UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832/2 "2025-02-23T05:14:10Z")

</div>

Hey @Asim_Siddiqui, this happens because you’re sending the file to the `Merge node` before your approval logic, and it waits for a second input to arrive. You don’t need the `Merge node` there. If approved, just take the file from the `Convert to File node` to the `Store Image node` —if not, it won’t go down this path anyway.

---

<div class="post-metadata">

**Author:** ![Asim\_Siddiqui](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/asim_siddiqui/32/58941_2.png) [@Asim\_Siddiqui](https://community.n8n.io/u/Asim_Siddiqui)\
**Post date:** [February 23, 2025, 9:45am UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832/3 "2025-02-23T09:45:28Z")

</div>

Hi Ruslan, Can you explain it a bit more please? Thanks.

---

<div class="post-metadata">

**Author:** ![Alex\_Huang](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/alex_huang/32/59844_2.png) [@Alex\_Huang](https://community.n8n.io/u/Alex_Huang)\
**Post date:** [February 23, 2025, 10:41am UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832/4 "2025-02-23T10:41:41Z")

</div>

Hey@Asim\_Siddiqui, there is a issue in your workflow. You should just remove the Merge1 node , there is no need to add a merge node as you’ve got the approved photos by Swich1 node.

---

<div class="post-metadata">

**Author:** ![Asim\_Siddiqui](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/asim_siddiqui/32/58941_2.png) [@Asim\_Siddiqui](https://community.n8n.io/u/Asim_Siddiqui)\
**Post date:** [February 23, 2025, 11:16am UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832/5 "2025-02-23T11:16:19Z")

</div>

Hi Alex,

If I remove the Merge node, then I get the following error on the GCS node.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/9/b/9b5527056cf99fb292657b2ad272f0f967825dc1.png)

---

<div class="post-metadata">

**Author:** ![Alex\_Huang](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/alex_huang/32/59844_2.png) [@Alex\_Huang](https://community.n8n.io/u/Alex_Huang)\
**Post date:** [February 23, 2025, 11:25am UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832/6 "2025-02-23T11:25:00Z")

</div>

![image](https://europe1.discourse-cdn.com/n8n/original/3X/6/9/69b8e0ab24181284f7ca0a10e175a8c7c1949124.jpeg) can you sent you photos by Approver ?

---

<div class="post-metadata">

**Author:** ![Asim\_Siddiqui](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/asim_siddiqui/32/58941_2.png) [@Asim\_Siddiqui](https://community.n8n.io/u/Asim_Siddiqui)\
**Post date:** [February 23, 2025, 11:54am UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832/7 "2025-02-23T11:54:11Z")

</div>

Hi Alex, I dont think telegram has that option to send back a picture…

---

<div class="post-metadata">

**Author:** ![Alex\_Huang](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/alex_huang/32/59844_2.png) [@Alex\_Huang](https://community.n8n.io/u/Alex_Huang)\
**Post date:** [February 23, 2025, 11:57am UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832/8 "2025-02-23T11:57:44Z")

</div>

could you sent me this part of subworkflow to me, I’ll figure out the solution

---

<div class="post-metadata">

**Author:** ![Asim\_Siddiqui](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/asim_siddiqui/32/58941_2.png) [@Asim\_Siddiqui](https://community.n8n.io/u/Asim_Siddiqui)\
**Post date:** [February 23, 2025, 12:08pm UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832/9 "2025-02-23T12:08:21Z")

</div>

I actually changed the response\_type of the openai API to url and replaced the Move Binary node with HTTP Get node… that solved my problem. Thanks.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [March 2, 2025, 12:08pm UTC](https://community.n8n.io/t/merge-node-for-binary-data/80832/10 "2025-03-02T12:08:51Z")

</div>

Closed on March 2, 2025, 12:08pm UTC

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