This page describes the organization events schema sent to Amazon EventBridge using the Zendesk Events Connector.

Organization event properties

The detail.organization_event property contains an organization object. This object contains the following properties from the organization resource schema:

  • created_at
  • external_id
  • group_id
  • id
  • name
  • shared_comments
  • shared_tickets
  • updated_at

Custom Field Changed

Custom Field Changed events occur when the value of a organization-created custom field is changed by an agent.

Zendesk supports a range of custom field types such as text, numbers, and dates. For more information about custom fields, see About custom field types.

Custom Field Changed events includes a custom_field object with three parameters:

  • id - The Zendesk ID of the custom field
  • title - The custom field name
  • field_type - The field data type (such as date, text, integer, and multi-select)

Custom Field Changed - Checkbox

The custom field checkbox value was changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Custom Field Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-30T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-30T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Custom Field Changed",      "custom_field": {        "id": 1000,        "title": "VIP",        "field_type": "checkbox"      },      "previous": false,      "current": true,      "organization": {        "id": 12345,        "external_id": "AU123",        "name": "aws",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-30T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • previous - The previous boolean value
  • current - The current boolean value

Custom Field Changed - Date

The date custom field value was changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Custom Field Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-30T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-30T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Custom Field Changed",      "custom_field": {        "id": 1001,        "title": "Due Date",        "field_type": "date"      },      "previous": "2020-01-25",      "current": "2020-02-25",      "organization": {        "id": 12345,        "external_id": "AU123",        "name": "aws",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-30T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • previous - The previous date and time
  • current - The current date and time

Custom Field Changed - Decimal

The decimal custom field value was changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Custom Field Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-30T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-30T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Custom Field Changed",      "custom_field": {        "id": 1002,        "title": "Total Amount",        "field_type": "decimal"      },      "previous": "99.99",      "current": "100.00",      "organization": {        "id": 12345,        "external_id": "AU123",        "name": "aws",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-30T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • previous - The previous numerical value
  • current - The current numerical value

Custom Field Changed - Integer

The integer custom field value was changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Custom Field Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-30T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-30T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Custom Field Changed",      "custom_field": {        "id": 1003,        "title": "Total",        "field_type": "integer"      },      "previous": "10",      "current": "100",      "organization": {        "id": 12345,        "external_id": "AU123",        "name": "aws",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-30T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • previous - The previous numerical value
  • current - The current numerical value

Custom Field Changed - Regex

The regex custom field value was changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Custom Field Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-30T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-30T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Custom Field Changed",      "custom_field": {        "id": 1004,        "title": "Email",        "field_type": "regexp"      },      "previous": null,      "current": "[email protected]",      "organization": {        "id": 12345,        "external_id": "AU123",        "name": "aws",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-30T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • previous - The previous regex value
  • current - The current regex value

Custom Field Changed - Tagger

The tagger custom field value was changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Custom Field Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-30T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-30T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Custom Field Changed",     "custom_field": {        "id": 1005,        "title": "Dropdown Field",        "field_type": "tagger"      },      "previous": "choice_1",      "current": "choice_2",      "organization": {        "id": 12345,        "external_id": "AU123",        "name": "aws",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-30T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • previous - The previous string value
  • current - The current string value

Custom Field Changed - Text

The text custom field value was changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Custom Field Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-30T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-30T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Custom Field Changed",      "custom_field": {        "id": 1006,        "title": "Text Field",        "field_type": "text"      },      "previous": null,      "current": "Text Message",      "organization": {        "id": 12345,        "external_id": "AU123",        "name": "aws",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-30T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • previous - The previous string value
  • current - The current string value

Custom Field Changed - Text Area

The multiline text custom field value was changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Custom Field Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-30T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-30T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Custom Field Changed",      "custom_field": {        "id": 1234,        "title": "MultiLine",        "field_type": "textarea"      },      "previous": "This is a\nmultiline message.\nHello there.",      "current": "This is a\nmultiline message.",      "organization": {        "id": 12345,        "external_id": "AU123",        "name": "aws",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-30T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • previous - The previous multiline text
  • current - The current multiline text

Custom Field Changed - Lookup

The target id value of a lookup custom field changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Custom Field Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2022-02-14T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2022-02-14T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Custom Field Changed",      "custom_field": {        "id": 4821139667197,        "raw_title": "organization-lookup",        "field_type": "lookup"      },      "previous": {        "relationship_target": "organization",        "id": "4841138621949"      },      "current": {        "relationship_target": "organization",        "id": "6727883"      },      "organization": {        "id": 12345,        "external_id": "AU123",        "name": "aws",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2022-02-14T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • previous - The previous lookup relationship target and id
  • current - The current lookup relationship target and id

Note: relationship_target can be ticket, user or organization.

External ID Changed

An organization's external ID was changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: External ID Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-30T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-30T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "External ID Changed",      "previous": "AU123",      "current": "CN123",      "organization": {        "id": 12345,        "external_id": "CN123",        "name": "zendesk",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-30T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • previous - Previous external ID of the organization
  • current - Current external ID of the organization

Organization Created

A Support organization was created.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Organization Created",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-20T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-20T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Organization Created",      "organization": {        "id": 12345,        "external_id": "AU123",        "name": "zendesk",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-20T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

Tags Changed

The tags on the Support organization was changed.

Example

{  "version": "0",  "id": "31187aa5-67d2-4eea-a921-38535bf6ec3b",  "detail-type": "Support Organization: Tags Changed",  "source": "aws.partner/zendesk.com/9242270/default",  "account": "123456789012",  "time": "2020-01-30T22:55:31Z",  "region": "us-east-1",  "resources": ["Support Organization"],  "detail": {    "organization_event": {      "meta": {        "version": "1.0",        "occurred_at": "2020-01-30T22:55:29Z",        "ref": "1-1234567890",        "sequence": {          "id": "35D52F7D44640033CCCE4A5F1ADDB2AA",          "position": 1,          "total": 9        }      },      "type": "Tags Changed",      "tags_added": ["chat"],      "tags_removed": ["enterprise"],      "organization": {        "id": 12345,        "external_id": "CN123",        "name": "zendesk",        "created_at": "2020-01-20T22:55:29.465719851Z",        "updated_at": "2020-01-30T22:55:29.563482870Z",        "shared_tickets": true,        "shared_comments": true,        "group_id": 98738      }    }  }}

The event contains the following unique properties in the organization_event object:

  • tags_added - Tags added to the organization
  • tags_removed - Tags removed from the organization