# Return only the first matching row does not work

**URL:** <https://community.n8n.io/t/return-only-the-first-matching-row-does-not-work/64757>\
**Category:** Questions\
**Tags:** data-transformation\
**Created:** [December 10, 2024, 1:29pm UTC](https://community.n8n.io/t/return-only-the-first-matching-row-does-not-work/64757 "2024-12-10T13:29:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vasislav](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/vasislav/32/43906_2.png) [@Vasislav](https://community.n8n.io/u/Vasislav)\
**Post date:** [December 10, 2024, 1:29pm UTC](https://community.n8n.io/t/return-only-the-first-matching-row-does-not-work/64757/1 "2024-12-10T13:29:14Z")

</div>

I want to get only 1 row at the time, but I’m not sure how to set it up.

I want to get only 1 matching row because all the links go thought the Apify it might overload the server. Or maybe there is a way to que the results so they go trough the rest of the workflow 1 by one with 1 min delay.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/4/c/4c7e4360614adc065052a3e427386400388c23cd.png)

I would appreciate the help!

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [December 10, 2024, 1:29pm UTC](https://community.n8n.io/t/return-only-the-first-matching-row-does-not-work/64757/2 "2024-12-10T13:29:15Z")

</div>

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

---

<div class="post-metadata">

**Author:** ![Joe0x01](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@Joe0x01](https://community.n8n.io/u/Joe0x01)\
**Post date:** [December 10, 2024, 1:43pm UTC](https://community.n8n.io/t/return-only-the-first-matching-row-does-not-work/64757/3 "2024-12-10T13:43:33Z")

</div>

I am not sure about the Google Sheets Node options about limiting to one row.

But you can use the separate “Limit” node, which will only continue working with one result of the connected node.

In my case i had a SQL return two rows sometimes. So i used limit to just beat the problem with N8n.

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

---

<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 10, 2025, 1:44pm UTC](https://community.n8n.io/t/return-only-the-first-matching-row-does-not-work/64757/4 "2025-03-10T13:44:11Z")

</div>

Closed on March 10, 2025, 1:44pm UTC

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