Skip to main content

How to Add Dynamic Text to Your Report Deliveries

Ashley Dehertogh avatar
Written by Ashley Dehertogh
Updated over 2 weeks ago

When scheduling deliveries in Insights, you can use Mustache syntax to automatically insert dynamic values such as the current date, time, or dashboard name into your delivery’s subject line, body text, or exported file name.

This is especially useful for automated recurring deliveries — such as daily or weekly reports — where you want each export to have a unique, time-stamped file name (for example, FLYR_RATESHOP_DAILY_2025-11-13) instead of overwriting the previous file.


Where You Can Use Mustache

Mustache syntax is currently supported in:

  • SFTP, Webhook, and Email deliveries — in the File Name (without extension) field

  • Email deliveries — also in the Subject and Body fields


How It Works

Mustache syntax uses double curly brackets to insert dynamic placeholders that automatically populate when the delivery is sent.

Example:

{{entityName}}_{{currentDate}}

When sent on November 13, 2025, this will generate:

2025 Performance Overview_2025-11-13

Available Placeholders

Date and Time

These placeholders use the delivery’s configured timezone.

Description

Syntax

Example Output

Current date (YYYY-MM-DD)

{{currentDate}}

2025-11-13

Current year

{{currentYear}}

2025

Current month

{{currentMonth}}

11

Current day

{{currentDay}}

13

Current time (HH:MM:SS AM/PM)

{{currentTime}}

09:00:00 AM

Timezone used for delivery

{{timeZone}}

(Europe/London)


Delivery and Dashboard Details

Description

Syntax

Example Output

Name of the dashboard or workbook

{{entityName}}

2025 Performance Overview

Name of the scheduled task

{{scheduledTaskName}}

Daily Rate Shop Delivery

Description of the schedule

{{scheduleDescription}}

Every weekday at 09:00 AM GMT


How to Add Dynamic File Names or Text

For SFTP Deliveries

Use Mustache in the File Name (without extension) field.
This ensures each delivery saves as a unique file and doesn’t overwrite previous exports.

Example:

FLYR_RATESHOP_DAILY_{{currentDate}}

Output:

FLYR_RATESHOP_DAILY_2025-11-13.csv

📍 You’ll find this field in the SFTP tab when setting up a new delivery.


For Webhook Deliveries

Use Mustache in the File Name (without extension) field to send time-stamped or contextual files through your webhook integration.

Example:

{{entityName}}_{{currentDate}}

Output:

2025 Performance Overview_2025-11-13.json

📍 This is configured in the Webhook tab when setting up your delivery.


For Email Deliveries

You can now use Mustache in three areas of email deliveries:

  1. File Name (without extension) — to keep exported attachments unique

  2. Subject — to include dynamic text like the date or dashboard name

  3. Body — to personalize the message content

Example File Name:

{{entityName}}_{{currentDate}}

Output:

2025 Performance Overview_2025-11-13.pdf

Example Subject:

{{entityName}} – {{currentDate}}

Example Body:

Your latest {{entityName}} has been generated for {{currentDate}} at {{currentTime}}.

📍 You’ll find the File Name (without extension) field under the Email tab when creating or editing your delivery.


Best Practices

  • Enter Mustache placeholders in the File Name (without extension) field for SFTP, Webhook, or Email deliveries.

  • The Delivery name field is only used as the internal name for the schedule. It does not control the exported file name unless the file name field is left blank.

  • Combine placeholders (for example, {{entityName}}_{{currentDate}}) for clear, time-stamped exports.

  • While spaces are supported, some external systems may not handle them cleanly. To ensure compatibility, it’s recommended to use underscores _ or hyphens - in file names instead.


Example Use Cases

Goal

Example Mustache

Example Output

Daily dated file

{{entityName}}_{{currentDate}}

2025 Performance Overview_2025-11-13

Weekly summary by month

{{entityName}}_{{currentMonth}}_{{currentYear}}

Performance Summary_11_2025

Time-stamped report

{{entityName}}_{{currentDate}}_{{currentTime}}

Daily Pickup Report_2025-11-13_09:00:00

Did this answer your question?