Describe the issue/error/question
I created a simple workflow, just an MQTT trigger and a HTTP request sent out. I triggered the MQTT event one time and n8n sent out 300 HTTP requests (at least my backend received 300 of these). I expect that with each click there is one HTTP request sent.
What is the error message (if any)?
Please share the workflow
{
"meta": {
"instanceId": "MY_INSTANCE_ID",
},
"nodes": [
{
"parameters": {
"topics": "THE_TOPIC",
"options": {}
},
"id": "eca628b4-6967-4c36-bd68-9be4078f7a7a",
"name": "MQTT Trigger",
"type": "n8n-nodes-base.mqttTrigger",
"typeVersion": 1,
"position": [
1140,
540
],
"credentials": {
"mqtt": {
"id": "1",
"name": "MQTT account"
}
}
},
{
"parameters": {
"method": "POST",
"url": "OUR_URL",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "{ \"team_id\": 1, \"watcher_ids\": [ 1 ], \"current_editor_id\": 1, \"title\": \"Testticket n8n\", \"is_archived\": false, \"is_public\": false, \"created_by\": 1, \"status\": 36, \"type_id\": 67 }",
"options": {}
},
"id": "11087723-661d-4663-99f1-c0eb09934535",
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [
1360,
540
],
"executeOnce": false,
"notesInFlow": false,
"credentials": {
"httpHeaderAuth": {
"id": "2",
"name": "Header Auth account"
}
}
}
],
"connections": {
"MQTT Trigger": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
}
}
Share the output returned by the last node
No output accumulated apparently (I believe n8n interprets this as a success)
Information on your n8n setup
This is in the n8n cloud