Skip to main content

I need a little bit of help.

I’m trying to create a simple automation, Ticket Raised ==> Check Condition ==> Trigger webhook to update the same raised ticket.

But I can’t make it work with placeholders on the callback URL:

If I fix a ticket to the url, i.e.: https://xyz.freshservice.com/api/v2/tickets/74168 it works but when I use a placeholder to use the ticket id from the first step  https://xyz.freshservice.com/api/v2/tickets/{{ticket.id}} then it fails!

Not sure why, because no information is available in the log.

Do I need to declare a variable form the incoming data and then put that variable in the call back url?

Many thanks,

 

 

 

Just found that the issue was {{ticket.id}}, that one returns a non numeric value, i.e.: INC-123 or SR-456, the correct one to use is {{ticket.id_numeric}}


Reply