Skip to main content
Answered

How can i create a custom attribute on a contact?

  • June 30, 2021
  • 1 reply
  • 1048 views

I am using the Ruby API and the following code gets an error:

" (Custom attribute 'kamil_attribute_console' does not exist)"

 

user_id = 1 intercom_query = intercom.contacts.search('query': {'field': 'external_id', 'operator': '=', 'value': "#{user_id}"}) contact = intercom_query.first contact.custom_attributes = {"kamil_attribute" => "here-iam-update-me"} intercom.contacts.save(contact)

 

 

Best answer by Roy

Hello @kamil c​ ,

 

To create contact attribute, go to Intercom Settings -> WorkspaceName Data -> People data -> Click on "Create attribute" button.

 

attribute 

attribute-2 

I hope this will be helpful, let me know if you have any further questions about this topic.

View original

Forum|alt.badge.img+5
  • Expert User
  • July 1, 2021

Hello @kamil c​ ,

 

To create contact attribute, go to Intercom Settings -> WorkspaceName Data -> People data -> Click on "Create attribute" button.

 

attribute 

attribute-2 

I hope this will be helpful, let me know if you have any further questions about this topic.


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