{% extends "django_meta_whatsapp/base.html" %} {% block title %}{{ flow.name }}{% endblock %} {% block page_title %}{{ flow.name }}{% endblock %} {% block page_subtitle %}
{{ flow.get_status_display }} {% if flow.is_dynamic %} Dynamic{% endif %} {% if flow.meta_flow_id %}ID: {{ flow.meta_flow_id }}{% endif %}
{% endblock %} {% block topbar_actions %} All Flows {% endblock %} {% block content %}

{{ flow.sent_count }}

Sent

Actions

{% if flow.can_upload %} {% endif %} {% if flow.can_publish %}
{% csrf_token %}
{% endif %} {% if flow.meta_flow_id %} {% endif %} View Responses {% if response_count %}{{ response_count }}{% endif %}
{% csrf_token %}
{% if flow.can_deprecate %}
{% csrf_token %}
{% endif %} {% if flow.can_delete %}
{% csrf_token %}
{% endif %}
{% if flow.validation_errors %}

Validation Errors ({{ flow.validation_errors|length }})

    {% for err in flow.validation_errors %}
  • • {{ err }}
  • {% endfor %}
{% endif %}
Created{{ flow.created_at|date:"M d, Y H:i" }}
Updated{{ flow.updated_at|date:"M d, Y H:i" }}
{% if flow.endpoint_uri %}
Endpoint{{ flow.endpoint_uri }}
{% endif %}
{% if recent_responses %}

Recent Submissions

{% for resp in recent_responses %}

{{ resp.phone_number }}

{{ resp.completed_at|date:"M d, H:i" }}

{% if not resp.processed %}New{% endif %}
{% endfor %}
View all →
{% endif %}

Flow JSON local copy

Docs ↗
{% if flow.can_upload %}
{% csrf_token %}

Edit the JSON above, then click "Save & Upload" to push it to Meta.

{% else %}
{{ flow_json_str }}

JSON is read-only once a flow is published. Clone this flow to make a new editable version.

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}