I am creating a workflow from a service request.
The service request raises a ticket in my department’s workspace.
A second step (w1) creates a new ticket using a web request (using the tickets endpoint) based on selected information from the service request.
The next web request step (w9) should move this ticket to a different department’s workspace using the move_workspace endpoint.
I need to pass the ticket ID created in w1 into the move_workspace API call. However, I cannot get the referencing correct.
I assumed that {{w1.response_body.ticket.id}} would return the correct value, however this is blank.
I can return the whole {{w1.response_body}} as one block, and I have tried using the expression builder to extract the ID value using a combination of subString and indexOf expressions without success.
I also tried using the JSON parser as a mid-step, however the $.ticket.id value simply references the original ticket created by the service request.
Liquid filters looked promising but have had no success.
Each step of the workflow works perfectly in isolation, I simply need a way of putting the ticket ID from the middle step into the final move_workspace API call.
Question
Extracting ticket ID from response_body
Join the Community
Already have an account? Login
Welcome back to Freshworks Community
No account yet? Create an account
Social Login
Login for Freshworks Employees Login with LinkedInor sign up below
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

