All settings related to the text of notification templates are edited on the ALTEGIO side according to the instructions in the ALTEGIO Knowledge Base section → ALTEGIO Settings → Types of notification (link to instructions).
The service replaces the SMS aggregator in the ALTEGIO system, so to send notifications to WhatsApp, set the value: SMS - Always send.
Text formatting
To format notification text, follow these instructions:
Paragraphs
To divide text into paragraphs, use {{n}}:
example | result |
some text | some text |
To italicize your message, place an underscore on both sides of the text:
_text_
To bold your message, place an asterisk on both sides of the text:
*text*
To strikethrough your message, place a tilde on both sides of the text:
~text~
To monospace
your message, place three backticks on both sides of the text:
```text```
To add a bulleted list to your message, place an asterisk or hyphen and a space before each word or sentence:
* text
* text
Or
- text
- text
To add a numbered list to your message, place a number, period, and space before each line of text:
1. text
2. text
To add a quote to your message, place an angle bracket and space before the text:
> text
To add inline code to your message, place a backtick on both sides of the message:
`text`
Additional features
To add an image to a notification template, add {img:link} to the beginning or end of the template, where link is the link to the image. Available image formats: jpg, png, gif, svg
For example set notification text:
{img: https://i0.wp.com/www.brendanconnolly.net/wp-content/uploads/2016/02/simple.jpg?w=700} Hi! Let me explain
To send files (most image and text formats are supported, except video) as a separate message, use {file:link} in the template, where link is the link to the file.
To send a contact in a conversation, use {sendMeA} in the notification template. The contact card will be sent to the conversation, which is connected to the system.
In the example below, the message has the following text:
Hello! {sendMeA}
To send a geotag, use {geo:a,b}, where a is the latitude and b is the longitude. To get the coordinates, you need to go to maps and copy them.
In the example below, we will create a geotag for Mount Elbrus using Google Maps.
Enter the address or find the desired place/address on the map, then right-click and click on the top value with the coordinates. Then paste the copied data and get:
{geo:43.35172405539995,42.44516736502414}
After that, we add the resulting tag to the ALTEGIO template.
Emoji
To add emojis to text, use the text converter in the application. To do this, go to ALTEGIO in the Integrations → Notifications → Integrilla → Settings section and click on the block with the text Text converter for emoji support.
Enter the notification text and click on the emoji icon to add emojis to the text. After writing the text, click the Convert button and copy the resulting text directly from the field or by clicking the Copy button at the bottom of the window.
Go to ALTEGIO → Settings → Notifications → Types of notification, select the desired notification type and click Edit (pencil icon). In the SMS template drop-down list, select Your template and paste the copied text into the field that appears and click Save.