It is possible for a user to extend or start and session based on the action sent. Different actions will provide different mocked responses, which we are serving through AssignMessage policies (JSON payloads).
I have tried the ExtractVariable policy to pull sessionId and action from the URIPath. However, I’m unsure how to use those variables in a condition flow, from what it looks like I can only use the variables in a JS callout.
And this would use the session ID and action extracted from the request to set the response to the success message only when the extracted.action variable is set to “start”.