Caller's calls are received by an IVR menu first, and based on the selected option, their call gets routed to the corresponding extension. I set a webhook to listen to 'telephony events', so based on which extension is hit, an automated SMS is sent to the caller. Each extension has attached a different template message for each queue.
As I am handling calls for multiple clients, the cases are common but I cannot identify which queue was hit by the caller at the beginning to send the caller the right message, since the text template will change depending on the client (queue) that is trying to be contacted.