Skip to content

Templates

Templates define the output format for your briefings.

Template Variables

Available in all templates:

VariableDescription
Generation timestamp
Schedule timezone
Topic query string
RSS source URL
News items as markdown
News items as plain text
News items as JSON
AI research output (market mode only)

Digest Mode Template

For reportMode: "digest":

markdown
# 📊 {{topicQuery}} - {{generatedAt}}

## Latest Updates

{{itemsMarkdown}}

---
*Generated by GlobalPulse • {{timezone}}*

Market Mode

In market mode, contains the full AI-generated research output.

Provider-Specific Formatting

Feishu (Markdown)

markdown
**{{appName}}** 📊

{{itemsMarkdown}}

🕐 {{generatedAt}}

Telegram (HTML)

html
<b>{{appName}}</b> 📊

{{itemsMarkdown}}

🕐 {{generatedAt}}

Email (HTML)

html
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>{{appName}}</title>
</head>
<body>
  <h1>{{appName}}</h1>
  <div>{{itemsMarkdown}}</div>
  <footer>
    <p>Generated at {{generatedAt}} ({{timezone}})</p>
  </footer>
</body>
</html>

Default Templates

Chinese (zh)

markdown
# 📈 {{topicQuery}} - {{generatedAt}}

{{itemsMarkdown}}

---
*由 GlobalPulse 生成 • {{timezone}}*

English (en)

markdown
# 📊 {{topicQuery}} - {{generatedAt}}

{{itemsMarkdown}}

---
*Generated by GlobalPulse • {{timezone}}*

Custom Variables

Per-schedule variables via Admin UI:

  • - Configured app name
  • - Schedule identifier
  • - a_share, us_stock, crypto, etc.

Tips

  1. Keep it concise - Providers have message limits
  2. Use emojis sparingly - They render differently across platforms
  3. Test with Preview - Always use Preview before enabling
  4. Timezone awareness - Include timezone in footer for clarity

Open Source / MIT License