Special characters

In Automation, actions that accept text, such as changing the description of a card, posting a comment, or sending an email notification, you can enter newline characters by using the \n notation.

Example:

when a card is moved to list "Done" by anyone, set the card's description to "Completed by: {username} \n Completed On: {date}"

screenshot_DescriptionCard

Note: If you want to enter \n as text in your automation and don't want to transform it to a newline character, "escape" it like this: \\n.

To separate the lines, use the double newline notation \n\n. It will break the text into a separate line, similar to pressing the Enter key when editing the card's description. This notation is necessary because Trello uses markdown formatting, which requires introducing an empty line to separate the lines. 

Example:

when a card is moved to list "Done" by anyone, set the card's description to "Completed by: {username} \n\n Completed On: {date}"

screeshot_CardDescriptionExtraEnter

Still need help?

The Atlassian Community is here for you.