Cloud 2.47.5: Data Table atomicity and Gateway request controls

I am evaluating the documented behaviour of built-in nodes before implementing a small, controlled model test.

Environment and observed state

  • n8n Cloud free trial; instance version 2.47.5.
  • Standard Data Table node 1.1 and OpenAI main node 2.3; selected model label shown in the UI: GPT-6-LUNA.
  • A saved inspection draft contains two unconnected nodes. No workflow or model request has been executed during this inspection.
  • The OpenAI UI shows Resource “Text”, Operation “Message a Model”, canvas subtitle “Response Text”, and the existing “Gateway credits” selection. Retry On Fail is off.

1. Atomic reservation with the Data Table node

If a control row were created before testing, could Update apply built-in row ID, expected revision and expected state together with All Conditions, and atomically change the state and revision only if all conditions still match?

Which documented output reliably distinguishes zero from one committed row modification under concurrent attempts? Does the implementation select and update separately, or provide a compare-and-set/transaction guarantee? Please identify the applicable release, implementation or documented Cloud restrictions.

I found the existing discussion How do you handle the atomic claim for webhook duplicates?. The Data Table behaviour for this version remains unclear to me.

2. Actual model attempts through the managed Gateway

Which stored operation/API endpoint corresponds to the OpenAI UI labels above in main-node version 2.3? For that route, can the node, HTTP transport, SDK or Gateway retry, fail over or submit another generation attempt when a response is lost or times out? Which supported controls and documentation establish at most one actual model attempt per admitted question, including attempts whose outcome is unknown?

The proposed test requires at most five attempts in total, with at most 4096 complete input tokens and 512 total output tokens, including reasoning, per attempt. Which exact fields enforce these token limits? The intended profile also uses reasoning=none and Store=false; the inspected reasoning selector offered Low, Medium and High. Is the intended profile supported by this exact main-node/Gateway/model route? An ambiguous result must consume its reserved attempt without replay.

3. Stop and cancellation

With Background mode off, what are the separate documented effects of workflow Stop, workflow timeout and a request-path timeout on model work already accepted through the Gateway? Is connection cancellation propagated to the provider?

A required property of the proposed design is that no new dispatch can begin after a confirmed effective barrier. This control has not been implemented or verified. Are there supported existing controls for this property, and how can queued, running and already accepted work be reconciled after a stop?

I have read the Data Table row-operation, concurrency, publishing and Gateway-credit documentation. I understand that in-flight requests can outlive the remaining Gateway balance and that the public API is unavailable in the Cloud trial. This question concerns the built-in-node route.

This is a request for version-specific behaviour and documentation. No runtime error has been reproduced. Official references or a maintainer clarification would help determine whether this route fits the proposed controls.

Hey @AI_Ternion, while you wait for a response, here are some things that might help:

Suggested resources

Automatically matched to your question.

Docs:

Forum:

@Emmas, @achamm, @bridgewaretech - you’ve helped with similar issues before, can you take a look?

Automatically suggested by n8n’s community bot. It’s a pilot - please share feedback here.

Hi @AI_Ternion, I’d keep the test unexecuted if five actual model attempts is a hard ceiling. The 2.47.5 source answers the row-update question, but I couldn’t find a managed Gateway guarantee that bounds provider attempts after a lost response.

1. Data Table reservation. Yes, for a pre-created row you can use Update → All Conditions with id = rowId, revision = expectedRevision and state = ready, then set state = reserved and revision = expectedRevision + 1 in that same Update. The backend applies all three predicates to the UPDATE inside a transaction.

On PostgreSQL it uses UPDATE … WHERE … RETURNING. With one input item, Dry Run off, Always Output Data off and normal error handling, a successful node execution emits one updated row for the winner and zero items for a miss. Check the returned ID and new revision before dispatch. An execution error is a third outcome: the transaction can commit before a later step reports an error.

The SQLite path preselects matching IDs, applies the filtered UPDATE, then reads those IDs back inside the transaction. The node exposes returned rows, with no separate affected-row count. I’d ask n8n to confirm the backend used for your trial before relying on the PostgreSQL result contract.

2. Gateway attempts and tokens. In OpenAI node 2.3, Text → Message a Model stores resource: text, operation: response. It sends POST /responses relative to the Gateway credential’s base URL through n8n’s authenticated HTTP helper. OpenAI SDK retry defaults therefore don’t govern this call. With one input item and no tools, the operation issues one initial POST. A connected function tool can cause another generation POST. I found no timeout-retry loop in this operation or automatic credential-refresh replay for the stock OpenAI credential.

Maximum Number of Tokens = 512 sends max_output_tokens: 512, which includes visible output and reasoning tokens per response. Store = off sends store: false. This operation has no field for a 4,096-token complete-input ceiling. Enforcing that would require counting the complete model input before dispatch and rejecting anything over budget. The Effort selector exposes Low, Medium and High. Omitting it leaves the model default in effect, so the inspected UI cannot explicitly request reasoning.effort: none.

Retry On Fail off controls n8n’s node retry. I couldn’t find a published Gateway commitment covering upstream retries, failover or deduplication after an ambiguous timeout. Five reservations can bound admissions. Establishing five actual generations also requires that Gateway commitment. Keep an ambiguous reservation spent and never replay it.

3. Stop and cancellation. Stop requests cancellation of the selected n8n execution. Workflow timeout requests cancellation when its deadline expires. A request-path timeout tells you the caller stopped waiting. With Background off, OpenAI documents closing the provider connection as the way to cancel a synchronous response. The node doesn’t pass its execution cancel signal into the initial POST, and I found no documentation promising that the Gateway closes its provider connection when n8n stops.

A reservation and the later POST are separate steps. A run can reserve before Stop and reach dispatch afterwards. For a confirmed barrier, the component that actually sends requests would need to close admission and acknowledge that no pending sender can start another POST. I found no such control on these two nodes. For reconciliation, identify queued executions and stop them, inspect running executions against their reservations, and keep every possibly dispatched request charged to the budget. Where the response was lost, Gateway-side attempt records are the missing evidence.