{
  "type": "WORKFLOW_DEFINITION",
  "definition_id": "6ac732865b963f17fb8b3cc9",
  "version_status": "VERSION_STATUS_PUBLISHED",
  "trigger_status": "TRIGGER_STATUS_INACTIVE",
  "trigger": {
    "automation_event_type": "AUTOMATION_EVENT_TYPE_RECORD_CHANGE",
    "condition_builder_mode": "CONDITION_BUILDER_MODE_BASIC",
    "record_change_operation_type": "RECORD_CHANGE_OPERATION_TYPE_UPDATE",
    "conditions_tree": "{\"48f1cddc-02b4-494c-8530-6c7bd67d77f3\":{\"id\":\"48f1cddc-02b4-494c-8530-6c7bd67d77f3\",\"isRoot\":true,\"relationship\":\"AND\",\"conditions\":[{\"id\":\"f3dbbbb9-f00d-46ba-af8d-4cb4fb593515\",\"flowType\":\"BROWSE_FIELDS\",\"conditionMeta\":{\"rqlPath\":\"kudos__c.processing_status__c\",\"clause\":{\"isViaBridge\":false,\"isViaRoleRulesSelector\":false,\"fieldDetails\":{\"field\":{\"display_order\":null,\"country_codes\":null,\"with_time\":false,\"auto_virtual_edge\":false,\"data_type\":null,\"rql_dynamic_name\":null,\"has_full_perm\":true,\"reference\":null,\"subCategorySlug\":\"\",\"parent_object_id\":null,\"display_name\":\"Processing status\",\"foreign_key\":null,\"alert_hidden\":false,\"unity_edge_type\":null,\"internal_edge_ref\":null,\"rql_expression\":null,\"visitor_path\":null,\"alert_description\":\"Workflow processing state.\",\"history_disabled\":true,\"parent_object_rql_name\":\"\",\"external_object\":false,\"isActive\":true,\"validatable\":null,\"semantic_type\":null,\"derived_field_formula\":null,\"rql_definition\":false,\"related_data_label\":null,\"eligible_for_use_in\":[],\"logical_type\":null,\"anonymityThreshold\":null,\"dynamic\":true,\"edgeType\":null,\"category\":\"Kudos v2\",\"report_config\":null,\"currency_type\":null,\"alertable\":true,\"is_complex_property\":false,\"precision\":null,\"has_read_perm\":true,\"is_property\":false,\"app_dependencies\":null,\"derived_fields\":null,\"supportive\":false,\"sub_type\":null,\"attr_name\":\"choice1\",\"reportable\":true,\"rql_name\":\"processing_status__c\",\"is_formula_field\":false,\"encryptionKeyRefs\":null,\"id\":\"customfield_6aacedc6fadb466e1e80ade4\",\"type\":\"enum\",\"edge_ref\":null,\"is_immutable\":false,\"disableAggregation\":false,\"description\":\"Workflow processing state.\",\"subCategory\":\"Kudos details\",\"original_ve_edge_rql_name\":null,\"choices\":[{\"value\":\"Pending\",\"label\":\"Pending\"},{\"value\":\"Processed\",\"label\":\"Processed\"},{\"value\":\"Failed\",\"label\":\"Failed\"}],\"model\":\"kudos__c\",\"modelName\":\"kudos__c\"},\"model\":\"kudos__c\"},\"grouping\":{\"groupingType\":\"ANY\"},\"operators\":{\"changeEventType\":\"changes_to\",\"operatorClassificationType\":\"specific\",\"operator\":\"changes_to\",\"parameter\":{\"text_value\":[\"Processed\"]}}},\"category\":\"\",\"templateId\":\"\"}}]}}",
    "rql_formula": "(processing_status__c != OLDVALUE(processing_status__c)) AND (processing_status__c IN ['Processed'])",
    "base_model": "kudos__c",
    "event_name": "",
    "og_module": "kudos__c",
    "og_category": "customcategory_6aacedc1fadb466e1e80ad74",
    "is_basic_workflow": false,
    "execution_rate_limit": {
      "execution_limit": 100000,
      "min_execution_limit": 100000,
      "max_execution_limit": 200000
    }
  },
  "graph": {
    "root_node_id": "DEFAULT_b93d021f-e4f7-412a-b73e-7892e84724fb",
    "nodes": {
      "DEFAULT_b93d021f-e4f7-412a-b73e-7892e84724fb": {
        "config_id": "SendEmail",
        "payload": {
          "body_format": "legacy",
          "body": "<meta name=\"rteConfig\" content=\"{&quot;version&quot;:&quot;0.432.93&quot;,&quot;producedBy&quot;:&quot;rte&quot;,&quot;themeName&quot;:&quot;berry&quot;}\"><p style=\"font-family:&quot;Basel Grotesk&quot;,Arial,sans-serif;font-size:11pt;font-weight:400;margin:0px;line-height:1.38;padding:0px;\"><span style=\"white-space:pre-wrap;\">Check the custom app to see who gave you kudos!</span></p>",
          "send_to": {
            "to": {
              "supergroup": "6ac73309b2220d424586b3f4",
              "emailType": "work_or_personal_email"
            }
          },
          "action_type": "INDIVIDUAL_EMAILS",
          "subject": "You received Kudos!"
        },
        "step_alias": "Email 1"
      }
    }
  },
  "functions_inferred_graph": null,
  "custom_variables": {},
  "function_api_names_by_old_id": {},
  "workflow_meta": {
    "name": "Kudos V2 - Notify on receiving Kudos",
    "description": "Placeholder: original Kudos record-update trigger retained. Build the email recipient/action in Workflow Builder before publishing."
  },
  "categories": [
    {
      "name": "WORKFLOW_CATEGORY_NAME_BILLING_INCLUDED",
      "sub_categories": []
    }
  ],
  "workflow_version_number": "1",
  "id": "6ac732865b963f17fb8b3cc9"
}
