I am using a POST webhook to send form data in to n8n. I will then create an organization, a user, and a ticket in Zammad based on the form data. This works just fine.
However, when the organization or the user already exists within Zammad the workflow fails.
I am trying to figure out how to use the GET organization and GET user expressions when the variables required by Zammad are ID’s and are not supplied by the form.
Flow
Webhook to GET organization (need the expression to GET)
to IF (if active = true)
to Create a ticket
IF active is false
Create Organization
Create a User
When i use a fixed ID number in GET organization it works fine but as the ID isn’t supplied by the form i am stuck as to how to query it…
Any help would be great here.
Thanks