Skip to main content
Answered

If we use the API for Data Attribute Model', can we able to fetch the listed attributes from the start of every conversation?


If we use this API https://developers.intercom.com/intercom-api-reference/reference#list-data-attributes can we able to fetch any of the data attributes and pass that attribute value to a variable and then that variable need to be passed on to Watson. If yes could you please provide some guides/steps to achieve this?

Best answer by Roy

Hello @anoop​ , Let me try to help you here, okay?

 

If you want to get data attributes from the conversation, you should use Retrieve a conversation API.

 

Sending GET request to https://api.intercom.io/conversations/ConversationID

Response:

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

"custom_attributes": {

    "Type": "Issue",

    "Priorty": "Low",

    "Feature": "Billing & Payments"

  },

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

Let me know if you have any other questions about the API, happy to help 🦄

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+5
  • Expert User
  • 1152 replies
  • Answer
  • February 5, 2021

Hello @anoop​ , Let me try to help you here, okay?

 

If you want to get data attributes from the conversation, you should use Retrieve a conversation API.

 

Sending GET request to https://api.intercom.io/conversations/ConversationID

Response:

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

"custom_attributes": {

    "Type": "Issue",

    "Priorty": "Low",

    "Feature": "Billing & Payments"

  },

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

Let me know if you have any other questions about the API, happy to help 🦄


  • Author
  • Connector
  • 6 replies
  • February 5, 2021

Hello @Roy ,

 

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings