Trying to cut down on the noise in our EventBridge consumer. We get hit with every conversation.end event across the board, which is killing our processing logic. I need to filter this down to only trigger when a conversation ends in a specific queue.
I’ve checked the Genesys Cloud docs and they mention using detail-type and source, but nothing about filtering by queueId directly in the event pattern. The payload includes the queue ID under detail.queueId, but I can’t seem to match that in the rule.
Here’s the event pattern I’m trying to use:
{
"source": [
"genesys.cloud"
],
"detail-type": [
"Conversation Ended"
],
"detail": {
"queueId": [
"12345678-abcd-efgh-ijkl-1234567890ab"
]
}
}
This pattern matches zero events, even when I end a test conversation in that queue. Am I missing a field or is this not supported in the standard EventBridge filtering? Maybe I have to do the filtering in the Lambda function after the event hits? That seems inefficient.