Skip to main content

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

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.


Thank you!


Reply