Skip to main content
Solved

How Do I Fix This?

  • September 14, 2024
  • 2 replies
  • 44 views

WebChatz Digital

I have built a sandwich shop demo.  The flow allows for the user to choose additional sandwich type meat, condiments and toppings… an example user field for sandwich meat types i tried to append in action step after quick reply button:  (The system automatically adds triple curly brackets when i try to set value as the custom field)

Set {{sandwich_type}}
to {{{sandwich_type}}}, Turkey

then next message allows user to add more meat choices and loops.  Same processes are used for condiments and toppings… allowing user to choose additional toppings or condiments.   

What i dont know how to fix is the output message summary:   This is the output of an order summary.  

Here’s your sandwich order so far, Patrick: Bread: Ciabatta Sandwich Type(s): {{cuf_11748922}}, Turkey, Ham Cheese: {{cuf_11750847}}, Provolone Condiments: {{cuf_11750596}}, Spicy Jelly, Mayo Toppings: {{cuf_11748930}}, Lettuce, Tomatoes, Pickles Drink: Bottle Water

Help with how to eliminate the {{cuf_ references in the summary?   Thank you

Best answer by Gustavo Boregio

The {{cuf_xxx}} appears when the user field value is empty.

You have 2 options to solve this:

  • Add a condition, so that if the field is empty you don't concatenate it, you just add the original value. And then once it has a value, you concatenate it.
  • You add a default value to the user field (like a "." for example).

Hope this helps.

View original

2 replies

Gustavo Boregio
Forum|alt.badge.img+6
  • Manychat Community Moderator
  • 2353 replies
  • Answer
  • September 16, 2024

The {{cuf_xxx}} appears when the user field value is empty.

You have 2 options to solve this:

  • Add a condition, so that if the field is empty you don't concatenate it, you just add the original value. And then once it has a value, you concatenate it.
  • You add a default value to the user field (like a "." for example).

Hope this helps.


WebChatz Digital

Thank you!


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