Skip to content

[Feature Request]: Add "Limit to first row" option in the REST Client transform #6745

@vitorsantos-commits

Description

@vitorsantos-commits

What would you like to happen?

Current Behavior:
The REST Client transform executes a request for every single row that enters the step. While this is the intended behavior for most ETL processes, there are scenarios where a pipeline receives multiple rows but only needs to trigger a REST call once (e.g., to notify a monitoring system that the process started, or to fetch a single authentication token using the first row's context).

Requested Feature:
I would like to suggest adding a checkbox in the "General" tab of the REST Client transform named "Send only first row" (or similar).

When enabled:

The transform would process the very first row it receives.

It would execute the HTTP request for that row.

All subsequent rows would either be ignored or passed through without triggering additional API calls.

Why this is useful:

Performance: It avoids the need to use a "Sample rows" transform before every REST Client when only one call is needed.

Usability: It makes the pipeline design cleaner and more intuitive for "trigger-style" API calls.

Resource Management: Prevents accidental "API spamming" or hitting rate limits when the input stream unexpectedly contains multiple rows.

Proposed UI change:
A simple checkbox in the "General" settings of the REST Client transform.

Issue Priority

Priority: 3

Issue Component

Component: Hop Gui

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions