Routing SMS messages by the fromAddress

Hi All,

I'm trying to find a way to check what from address is (mobile number the SMS came from) in the Inbound Message architect flow so I can determine whether to send an auto response to the this number or not.

We have a customer who is using a lead service which will send an SMS to the Genesys Cloud org, the lead services needs to receive an SMS response after every message, but for all other SMS messages from normal customers they want to only send an auto response SMS if it's a new conversation(Message.IsNewConversation)

There's no native wayt o achieve this that I can see becasue there's no message.fromaddress variable, so the only way I can think to do it is create a Data Action that takes the message.conversationID and does a get conversation and retrieves the "fromAddress": {"addressNormalized": "smsnumber"}

Has anyone done this or found a better way?

Kind Regards,
Nathan

Hi Nathan,
I believe you just need to use Message.Message.senderAddress == "+13178723000" expression in Architect Flow, for example. That number would be the number of the end customer that inbounded the message to Genesys Cloud.
Hope this helps,
Greg

Thanks Greg, that's perfect.

I was only going to a single message. in the decision, even the available variables doesn't show anything about message.message. so that's good, I'll be able to achieve what I need with this.

Greatly appreciated.
Nathan

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.