# The source data contains several items, but the items are trimmed in the workflow

**URL:** <https://community.n8n.io/t/the-source-data-contains-several-items-but-the-items-are-trimmed-in-the-workflow/63948>\
**Category:** Questions\
**Tags:** workflow-building\
**Created:** [December 4, 2024, 2:51am UTC](https://community.n8n.io/t/the-source-data-contains-several-items-but-the-items-are-trimmed-in-the-workflow/63948 "2024-12-04T02:51:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![y2kbug](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/y2kbug/32/49123_2.png) [@y2kbug](https://community.n8n.io/u/y2kbug)\
**Post date:** [December 4, 2024, 2:51am UTC](https://community.n8n.io/t/the-source-data-contains-several-items-but-the-items-are-trimmed-in-the-workflow/63948/1 "2024-12-04T02:51:12Z")

</div>

## Describe the problem/error/question

The source data contains several items, but the items are trimmed in the workflow.

A brief description on my workflow:

- Check Google Sheet
- If the Sheet is empty, fill it with data from Strapi
- If the Sheet is not empty, check every row
- If documentId exist on a row, skip the row
- If documentId does not exist, GET from Strapi, and fill the documentId if any
- If it does not exist on Strapi, POST to Strapi, and fill the documentId

## What is the error message (if any)?

(N/A)

## Please share your workflow

## Share the output returned by the last node

There are 7 items from the very beginning, but there are only 2 `console.log()`.

 ![Screenshot From 2024-12-04 10-43-54](https://europe1.discourse-cdn.com/n8n/original/3X/6/6/66095803f77a832da5d11b337f8dc17b8d584889.png)

## Information on your n8n setup

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

---

<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 4, 2024, 2:51am UTC](https://community.n8n.io/t/the-source-data-contains-several-items-but-the-items-are-trimmed-in-the-workflow/63948/2 "2024-12-04T02:51:13Z")

</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:** ![y2kbug](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/y2kbug/32/49123_2.png) [@y2kbug](https://community.n8n.io/u/y2kbug)\
**Post date:** [December 5, 2024, 6:41am UTC](https://community.n8n.io/t/the-source-data-contains-several-items-but-the-items-are-trimmed-in-the-workflow/63948/3 "2024-12-05T06:41:41Z")

</div>

> [@y2kbug](#):
>
> - **n8n version:** 1.69.2
> - **Database (default: SQLite):** PgSQL
> - **n8n EXECUTIONS\_PROCESS setting (default: own, main):**???
> - **Running n8n via (Docker, npm, n8n cloud, desktop app):** Docker
> - **Operating system:** Ubuntu

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

---

<div class="post-metadata">

**Author:** ![ihortom](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ihortom/32/11473_2.png) [@ihortom](https://community.n8n.io/u/ihortom)\
**Post date:** [December 9, 2024, 11:12pm UTC](https://community.n8n.io/t/the-source-data-contains-several-items-but-the-items-are-trimmed-in-the-workflow/63948/4 "2024-12-09T23:12:56Z")

</div>

Hey @y2kbug , your interpretation of the output is not valid. Yu might notice that “Debug” node has number “2” depicted on the node’s surface. That means it ran twice - two iterations (as the dta came in from two separate inputs) where as all the other nodes ran only once. If you check the number of items for each iteration, they should add up.

Here is just an example how iterations looks like when there is more than one.

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/1/7/17a97333d402e0a8394db1d1be7917ed25c1ba67.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 9, 2025, 11:13pm UTC](https://community.n8n.io/t/the-source-data-contains-several-items-but-the-items-are-trimmed-in-the-workflow/63948/5 "2025-03-09T23:13:12Z")

</div>

Closed on March 9, 2025, 11:13pm UTC

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