When a customer sends an SMS, if Message.IsNewConversation our Flow is parsing the Message.Message.body and routing to an appropriate Queue (Billing Queue if message contains 'bill'). For subsequent messages however, when Message.IsNewConversation is false, what is the simplest way to route the message to the Queue it hit when the first message was sent?
One option I'm looking at is creating a Data Action that takes the Conversation ID and hits the "api/v2/analytics/conversations/{{convo_id}}/details" and parsing this to get the Queue information. Is there an easier way?
I don't know if there are other ways than the following (just thought about it, as I'm not practicing Message a lot) but it should make things easier (and avoid putting load on the Platform API via the Data Action).
What you could do is the following:
On the first Architect Flow trigger (Message.IsNewConversation == true), once you have chosen what Queue should be targeted, you could attach the Queue Name or QueueId (as string) as a Participant Data, using Set Participant Data action (like "MySelectedQueue")
Then on next Architect Flow triggers (Message.IsNewConversation == false), you could retrieve the selected queue name from the Participant Data , using Get Participant Data action (as the conversation remains the same, these data are preserved). And then convert the retrieved queue name or id (from the participant data "MySelectedQueue") into a Queue object that you can use in your Transfer to ACD action (using an expression function like FindQueue(the queue name) or FindQueueById(the queue id)).