I have a flow in Studio where I'm trying to loop based on workflow steps in a back-end system, and occasional prompts/input from the caller.
The HTTP request needs to be based on a parameter that varies depending on whether the previous step was a prompt with DTMF input, or whether it's just a polling request from the client (IVR) for a status update.
When I dig around using Postman via the Rest API, I can see that there is a 'transitioned_from' parameter within 'steps', but it doesn't seem that I can access that from Studio (I did try using {{steps.transitioned_from}} but it comes up blank).
Does anyone know any way that I can determine the previous widget or step within a Studio flow?