Skip to main content
Answered

I need to looping through a custom attribute that receives an JSON Object. Does intercom use any template language as liquid?

  • January 28, 2021
  • 5 replies
  • 161 views

I need to looping through a custom attribute that receives an JSON Object. Does intercom use any template language as liquid?

Best answer by Eric Fitz

I checked in with our engineers as I wasn't sure on this myself, @marcos s12​, and I'm afraid we don't support array type custom attributes. I'd like to see if I can offer you a workaround, though. When you say "fill up some email informations for a user", what do you mean by this? Could you outline for me, step by step, what you'd like to ultimately set up? What would the user experience be like?

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

5 replies

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • January 29, 2021

Hey there @marcos s12​, I'm not quite sure I understand what you're trying to achieve here. Could you outline what you're hoping to set up in a bit more detail, please?


  • Author
  • New Participant
  • 2 replies
  • January 29, 2021

I was trying to use a Custom Attribute to receive an array with some JSON objects, and I would like to iterate through this array. I realize some tools, like Customerio, offers a templatting language such as Liquid that allows us to do it. I was wondering if we have something like that on Intercom.


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • February 1, 2021

Thanks for clarifying! Can you tell me a bit more about how you're hoping to use this array? What is your end goal?


  • Author
  • New Participant
  • 2 replies
  • February 3, 2021

My end goal is to use the array items as we use custom attributes, to fill up some email informations for a user.


Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • Answer
  • February 3, 2021

I checked in with our engineers as I wasn't sure on this myself, @marcos s12​, and I'm afraid we don't support array type custom attributes. I'd like to see if I can offer you a workaround, though. When you say "fill up some email informations for a user", what do you mean by this? Could you outline for me, step by step, what you'd like to ultimately set up? What would the user experience be like?


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