Disclaimer: If questions about n8n are not allowed here please let me know and I will close this post. Nevertheless I hope someone has an idea here.
Used Zammad version: 6.4.1-1741348581.b9a98307.jammy
Used Zammad installation type: package
Operating system: Ubuntu jammy
Browser + version: Brave / CLI
Expected behavior:
Creating a ticket via n8n triggers also a notification to the customer.
Actual behavior:
No notification to the customer is sent / error about missing recipient
Steps to reproduce the behavior:
use the n8n Zammad action to create a new ticket, select channel email, try to create ticket.
{ "error": "Sending an email without a valid recipient is not possible.", "error_human": "Sending an email without a valid recipient is not possible." }
Note
API permission for token: admin.group, ticket.agent
I just cant find where to enter the recipient. I thought this is the customer email name?
curl -X POST \
-H "Authorization: Token token=SECRET" \
-H "Content-Type: application/json" \
-d '{
"title": "New Ticket Title",
"group": "Users",
"customer": "tom@domain.my",
"article": {
"subject": "Subject of the ticket",
"body": "This is the body of the ticket.",
"type": "email",
"internal": false
}
}' \
"http://helpdesk.domain.my/api/v1/tickets"
{"error":"Sending an email without a valid recipient is not possible.","error_human":"Sending an email without a valid recipient is not possible."}%