Lines breaks in send message to user action
RespondidaHi all,
I'm trying to set up a basic trigger to send a first message to a customer who has opened a chat. In this message I want to have a couple of line breaks. I don't think I can get this in the visual but if I use developer, can I somehow code it into the message?
Rgds,
Charlotte
-
Charlotte,
You are correct that this can be done using the developer editor, rather than the visual editor, by simply using the newline code "\n".
However, doing it in this way is very fragile: if you ever open the trigger for editing, all "encoded" characters such as newline "\n" will be stripped out.
An alternative approach would be to use multiple "Send message to visitor" actions within the Visual editor.
The following page goes into more detail and provides some helpful screenshots:
Por favor, entrar para comentar.
1 Comentários