This is a big change on fonnte's dashboard.
Many things have changed.
i'll describe what's new on this dashboard
The dashboard itself got a new face after rewrite for fresher look.
You'll see the arrangement and placing of some menus and elements a bit off than before.
Dashboard will now show recent info and tutorials.


Now you got 1k messages quota per month for every device free for development purpose.
Device is showing total device, connected device and total messages requested by all devices combined
Order menu is no longer exist, order will be available on each device.
One click token to easier copy token
Nothing much change except looks for this menu.
Variable {nama} now changed to {name}.
Now you can add unlimited variable
Message history is now filterable by status and time.
But search is only work for current page.
You can now delete message history if you want.
Resend message is available.
All messaging now combined in this menu.
You can send immediate message/scheduled message/recurring message to manual input target/group of targets/contacts with message of manual input/template with or without file
Nothing much changed.
Variable {nama} now changed to {name} with unlimited variable
Recurring is now more flexible with timezone.
Sadly, this rewrite also require to rewrite the database relation.
So you have to recreate your recurring template.
Nothing much changed.
Default reply is easier accessible
Invoice is now listed and easily downloadable.
Nothing much changed
You can reach support easier
You can reach documentation easier
There are many changes on our API
Reduce redundant field, changing some fields name and increase performance
You can check the detail on API section
First of all, thank you for your interest in using fonnte to support your business.
I'm not going to waste your time, so every docs will be straight forward.
This is the first thing you have to do : go to device menu then add device.
You'll get 1k messages quota per month for free device.
Then, you can connect your device to fonnte.
That's all for first step.
Go to send menu.
You can send message by filling and match the form fields as you need.
Every message will take 1 message quota, so if you send to 5 targets, your quota will be reduced by 5.
Step 3 and 4 is optional. only needed if you are building chatbot
Go to autoreply.
Make autoreply template and save it.
You may want to create several template to test.
Go to device menu and go to edit device.
Set autoread to on.
I'll repeat, set autoread to on.
Choose personal or group or both to reply the incoming message
just chat your connected device with keyword you make on autoreply, it will reply
Recurring allow you to set period of time to be used when sending message

After creating the template, your template will be shown on template list

The list contain info for every template you've created.
Target button will show the list of target using this recurring template

To remove target from receiving recurring message, delete the target from the list.
But the last recurring message will still be sent later.
You can delete the last message on history message.
You can add template message to be used for sending message later.
This is a good way to send message to contacts with variable.

You can create template by filling name of the template and the message.
Using variable is recommended
You can download the attachment sent to your device using webhook.
This function will only working on device with all feature package.
Special note : any autoreply feature won't work if you are using webhook.
<?php
header('Content-Type: application/json; charset=utf-8');
$json = file_get_contents('php://input');
$data = json_decode($json, true);
$device = $data['device'];
$sender = $data['sender'];
$message = $data['message'];
$text= $data['text']; //button text
$member= $data['member']; //group member who send the message
$name = $data['name'];
$location = $data['location'];
//data below will only received by device with all feature package
//start
$url = $data['url'];
$filename = $data['filename'];
$extension= $data['extension'];
//save the file
if($url){
file_put_contents("fonnte-file.$extension", file_get_contents($url));
}
//end
If your attachment have message with it, you can find it in the $message.
The attachment will be downloaded and saved in the same path as your webhook url.
To save somewhere else, determine the path where the attachment should be saved.
Note: The attachment will follow file limitation rules. if you are receiving an attachment outside file limitation rules, you will not receive it on your webhook.
Send messages later according to schedule. here how to send messages.
The only difference with sending messages is that messages take a certain amount of time to execute.

You can only set future times.
time is set at GMT+7.
Is located in the top right and used to manage your name, WhatsApp number for notification (not necessarily to connect), and your password.
Every system notification (device disconnect, quota limit, any information about fonnte's services) will be sent to this number.
You can create a bot using this menu.
When a user texts your connected device, your connected device will reply as the rule you made.
Note: you have to set auto read to On on the device you wish on. (see menu device->edit)

There are several inputs to fill
After you create autoreply template, your template will be added to autoreply list.

You can edit or delete any of autoreply message template you've created.
You can send messages using this menu.
To use this menu, you have to connect your device first.

First of all, this form support many configurations, so it looks like confusing at first time.
Don't worry, the fields will be breaking down one by one .
This field will show all of your connected device. Make sure you are choosing the right one.
Disconnected device will not be shown
This field is a choice of how will you input the target.
By default, the field will choose input, it means you have to manually input the target.

Then you can input your target.
If you ever need to send to more than 1 target, separate every target with a new line / enter.
This field also support variable. use | for adding variable
Example :
081xxxxxxx|Fonnte|Indonesia
This will produce variable {name} and {var1} that you can use on message field.
Second, select target from contact.

This way, you can send to contacts you saved on contact menu.
Third, you can choose to send to a group of contacts you create on contact menu.

It's easier to send to many contacts under a group.
This field is used to replace first zero with country code. (optional)
For example, in Indonesia, most people use 081xxxxxx, then fonnte will replace contact to 6281xxxxx.
ofcourse you can ignore it and write full number with country code.
This field is used to delay sending message if there is more than 1 contacts.
By default, it's 5 seconds to send between them.
This field is used to upload media to be sent with/without message context.
Only package with media support can send media.
Consider file limitation rules when sending an attachment.
This field is used when you want to send message later.
You can set the sending time with this field.
This field is used to choose how will you send message.
You can choose manually input or using a template.
By default, this field will choose input.

With this, you can manually input the message.
You can also use variable in the message.
If you choose template, you can use any template you've created in template menu.

This field is used to choose between send once of repeating over a period of time.
By default, this field choose once.
If you choose to send every period of time, you can choose the period you've created on recurring menu.
With this, the message will be send every period of time.

This page is about your requested messages.
You can see all your message status and history here.
Read more about message status.

The list will show 100 messages.
You can filter your message history by time and status.
The download button will download your last month messages.
if for any reason you want to resend the message, there is a button to resend the message.