Klaviyo · Schema

FlowCreateQueryResourceObject

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
type object
attributes object
View JSON Schema on GitHub

JSON Schema

klaviyo-flowcreatequeryresourceobject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/FlowCreateQueryResourceObject",
  "title": "FlowCreateQueryResourceObject",
  "type": "object",
  "properties": {
    "type": {
      "$ref": "#/components/schemas/FlowEnum"
    },
    "attributes": {
      "type": "object",
      "properties": {
        "name": {
          "description": "The name of the Flow",
          "type": "string",
          "example": "Welcome Flow"
        },
        "definition": {
          "description": "The encoded flow definition. New objects that do not yet exist, such as actions, need to use a `temporary_id`, not an `id`.",
          "$ref": "#/components/schemas/FlowDefinition"
        }
      },
      "required": [
        "name",
        "definition"
      ]
    }
  },
  "required": [
    "type",
    "attributes"
  ]
}