Klaviyo · Schema

FlowEmail

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
from_email string
from_label string
reply_to_email string
cc_email string
bcc_email string
subject_line string
preview_text string
template_id string
smart_sending_enabled boolean
transactional boolean
add_tracking_params boolean
custom_tracking_params array
additional_filters object
name string
id string Not allowed on create.
View JSON Schema on GitHub

JSON Schema

klaviyo-flowemail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FlowEmail",
  "title": "FlowEmail",
  "type": "object",
  "properties": {
    "from_email": {
      "type": "string",
      "nullable": true
    },
    "from_label": {
      "type": "string",
      "nullable": true
    },
    "reply_to_email": {
      "type": "string",
      "nullable": true
    },
    "cc_email": {
      "type": "string",
      "nullable": true
    },
    "bcc_email": {
      "type": "string",
      "nullable": true
    },
    "subject_line": {
      "type": "string",
      "nullable": true
    },
    "preview_text": {
      "type": "string",
      "nullable": true
    },
    "template_id": {
      "type": "string",
      "nullable": true
    },
    "smart_sending_enabled": {
      "type": "boolean",
      "example": true,
      "default": true
    },
    "transactional": {
      "type": "boolean",
      "default": false
    },
    "add_tracking_params": {
      "type": "boolean",
      "default": false
    },
    "custom_tracking_params": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/UtmParam"
      },
      "nullable": true
    },
    "additional_filters": {
      "type": "object",
      "nullable": true,
      "properties": {
        "condition_groups": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "conditions": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/ProfilePropertyCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfileHasGroupMembershipCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfileNoGroupMembershipCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfileRegionCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfilePostalCodeDistanceCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfilePredictiveAnalyticsDateCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfilePredictiveAnalyticsStringCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfilePredictiveAnalyticsNumericCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfileMarketingConsentCondition"
                    },
                    {
                      "$ref": "#/components/schemas/FlowsProfileMetricCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfileRandomSampleCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfileHasCustomObjectCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfilePermissionsCondition"
                    },
                    {
                      "$ref": "#/components/schemas/ProfileHasNotReceivedEmailMessageCondition"
                    }
                  ]
                }
              }
            },
            "required": [
              "conditions"
            ]
          }
        }
      },
      "required": [
        "condition_groups"
      ]
    },
    "name": {
      "type": "string",
      "nullable": true
    },
    "id": {
      "description": "Not allowed on create.",
      "type": "string",
      "nullable": true
    }
  },
  "required": [
    "from_email",
    "from_label",
    "reply_to_email",
    "cc_email",
    "bcc_email",
    "subject_line",
    "preview_text"
  ]
}