Skip to content

mixpanel_email_digest (Resource)

Manages a Mixpanel email digest (mixpanel_email_digest) — a scheduled delivery of a board (dashboard) snapshot sent to specified recipients via email or Slack.

Example Usage

resource "mixpanel_email_digest" "weekly_kpis" {
  name         = "Weekly KPIs"
  dashboard_id = 123
  recur        = 7
  recipients   = ["team@example.com"]
  paused       = false
  start_date   = "2024-01-15"
  timezone     = "America/Los_Angeles"
}

Update Semantics

Email digest updates use PATCH and accept only name, dashboard_id, deleted, paused, recipients, recur, monthly_week_ordinal, start_date, tag, timezone, and slack_subscriptions; schedule_timezone is create-only and is not sent on update.

Schema

Optional

  • dashboard_id (Number)
  • deleted (Boolean)
  • email_digest_id (Number)
  • monthly_week_ordinal (Number)
  • name (String)
  • paused (Boolean)
  • recipients (List of String)
  • recur (Number)
  • schedule_timezone (String)
  • slack_subscriptions (String)
  • start_date (String)
  • tag (String)
  • timezone (String)

Read-Only

  • confirmed_date (String)
  • created (String)
  • creator_email (String)
  • creator_id (Number)
  • dashboard_creator_email (String)
  • dashboard_foreign_private (Boolean)
  • dashboard_has_owner_with_permissions (Boolean)
  • dashboard_title (String)
  • digest_has_owner_with_permissions (Boolean)
  • has_active_user (Boolean)
  • id (Number) The ID of this resource.
  • project_id (Number)
  • schedule (String)
  • status (String)
  • workspace_id (Number)
  • workspace_name (String)

Import

Email digests are imported using the composite identifier project_id:<id>:

import {
  to = mixpanel_email_digest.weekly_kpis
  id = "1234567:890"
}
terraform import mixpanel_email_digest.weekly_kpis '1234567:890'