n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
45.49k stars 6.25k forks source link

webhook pinned data is shown in already executed workflow #10505

Closed lucalamo closed 2 days ago

lucalamo commented 3 weeks ago

Bug Description

i've pinned some data in editor mode in the trigger workflow image

Then in the saved workflow the webhook node show the right data passed via postman but in any next node, it show the pinned data

image image

To Reproduce

{ "meta": { "instanceId": "2dfd12ee6c242e44e758a59efc40883b1fdf080a10bf3300a00c76f076aa13d1" }, "nodes": [ { "parameters": { "conditions": { "options": { "caseSensitive": true, "leftValue": "", "typeValidation": "strict" }, "conditions": [ { "id": "d57f1875-acd9-43e9-a543-8c0eb0167fe2", "leftValue": "={{ $json.body.sku }}", "rightValue": "5", "operator": { "type": "string", "operation": "equals", "name": "filter.operator.equals" } } ], "combinator": "and" }, "options": {} }, "id": "8e30b318-a305-45e2-8889-e860441b9653", "name": "Filter", "type": "n8n-nodes-base.filter", "typeVersion": 2, "position": [ 1080, 360 ] }, { "parameters": { "respondWith": "allIncomingItems", "options": {} }, "id": "1146fd0e-85e0-4d2e-83dd-4c3f1073cdca", "name": "Respond to Webhook", "type": "n8n-nodes-base.respondToWebhook", "typeVersion": 1.1, "position": [ 1300, 360 ] }, { "parameters": { "httpMethod": "POST", "path": "test", "responseMode": "responseNode", "options": {} }, "id": "0aab294f-9409-4ba8-84da-68ffaa3d6eee", "name": "Webhook", "type": "n8n-nodes-base.webhook", "typeVersion": 2, "position": [ 860, 360 ], "webhookId": "6421c882-3986-45aa-9fb2-c0efa219e98b" } ], "connections": { "Filter": { "main": [ [ { "node": "Respond to Webhook", "type": "main", "index": 0 } ] ] }, "Webhook": { "main": [ [ { "node": "Filter", "type": "main", "index": 0 } ] ] } }, "pinData": { "Webhook": [ { "headers": { "connection": "Upgrade", "content-length": "26", "content-type": "application/json", "user-agent": "PostmanRuntime/7.37.3", "accept": "/", "accept-encoding": "gzip, deflate, br" }, "params": {}, "query": {}, "body": { "sku": "827934423039" }, "executionMode": "production" } ] } }

Expected behavior

in the saved workflow all node show the passed data and not the pinned one

Operating System

ubuntu 22.04

n8n Version

1.55.2

Node.js Version

18.17.1

Database

PostgreSQL

Execution mode

main (default)

Joffcom commented 3 weeks ago

Hey @lucalamo,

We have created an internal ticket to look into this which we will be tracking as "GHC-179"

lucalamo commented 3 weeks ago

sorry my n8n Version is 1.54.4 not 1.55.2

lucalamo commented 3 weeks ago

same problem n8n version 1.55.3

Joffcom commented 2 weeks ago

Hey @lucalamo,

At the moment I expect that to be the case, Once fixed we will pop an update on here to let you know.

iEvolutionPro commented 6 days ago

same problem here on v1.50.1

nik8n commented 4 days ago

Hey all. The bug should be resolved on 1.58. Can you confirm?

Joffcom commented 2 days ago

Closing the issue for now, if it is still happening let us know and we can open it again.