Skip to content

Commit

Permalink
fix: Add email template
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed Apr 17, 2024
1 parent dd6c8d9 commit ad010d5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions posthog/templates/email/batch_export_run_failure.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{% extends "email/base.html" %} {% load posthog_assets %} {% load posthog_filters %}
{% block preheader %}If failures keep occurring we will disable this batch export{% endblock %}
{% block heading %}PostHog batch export {{ name }} has failed{% endblock %}
{% block section %}
<p>
There's been a fatal error with your batch export {{ name }} at {{ time }}. Due to the nature of the error, it cannot be retried automatically and requires manual intervention.

We recommend reviewing the batch export logs for error details:
</p>

<div class="mb mt text-center">
<a href="https://us.posthog.com/project/{{ team }}/batch_exports/{{ id }}"
target="_blank"><b>Go to the batch export</b></a>
</div>

<p>
After reviewing the logs, and addressing any errors in them, you can retry the batch export run manually. If the batch export continues to fail we will disable it.
</p>
{% endblock %}

{% block footer %}
Need help?
<a href="https://posthog.com/questions?{{ utm_tags }}"
target="_blank"><b>Visit support</b></a>
or
<a href="https://posthog.com/docs?{{ utm_tags }}"
target="_blank"><b>read our documentation</b></a>.<br /><br />

<a href="{% absolute_uri '/me/settings#notifications' %}">Manage these notifications in PostHog</a>

{% endblock %}

0 comments on commit ad010d5

Please sign in to comment.