Webhook to create a new ticket when reply is received on a closed ticket

Modified on Fri, 10 Feb, 2023 at 8:35 AM

If you are looking to create a new ticket when the customer responds on a closed ticket, it can be easily achieved with the help of automation rules.

Navigate to Admin > Workflows > Automations > Tickets > Ticket Update > New Rule and set up a rule as shown in the screenshot below


Webhook format


You can customize the content further and include other ticket properties as per your business requirement. Here is a sample query that can be used to pass on ticket properties from the existing ticket to the new ticket.

{ "email": "{{ticket.from_email}}", "description": "{{ticket.latest_public_comment}}", "subject": "{{ticket.subject}}", "status": 2,  "priority": 1, "group_id":{{ticket.group_id}}, "responder_id":{{ticket.agent.id}}, "type":"{{ticket.ticket_type}}" }
Generic


Here's the link to our API documentation. For more details on webhooks, head to this article. 


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article