Create user
Create an end user or agent, or update the existing one with the same email when asked to.
Command in the Zendesk toolkit · id ooa.zendesk/create_user · 12 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Site | String | Yes | Your Zendesk address, e.g. https://acme.zendesk.com, or just the subdomain acme. | |
| String | No | Email of the agent the API token belongs to. Leave empty when using an OAuth token. | ||
| API token | Credential | No | Zendesk API token from the vault (used with email). | |
| OAuth token | Credential | No | OAuth access token from the vault, instead of email and API token. Or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Name | String | Yes | Full name. | |
| User email | String | No | Email of the new user. | |
| Role | String | No | end-user | end-user, agent or admin. |
| Organization ID | Number | No | Organization id to put the user in. | |
| Phone | String | No | Phone number. | |
| External ID | String | No | Your own id for the user, e.g. a CRM customer number. | |
| Update if exists | Boolean | No | false | Update the existing user with this email or external id instead of failing. |
| User fields | Dictionary | No | Custom user fields by field key, e.g. {"customer_tier": "gold"}. |
Outputs
| Output | Type | What it is |
|---|---|---|
| user_id | Number | Id of the user. |