FlowmageDocs

Create or update organization

BetaChanges data

Creates a Zendesk organization, or updates the one that matches.

Settings

SettingWhat it is
ConnectionRequiredThe Zendesk connection the step signs in with.
NameRequiredMatched 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 idMatched before the name — the safest way to keep one company one.
E-mail domainsComma-separated. Anyone writing in from one of these domains is added to this organization automatically.
Detailstext
NotesOnly agents see this.
Default group idNew tickets from this organization land with this group.
TagsComma-separated.
Custom fieldsKeyed by the field's KEY, not by a number — you find it under Admin Center → People → Organization fields.
Everyone here sees each other's ticketstrue/false
Everyone here may comment on themtrue/false
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `zendesk`)
nametext
externalIdtext
domainNamestext
detailstext
notestext
groupIdtext
tagstext
organizationFieldsobject of text, by default {}
sharedTicketstrue/false, by default false
sharedCommentstrue/false, by default false

Output

FieldType
organizationIdstring
organizationobject
createdWhether this run created the organizationboolean
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
}