Skip to main content

Hi - I am writing a custom Bot that needs to gather up conversation attributes that have been set via a custom bot, and send them to our system to trigger an alert.

 

It seems that the conversation_parts where these conversation attributes are being set are coming back in a "comment" conversation part without any body, and without any other structured data.

 

Is there some additional API or trick I need to use to retrieve these conversation attributes? I am assuming it is possible, right? Help!

When i checked with the team convo attributes were not yet usable via API as I was exploring similar options.

 

@eric f11​ can you confirm that?


@craig​ @satish​ you can use the unstable version of our API to access conversation attributes: https://developers.intercom.com/intercom-api-reference/v0/reference#introduction./p>

 

We're effectively beta testing these through the unstable version with a view to shipping them later this year!


@eric f11​ , I am looking for the same option, but could get the attributes values on the conversation. Have you got a solution to get the attribute values of a conversation?

 

https://www.intercom.com/changes/en/-access-conversation-data-via-intercoms-api-for-more-sophisticated-reporting-and-workflow-needs--

 


Hello @anoop​ ,

 

Yes, it's possible to get the value of the data attributes based on the conversation.

 

You should use Retrieve a conversation call:

https://api.intercom.io/conversations/ConversationID/p>

 

====================

  "custom_attributes": {

    "Type": "Issue",

    "Priorty": "Low",

    "Feature": "Billing & Payments"

  },

====================


Hello @Roy and @eric f11 (Intercom Employee)

 

I understand that using conversation ID I can get the required attributes, but my problem here is I need to get the attributes or conversation ID at the very beginning of every conversation. Could you tell me which API should I use?

 

I tried with the data attributes API model and its not returning any values. Any suggestions, please.

 

Thanks,

Anoop


Reply