Skip to main content
Answered

Passing arbitrary data in conversation custom_attributes doens't work

  • July 4, 2022
  • 1 reply
  • 68 views

Hey there, I want to pass arbitrary data as custom_attributes to conversations. The update conversation endpoint succeeds but the data is not returned from the retrieve endpoint. Do you know why? Is this property working and if how? Is arbitrary data even allowed or do I have to define this data upfront?

Best answer by Evan P

Hey @user2226​, 👋 thanks for reaching out! I'm one of the Support Engineers here @ Intercom! 👍

 

It isn't possible to just pass over arbitrary conversation custom attributes, these need to be predefined in your conversation data settings here and you will also need to comply with the current data type you have picked.

 

So if the type of that attribute is a string, you will not be able to pass over a number. For your picklist fields you will need to chose a value which already exists, etc. I hope this helps clarify, let me know if you have any questions. 🙌

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

1 reply

  • Active User
  • 32 replies
  • Answer
  • July 7, 2022

Hey @user2226​, 👋 thanks for reaching out! I'm one of the Support Engineers here @ Intercom! 👍

 

It isn't possible to just pass over arbitrary conversation custom attributes, these need to be predefined in your conversation data settings here and you will also need to comply with the current data type you have picked.

 

So if the type of that attribute is a string, you will not be able to pass over a number. For your picklist fields you will need to chose a value which already exists, etc. I hope this helps clarify, let me know if you have any questions. 🙌


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