Answered

Passing arbitrary data in conversation custom_attributes doens't work

  • 4 July 2022
  • 1 reply
  • 40 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?

icon

Best answer by Evan P 7 July 2022, 09:48

View original

1 reply

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