# Template Send Log

> Every send of a template by your automations and the API: who got it, the values it carried, what happened to it and what came back.

Source: https://docs.theavoxai.com/templates/send-log

Every template's own page keeps a log of each time your automations or the [Avox API](https://docs.theavoxai.com/avox-api)
sent it: who got it, the values that filled its variables, whether it was delivered and read,
and whether the customer replied or tapped a button. When a send fails, it says why in plain words.

Open **Templates**, click **Manage** on a template, and scroll past **Last 30 days**. You'll find
three panels: **Filled in by automations**, **Sends over time** and **Send log**. Anyone who can
view templates can see them.

## Filled in by automations

Automations can fill a template's variables with live values: a cell from a table row, a Flow
answer, the contact's name, or a payment link an app just made. This card lists every automation
that sends the template, each variable and where its value comes from (like `{{1}}`: the
**Customer** column), and the tables they read.

The examples Meta reviewed when it approved the template stay as they are. Only the real sends
change. See [Filling a template](https://docs.theavoxai.com/automation/tables#filling-a-template).

## Sends over time

Pick 7, 30 or 90 days to see each day's sends, deliveries, reads, failures and replies, the most
common reasons sends failed, and what sent them (automations or the API). These numbers are
counted by Avox from the sends it made. The [Insights](https://docs.theavoxai.com/templates/insights) panel above shows
Meta's own figures for every send of the template, including ones made outside Avox.

## Send log

The tiles at the top count the sends in the chosen range: **Sent**, **Delivered** (delivered or
read, out of every send), **Read**, **Replied / tapped** and **Failed**.

Below them, every send, newest first, 25 to a page:

| Column | What it shows |
| --- | --- |
| **Contact** | Who got it. Click the name to open the contact. |
| **Sent** | When it was sent, in your time. |
| **How** | What sent it: the automation (click to open it), or the API. |
| **Status** | Sent, Delivered, Read or Failed, as WhatsApp last reported it. |
| **Replies** | Whether the customer replied or tapped a button. |

Filter by date range (up to 366 days, counted in your own time zone), **Status** and **Sent by**.
**Download CSV** saves the sends in the range.

### One send

Click a send to open **Send details**:

| Line | What it shows |
| --- | --- |
| **Status** and **Sent by** | Where the send is now, and what sent it. |
| **Timeline** | When it was sent, delivered, read or failed. |
| **Why it failed** | WhatsApp's reason in plain words, like "The customer stopped marketing messages from you.", with WhatsApp's code. |
| **Values sent** | The value of each variable in this send. |
| **Came back** | The button the customer tapped, and how many replies they sent, with the time of the first. |
| **Meta's charge** | The pricing category Meta charged this send under (Marketing, Utility, Authentication...), or "(free)" when Meta didn't charge it. See [Pricing](https://docs.theavoxai.com/whatsapp-platform). |

### How replies are matched

A reply belongs to the send the customer answered: when they reply to the template itself (or tap
one of its buttons), it's that send. Otherwise, it's the latest template sent to them in the 24
hours before the reply that hasn't had a reply yet. Replies to a template sent from outside Avox
aren't counted here.

### Privacy in the log

- A contact without a name is shown by the last four digits of their number, like `•••• 3210`,
  and phone numbers in the CSV file are written the same way.
- The CSV file is safe to open in Excel or Google Sheets: a cell that starts like a formula is
  written as plain text. A download holds up to 10,000 sends; pick a shorter range for more.

## Related errors

| Code | Message |
| --- | --- |
| [AVX-3584](https://docs.theavoxai.com/error-codes/avx-3584) | Pick a date range of up to 366 days, with the start before the end. |
| [AVX-3586](https://docs.theavoxai.com/error-codes/avx-3586) | Couldn't load this template's log. Try again. |
| [AVX-3587](https://docs.theavoxai.com/error-codes/avx-3587) | Couldn't download the template log. Try again. |
| [AVX-3588](https://docs.theavoxai.com/error-codes/avx-3588) | The template log isn't switched on yet. Try again later. |
| [AVX-3595](https://docs.theavoxai.com/error-codes/avx-3595) | Fill in every variable of this template, or give it a fallback. |
| [AVX-3609](https://docs.theavoxai.com/error-codes/avx-3609) | The template isn't approved by Meta right now, so it wasn't sent. |

## Related
