Create or update organization
BetaChanges data
Creates a Zendesk organization, or updates the one that matches.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Zendesk connection the step signs in with. |
| NameRequired | Matched exactly when there is no external id, so a changed name creates a second organization. Zendesk accepts at most five changes a minute for one organization. |
| Your own id | Matched before the name — the safest way to keep one company one. |
| E-mail domains | Comma-separated. Anyone writing in from one of these domains is added to this organization automatically. |
| Details | text |
| Notes | Only agents see this. |
| Default group id | New tickets from this organization land with this group. |
| Tags | Comma-separated. |
| Custom fields | Keyed by the field's KEY, not by a number — you find it under Admin Center → People → Organization fields. |
| Everyone here sees each other's tickets | true/false |
| Everyone here may comment on them | true/false |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `zendesk`) |
name | text |
externalId | text |
domainNames | text |
details | text |
notes | text |
groupId | text |
tags | text |
organizationFields | object of text, by default {} |
sharedTickets | true/false, by default false |
sharedComments | true/false, by default false |
Output
| Field | Type |
|---|---|
organizationId | string |
organization | object |
createdWhether this run created the organization | boolean |
Sample output, and the expression for each field
- createdfalse
- organization
- id3
- name"Acme"
- organizationId"3"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"connection": "<connection id>",
"details": "",
"domainNames": "",
"externalId": "",
"groupId": "",
"name": "<name>",
"notes": "",
"organizationFields": {},
"sharedComments": false,
"sharedTickets": false,
"tags": ""
},
"label": "Create or update organization",
"type": "zendesk.createOrUpdateOrganization",
"version": 1
}