Resetting Reference Attribute on a conversation | Community
Skip to main content
Answered

Resetting Reference Attribute on a conversation

  • Jul 17, 2023 10:51 PM UTC
  • 3 replies
  • 440 views

We are observing that within one bot flow, when we set an attribute value on a reference attribute there is way to reset it. If we continue on the same flow, and bring the customer back to first option, it keeps on appending the values selected by the customers. Anyone have any luck resetting the attributes within same conversation ?

Best answer by Racheal

Hey @Sunil Ramachandra Racheal from the support engineer team here👋 

 

It looks like you were working with my teammate Sean on this. Just to recap what he said, if you wish to reset the custom object values, you would need to create a new API request that returns a null value, which you can then assign to the custom object.

View original

3 replies

Larissa Alberti
Intercom Team
Forum|alt.badge.img+4

Hey @Kevin Bendixen @Milan @Sam, wondering if you can share your experience here 👋🏻


Racheal
Intercom Team
Forum|alt.badge.img+7
  • Customer Support Engineer
  • Answer
  • Jul 31, 2023 9:54 PM UTC

Hey @Sunil Ramachandra Racheal from the support engineer team here👋 

 

It looks like you were working with my teammate Sean on this. Just to recap what he said, if you wish to reset the custom object values, you would need to create a new API request that returns a null value, which you can then assign to the custom object.


Hey, 
I found this thread while encountering the same issue with a flow I am building.

I could now understand how to I reset a referenced attributes. I created a customer action that returns `null`, but in the response mapping I could not map the wanted attributes to the response (it seems as if all the null attributes are being stripped out from my response).

Can you please describe what should I do in order to make this work?