Legacy Dev Forum Posts

 View Only

Sign Up

Attributes not showing in analytics/conversations responses

  • 1.  Attributes not showing in analytics/conversations responses

    Posted 06-05-2025 19:06

    Lloyd | 2019-07-30 23:06:56 UTC | #1

    We have developed a fairly complex email routing flow using external API Calls to determine email routing behaviors.

    To assist us in following the behaviors, we have used the Set Participant Data in our flows to set attributes to log the flow behavior.

    For U.A.T. we monitored the emails using the notifications API using Queue notifications, and from here could see the attribute data.

    Example from a Queue notification

    { "TopicName": "v2.routing.queues.f0a1ddf9-4779-4b3f-a42e-9f4d7e8f8f47.conversations", "Version": "2", "EventBody": { "id": "649e1d15-42ed-4392-b9d9-e95b81f6b824", "participants": [ { "id": "90f0a6a9-3a7a-4adc-ac1a-b1c739b14269", "connectedTime": "2019-07-30T21:27:10.357Z", ... "purpose": "customer", ... "attributes": { "FlowLog1": "Testing Email Address" "FlowLog2": "Sender IS NOT from XXXXX", "FlowLog3": "Got API Token. Performing Lookup", "FlowLog4": "Lookup Success - NO MATCH", }, ...

    etc.

    Now we are in the process of going live and we are getting questions from the customer about "why did email XXX end up in queue YYYY when it should have gone to queue ZZZZ"

    My plan was to use either /api/v2/analytics/conversations/{conversationId}/details or /api/v2/analytics/conversations/details/query to retrieve the interaction details and be able to review the attributes to answer the question.

    My problem is that neither of these two inquiries are returning the attributes (The Node does not show at all in the JSON response)

    So, my question is:

    1. Is there another API call I can make to retrieve details with attributes?

    -or-

    1. Can I add additional parameters to these calls that will include the attributes in the response?

    Thank you


    anon28066628 | 2019-07-31 13:34:05 UTC | #2

    Hi Lloyd, attributes aren't returned from the Analytics service. You can find them with the Conversations service:

    GET /api/v2/conversations/{conversationId}

    Note that conversation records are not retained indefinitely in that service.


    Lloyd | 2019-07-31 20:26:10 UTC | #3

    Perfect!!. Thank you - That's working exactly as I need it to. (And thanks for the note too!)


    system | 2019-08-30 20:26:12 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 5670