---
title: Auto-Templating
description: Learn how Auto-Templating automatically converts your text-only Viber messages into approved templates, with no changes to your integration.
---

[Skip to content](https://kb.apifon.com/auto-templating#main-content)

- [English](https://kb.apifon.com/auto-templating)
- [Ελληνικά](https://kb.apifon.com/el/auto-templating)

English

Show submenu for translations

![apifon-full-lock-up-purple-1.png\]](https://kb.apifon.com/hs-fs/hubfs/apifon-full-lock-up-purple-1.png?height=40&name=apifon-full-lock-up-purple-1.png)

Open main navigation

Close main navigation

- - [English](https://kb.apifon.com/auto-templating)
    - [Ελληνικά](https://kb.apifon.com/el/auto-templating)

  English
  
  Show submenu for translations
- [apifon.com](https://www.apifon.com/)

[apifon.com](https://www.apifon.com/)

 How can we help you today?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://kb.apifon.com/?hsLang=en)
2. [Campaigns](https://kb.apifon.com/campaigns?hsLang=en)
3. [Templates & Content](https://kb.apifon.com/campaigns?hsLang=en#templates-content)

# Auto-Templating

## In this article, you will learn how Apifon automatically converts your Transactional & OTP Viber Business messages into approved templates, with no integration changes required.

### **What is the Auto-Templating mechanism?**

Auto-Templating automatically turns your plain-text Viber messages into approved Viber Transactional or OTP templates — with no changes required to your existing API requests.

The mechanism works by recognizing recurring patterns in the text messages you send, submitting them to Rakuten Viber for approval as Transactional or OTP templates, and then automatically routing any matching messages through the approved template.

### **Why this matters**

Under Viber's transactional messaging policy, a plain-text message that would previously have been billed at the transactional rate is now only eligible for that rate if it's sent through an approved template. Rewriting your integration to build and manage templates manually takes time and engineering effort — Auto-Templating removes that work entirely: your integration keeps sending the same requests, and template creation, submission, and routing all happen behind the scenes.

#### **Scope: plain-text messages only**

Auto-Templating applies only to Viber messages that contain plain informational text with no additional elements. Messages that include buttons, images, carousels, or file attachments are classified as promotional and are not eligible for Auto-Templating — these continue to be sent through the standard sending flow.

### **How to enable Auto-Templating**

1. From the dashboard's left-hand menu, go to **Templates**.
   
   ![](https://kb.apifon.com/hs-fs/hubfs/image-png-Jul-24-2026-11-36-01-4321-AM.png?width=149&height=236&name=image-png-Jul-24-2026-11-36-01-4321-AM.png)
2. Select **Viber Templates**.
   
   ![](https://kb.apifon.com/hs-fs/hubfs/image-png-Jul-24-2026-11-51-02-3190-AM.png?width=295&height=242&name=image-png-Jul-24-2026-11-51-02-3190-AM.png)
3. At the top center of the screen, click **Settings**.
   
   ![](https://kb.apifon.com/hs-fs/hubfs/image-png-Jul-24-2026-11-52-19-1367-AM.png?width=472&height=175&name=image-png-Jul-24-2026-11-52-19-1367-AM.png)
4. The **Auto-Templating** panel will open. Click on **Auto Templating** to view its settings.
   
   ![](https://kb.apifon.com/hs-fs/hubfs/image-png-Jul-24-2026-11-54-40-4854-AM.png?width=394&height=202&name=image-png-Jul-24-2026-11-54-40-4854-AM.png)
5. Under **Sender ID**, choose which Viber sender these settings should apply to.
   
   ![](https://kb.apifon.com/hs-fs/hubfs/image-png-Jul-24-2026-11-56-28-5721-AM.png?width=462&height=133&name=image-png-Jul-24-2026-11-56-28-5721-AM.png)
6. Use the **Auto Templating** toggle to turn the feature on or off for the selected sender.
   
   ![](https://kb.apifon.com/hs-fs/hubfs/image-png-Jul-24-2026-11-57-11-9152-AM.png?width=512&height=145&name=image-png-Jul-24-2026-11-57-11-9152-AM.png)

#### **Optional: HOLD**

If you'd like matching messages to wait briefly for template approval rather than sending immediately, enable **HOLD**. This parks a text-only message for up to a specified duration while the corresponding template is created and reviewed. As soon as the template is approved, the message is sent automatically. HOLD applies only to non-scheduled messages — scheduled messages already benefit from a waiting period by design.

![](https://kb.apifon.com/hs-fs/hubfs/image-png-Jul-24-2026-11-58-17-4085-AM.png?width=471&height=197&name=image-png-Jul-24-2026-11-58-17-4085-AM.png)

You can set the **HOLD** duration anywhere from 5 minutes (recommended) up to 1 hour using the slider.

#### **No template available**

This setting determines what happens to a message if no matching approved template exists by the time the message must be sent:

- **Send (promotional):** the message is sent at the promotional rate.
- **Do not send (reject):** the message is not sent.

![](https://kb.apifon.com/hs-fs/hubfs/image-png-Jul-24-2026-12-01-27-0417-PM.png?width=497&height=136&name=image-png-Jul-24-2026-12-01-27-0417-PM.png)

#### **Template tags**

Template tags are fixed pieces of text automatically added to every auto-generated template to improve compliance with Rakuten Viber's template approval requirements.

You can configure both a **Prefix** and a **Suffix**, each with a maximum length of **50 characters**.

![](https://kb.apifon.com/hs-fs/hubfs/image-png-Jul-24-2026-12-02-10-0343-PM.png?width=404&height=188&name=image-png-Jul-24-2026-12-02-10-0343-PM.png)

#### **Save your settings**

After configuring your preferences, click **Save** at the top of the panel to apply your changes.

🚀 Thanks for reading!

You're all set! Auto-Templating can now automatically create and use approved Viber templates while your integration continues working exactly as before.

- [Getting Started](https://kb.apifon.com/getting-started?hsLang=en)
- [Account & Billing](https://kb.apifon.com/account-billing?hsLang=en#main-content)

    - [Account Management](https://kb.apifon.com/account-billing?hsLang=en#account-management)
    - [Billing & Payments](https://kb.apifon.com/account-billing?hsLang=en#billing-payments)
    - [Security & Access](https://kb.apifon.com/account-billing?hsLang=en#security-access)
    - [Email & Domain Security](https://kb.apifon.com/account-billing?hsLang=en#email-domain-security)
- [Campaigns](https://kb.apifon.com/campaigns?hsLang=en#main-content)

    - [Campaign Management](https://kb.apifon.com/campaigns?hsLang=en#campaign-management)
    - [Templates & Content](https://kb.apifon.com/campaigns?hsLang=en#templates-content)
    - [SMS](https://kb.apifon.com/campaigns?hsLang=en#sms)
    - [Viber](https://kb.apifon.com/campaigns?hsLang=en#viber)
    - [Email](https://kb.apifon.com/campaigns?hsLang=en#email)
    - [Landing Pages](https://kb.apifon.com/campaigns?hsLang=en#landing-pages)
    - [Automations](https://kb.apifon.com/campaigns?hsLang=en#automations)
- [Integrations](https://kb.apifon.com/integrations?hsLang=en)
- [Lists](https://kb.apifon.com/lists?hsLang=en#main-content)

    - [List Management Tools](https://kb.apifon.com/lists?hsLang=en#list-management-tools)
    - [Forms](https://kb.apifon.com/lists?hsLang=en#forms)
    - [Segmentation](https://kb.apifon.com/lists?hsLang=en#segmentation)
- [Reports & Analytics](https://kb.apifon.com/reports-analytics?hsLang=en#main-content)

    - [SMS](https://kb.apifon.com/reports-analytics?hsLang=en#sms)
    - [Viber](https://kb.apifon.com/reports-analytics?hsLang=en#viber)
    - [Email](https://kb.apifon.com/reports-analytics?hsLang=en#email)
    - [Tracking & Integrations](https://kb.apifon.com/reports-analytics?hsLang=en#tracking-integrations)
    - [E-Commerce](https://kb.apifon.com/reports-analytics?hsLang=en#e-commerce)
- [FAQs](https://kb.apifon.com/faqs?hsLang=en)

[![](https://kb.apifon.com/hs-fs/hubfs/apifon-master-logo-white.png?width=1080&height=556&name=apifon-master-logo-white.png)](http://apifon.com)

<https://www.facebook.com/apifon> <https://www.linkedin.com/company/apifon> <https://www.instagram.com/apifon_co>

Copyright © 2026, Apifon S.A