Hello,
I have just started using the self-hosted version of n8n v1.52.2. I created a workflow to connect Google Sheets to Zammad Help Desk. When new rows are added to the sheet, it will trigger the workflow. The rows contain user information requesting a communications plan for a particular area. When a request comes in, I would like for a ticket to be created. But I also want the user to be created in Zammad if that user does not exist.
Now, I did run into an unexpected issue. I initially attempted to use an IF node to create the ticket if the user exists, or to first create the user, then the ticket if the user did not already exist. However, the IF node does not pass along data from previous nodes unless the output is True. Nodes connected to the False output do not get any data from any previous node. Since I still need both outputs to pass data from the trigger node, I had to place two IF nodes and make them duplicate opposites so that the desired effect passes along the True output. This seems to work well, and tickets are being created.
But I noticed an even more unexpected problem for when the customer already exists in Zammad. The workflow gets to the end, creates the ticket, then backflows in reverse down the other path to the Create User node. Since the user already exists, it of course generates an error. So, I removed the path from Create User to Create Ticket and duplicated the Create Ticket Node, so that the 2 paths remain separate. But the workflow would still jump from the end of one path to the Create User node, even when separated.
The workflow still performs the desired task overall, but not in a clean way. Ideally, I would like to have 1 IF node, diverge to either create the user or update contact info, and then create the ticket with no backflows.
And no, I did not notice that I had misspelled “Exists” on node 2, LOL. Thank you in advance for any assistance you can provide.
Share the output returned by the last node
Information on your n8n setup
- n8n version: 1.52.2
- Database (default: SQLite): SQLite
- n8n EXECUTIONS_PROCESS setting (default: own, main): I did not define it during install, so default I guess
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: Ubuntu 24.04