Can you add line breaks to SMS messages that as sent via webhook | Community
Skip to main content
Level 2
July 7, 2025
Solved

Can you add line breaks to SMS messages that as sent via webhook

  • July 7, 2025
  • 2 replies
  • 567 views

Hello

I am trying to add line breaks to SMS messages.

We’ve had a bespoke solution created to send SMS messages.

On the Marketo end, it is a webhook that sends the information to another platform. All internal systems/platforms.

The SMS values to send can be held in a Token on the program or a Person Field.  2 different webhooks have been set up that can use one or other.

Can anyone tell me if there is a way to add a line break, to the SMS messages?

I have tried using some HTML in the message, I have tried creating tokens with code. These have not worked.

I have created a token that just has spaces in, this works to some extent, but as phones can be different sizes I don’t think it will look professional.

Thank you in advance if anyone has a solution.

Best answer by Michael_Florin-2

I don't know. But I'd try this first:

https://blog.teknkl.com/dark-mkto-alleys-line-break-token/

2 replies

Michael_Florin-2
Michael_Florin-2Accepted solution
Level 10
July 7, 2025
PennyHAuthor
Level 2
July 8, 2025

I tried adding \n\n and this works